Prepare the data
Import a simulated fixed-horizon experiment with one row per randomised unit.
Estimate the effect. Report the uncertainty.
An experiment analyser should validate assignment and exposure data before estimating treatment effects. Statistical significance does not by itself establish practical value.
Learning concept · Not a validated service
An experiment analyser should validate assignment and exposure data before estimating treatment effects. Statistical significance does not by itself establish practical value.
A possible application for product analytics classes: Help product learners review small experiments without cherry-picking favourable metrics. This extension is not delivered by the supplied starter.
Import a simulated fixed-horizon experiment with one row per randomised unit.
Calculate absolute and relative effects, confidence intervals and a prespecified hypothesis test.
Check sample-ratio mismatch, missing outcomes and false-positive rates on A/A simulations.
Produce a decision report with effect size, uncertainty and the original stopping rule.
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 classification report does not estimate treatment effects or analyse experiments. 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 product learners review small experiments without cherry-picking favourable metrics.
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.