Prepare the data
Generate simulated experimental units with one assignment per unit and a prespecified outcome window.
Randomise fairly. Measure a defined outcome.
An A/B framework needs stable random assignment, an outcome definition and an analysis plan. Predictive classification is different from estimating the causal effect of a randomised intervention.
Learning concept · Not a validated service
An A/B framework needs stable random assignment, an outcome definition and an analysis plan. Predictive classification is different from estimating the causal effect of a randomised intervention.
A possible application for product analytics learners: Help course teams practise experiment design before running a low-risk interface test. This extension is not delivered by the supplied starter.
Generate simulated experimental units with one assignment per unit and a prespecified outcome window.
Implement stable allocation, exposure logging and a fixed-horizon difference-in-means analysis.
Run A/A simulations, check sample-ratio mismatch and verify confidence-interval coverage.
Provide an experiment manifest with stopping rules and an auditable results table.
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 starter is a prediction task with no random treatment assignment or treatment-effect estimate. 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: Help course teams practise experiment design before running a low-risk interface test.
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.