AMAZON STOCK PRICE: VISUALIZATION, FORECASTING, AND PREDICTION USING MACHINE LEARNING WITH PYTHON GUI by Vivian Siahaan Rismon Hasiholan Sianipar

AMAZON STOCK PRICE: VISUALIZATION, FORECASTING, AND PREDICTION USING MACHINE LEARNING WITH PYTHON GUI by Vivian Siahaan Rismon Hasiholan Sianipar

Author:Vivian Siahaan, Rismon Hasiholan Sianipar
Language: eng
Format: epub
Tags: Balige Publishing
Publisher: BALIGE PUBLISHING


Figure 3.45 The confusion matrix, true values versus predicted values diagram, ROC, and decision boundaries of MLP classifier with standard scaler

Figure 3.46 The learning curve, scalability, and performance of MLP classifier with standard scaler

PREDICTING DAILY RETURN USING LIGHT GRADIENT BOOSTING MACHINE

PREDICTING DAILY RETURN USING LIGHT GRADIENT BOOSTING MACHINE

Step 1

Run Light Gradient Boosting Machine (LGBM) on three feature scaling:

1

2

3

4

5

6

lgbm = LGBMClassifier(max_depth = 20, n_estimators=500, subsample=0.8, random_state=2021)

for fc_name, value in feature_scaling.items():

X_train, X_test, y_train, y_test = value

run_model('Lightgbm Classifier', lgbm, X_train, X_test, y_train, y_test, fc_name, proba=True)



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.