Prepare the data
Use licensed historical adjusted prices and document the timestamp at which each feature becomes known.
Test a forecast. Do not promise a return.
Market forecasting is a noisy time-series exercise. Define the horizon, account for corporate actions and use chronological evaluation rather than random price-row splits.
Learning concept · Not a validated service
Market forecasting is a noisy time-series exercise. Define the horizon, account for corporate actions and use chronological evaluation rather than random price-row splits.
A possible application for finance educators: Help finance students audit forecasting assumptions and recognise unreliable backtests. This extension is not delivered by the supplied starter.
Use licensed historical adjusted prices and document the timestamp at which each feature becomes known.
Compare a lag-feature regression model with last-price and simple-return baselines.
Run walk-forward evaluation with MAE by horizon; include costs if simulating trades.
Keep an educational forecast report separate from investment advice or trading execution.
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 source is synthetic binary classification, not stock-price regression or a market backtest. 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 finance students audit forecasting assumptions and recognise unreliable backtests.
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.