Prepare the data
Define bounded parameter ranges, training folds and a fixed evaluation budget.
Choose the next trial from earlier evidence.
Bayesian optimisation uses past evaluations to choose promising hyperparameters. Students should compare it with random search under the same trial budget rather than assuming it always wins.
Learning concept · Not a validated service
Bayesian optimisation uses past evaluations to choose promising hyperparameters. Students should compare it with random search under the same trial budget rather than assuming it always wins.
A possible application for small research teams: Provide a budget-limited experiment planner for small research teams. This extension is not delivered by the supplied starter.
Define bounded parameter ranges, training folds and a fixed evaluation budget.
Run a Gaussian-process-based optimiser over cross-validation loss and record every trial.
Compare best validation loss versus trial count with random search across repeated seeds.
Show a trial-history chart with failed runs, budgets and the chosen parameters.
The supplied starter creates 800 synthetic binary-classification rows with ten numeric features. It makes a stratified train/test split, fits a scaled RandomForestClassifier pipeline and prints a classification report.
model = Pipeline(
steps=[
("scale", StandardScaler()),
("classifier", RandomForestClassifier(
n_estimators=250, random_state=RANDOM_STATE)),
]
)
model.fit(X_train, y_train)
predictions = model.predict(X_test)
print(classification_report(y_test, predictions))The supplied code has no surrogate model, acquisition rule or optimisation loop. Synthetic binary classification does not establish performance on the proposed application. The source report uses one split; it supplies no deployment or real-world validation.
Proposed extension: Provide a budget-limited experiment planner for small research teams.
This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.
Networkers Home runs this topic inside its AI Engineer Course, with placement support and hands-on labs.