Spaces:
Runtime error
Runtime error
Commit ·
f67fba5
1
Parent(s): fcdfb36
final
Browse files- logs.log +511 -0
- pages/01-Exploratory_Data_Analysis.py +16 -9
- pages/02-Data_Type.py +21 -17
- pages/03-Drop_Columns.py +29 -22
- pages/04-Missing_Values.py +50 -43
- pages/05-Auto-Scaling.py +28 -21
- pages/06-Enconding.py +53 -0
- pages/07-Select_Target.py +33 -0
- pages/08-Machine_Learning.py +157 -0
- pages/10-Select_Target.py +0 -10
- requirements.txt +2 -1
logs.log
ADDED
|
@@ -0,0 +1,511 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2023-05-14 15:19:05,224:INFO:PyCaret Supervised Module
|
| 2 |
+
2023-05-14 15:19:05,225:INFO:ML Usecase: classification
|
| 3 |
+
2023-05-14 15:19:05,225:INFO:version 2.2.3
|
| 4 |
+
2023-05-14 15:19:05,225:INFO:Initializing setup()
|
| 5 |
+
2023-05-14 15:19:05,225:INFO:setup(target=0 0
|
| 6 |
+
1 1
|
| 7 |
+
2 1
|
| 8 |
+
3 1
|
| 9 |
+
4 0
|
| 10 |
+
..
|
| 11 |
+
886 0
|
| 12 |
+
887 1
|
| 13 |
+
888 0
|
| 14 |
+
889 1
|
| 15 |
+
890 0
|
| 16 |
+
Name: Survived, Length: 891, dtype: int64, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=None, numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=False, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=False, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 17 |
+
2023-05-14 15:19:05,225:INFO:Checking environment
|
| 18 |
+
2023-05-14 15:19:05,225:INFO:python_version: 3.8.16
|
| 19 |
+
2023-05-14 15:19:05,225:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 20 |
+
2023-05-14 15:19:05,225:INFO:machine: arm64
|
| 21 |
+
2023-05-14 15:19:05,238:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 22 |
+
2023-05-14 15:19:05,242:INFO:Memory: svmem(total=17179869184, available=7353794560, percent=57.2, used=8998895616, free=131858432, active=7235698688, inactive=6265831424, wired=1763196928)
|
| 23 |
+
2023-05-14 15:19:05,242:INFO:Physical Core: 8
|
| 24 |
+
2023-05-14 15:19:05,243:INFO:Logical Core: 8
|
| 25 |
+
2023-05-14 15:19:05,243:INFO:Checking libraries
|
| 26 |
+
2023-05-14 15:19:05,244:INFO:pd==1.5.3
|
| 27 |
+
2023-05-14 15:19:05,244:INFO:numpy==1.23.5
|
| 28 |
+
2023-05-14 15:19:05,244:INFO:sklearn==1.2.2
|
| 29 |
+
2023-05-14 15:19:05,861:INFO:xgboost==1.7.4
|
| 30 |
+
2023-05-14 15:19:05,861:INFO:lightgbm==3.3.5
|
| 31 |
+
2023-05-14 15:19:06,481:INFO:catboost==1.2
|
| 32 |
+
2023-05-14 15:19:06,666:INFO:mlflow==2.3.2
|
| 33 |
+
2023-05-14 15:19:06,666:INFO:Checking Exceptions
|
| 34 |
+
2023-05-14 15:19:07,470:INFO:PyCaret Supervised Module
|
| 35 |
+
2023-05-14 15:19:07,470:INFO:ML Usecase: classification
|
| 36 |
+
2023-05-14 15:19:07,470:INFO:version 2.2.3
|
| 37 |
+
2023-05-14 15:19:07,471:INFO:Initializing setup()
|
| 38 |
+
2023-05-14 15:19:07,471:INFO:setup(target=0 0
|
| 39 |
+
1 1
|
| 40 |
+
2 1
|
| 41 |
+
3 1
|
| 42 |
+
4 0
|
| 43 |
+
..
|
| 44 |
+
886 0
|
| 45 |
+
887 1
|
| 46 |
+
888 0
|
| 47 |
+
889 1
|
| 48 |
+
890 0
|
| 49 |
+
Name: Survived, Length: 891, dtype: int64, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=None, numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=False, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=False, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 50 |
+
2023-05-14 15:19:07,471:INFO:Checking environment
|
| 51 |
+
2023-05-14 15:19:07,471:INFO:python_version: 3.8.16
|
| 52 |
+
2023-05-14 15:19:07,471:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 53 |
+
2023-05-14 15:19:07,471:INFO:machine: arm64
|
| 54 |
+
2023-05-14 15:19:07,471:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 55 |
+
2023-05-14 15:19:07,472:INFO:Memory: svmem(total=17179869184, available=7374864384, percent=57.1, used=8979628032, free=46088192, active=7337525248, inactive=6368641024, wired=1642102784)
|
| 56 |
+
2023-05-14 15:19:07,472:INFO:Physical Core: 8
|
| 57 |
+
2023-05-14 15:19:07,472:INFO:Logical Core: 8
|
| 58 |
+
2023-05-14 15:19:07,472:INFO:Checking libraries
|
| 59 |
+
2023-05-14 15:19:07,472:INFO:pd==1.5.3
|
| 60 |
+
2023-05-14 15:19:07,472:INFO:numpy==1.23.5
|
| 61 |
+
2023-05-14 15:19:07,472:INFO:sklearn==1.2.2
|
| 62 |
+
2023-05-14 15:19:07,472:INFO:xgboost==1.7.4
|
| 63 |
+
2023-05-14 15:19:07,472:INFO:lightgbm==3.3.5
|
| 64 |
+
2023-05-14 15:19:07,472:INFO:catboost==1.2
|
| 65 |
+
2023-05-14 15:19:07,472:INFO:mlflow==2.3.2
|
| 66 |
+
2023-05-14 15:19:07,472:INFO:Checking Exceptions
|
| 67 |
+
2023-05-14 15:20:19,825:INFO:PyCaret Supervised Module
|
| 68 |
+
2023-05-14 15:20:19,825:INFO:ML Usecase: classification
|
| 69 |
+
2023-05-14 15:20:19,825:INFO:version 2.2.3
|
| 70 |
+
2023-05-14 15:20:19,825:INFO:Initializing setup()
|
| 71 |
+
2023-05-14 15:20:19,826:INFO:setup(target=0 0
|
| 72 |
+
1 1
|
| 73 |
+
2 1
|
| 74 |
+
3 1
|
| 75 |
+
4 0
|
| 76 |
+
..
|
| 77 |
+
886 0
|
| 78 |
+
887 1
|
| 79 |
+
888 0
|
| 80 |
+
889 1
|
| 81 |
+
890 0
|
| 82 |
+
Name: Survived, Length: 891, dtype: int64, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=None, numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=False, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=False, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 83 |
+
2023-05-14 15:20:19,826:INFO:Checking environment
|
| 84 |
+
2023-05-14 15:20:19,826:INFO:python_version: 3.8.16
|
| 85 |
+
2023-05-14 15:20:19,826:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 86 |
+
2023-05-14 15:20:19,826:INFO:machine: arm64
|
| 87 |
+
2023-05-14 15:20:19,826:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 88 |
+
2023-05-14 15:20:19,826:INFO:Memory: svmem(total=17179869184, available=7384350720, percent=57.0, used=8967389184, free=86245376, active=7325335552, inactive=6370033664, wired=1642053632)
|
| 89 |
+
2023-05-14 15:20:19,826:INFO:Physical Core: 8
|
| 90 |
+
2023-05-14 15:20:19,826:INFO:Logical Core: 8
|
| 91 |
+
2023-05-14 15:20:19,826:INFO:Checking libraries
|
| 92 |
+
2023-05-14 15:20:19,826:INFO:pd==1.5.3
|
| 93 |
+
2023-05-14 15:20:19,826:INFO:numpy==1.23.5
|
| 94 |
+
2023-05-14 15:20:19,826:INFO:sklearn==1.2.2
|
| 95 |
+
2023-05-14 15:20:19,826:INFO:xgboost==1.7.4
|
| 96 |
+
2023-05-14 15:20:19,826:INFO:lightgbm==3.3.5
|
| 97 |
+
2023-05-14 15:20:19,826:INFO:catboost==1.2
|
| 98 |
+
2023-05-14 15:20:19,827:INFO:mlflow==2.3.2
|
| 99 |
+
2023-05-14 15:20:19,827:INFO:Checking Exceptions
|
| 100 |
+
2023-05-14 15:31:03,201:INFO:PyCaret Supervised Module
|
| 101 |
+
2023-05-14 15:31:03,201:INFO:ML Usecase: classification
|
| 102 |
+
2023-05-14 15:31:03,202:INFO:version 2.2.3
|
| 103 |
+
2023-05-14 15:31:03,202:INFO:Initializing setup()
|
| 104 |
+
2023-05-14 15:31:03,202:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=None, numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=False, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=False, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 105 |
+
2023-05-14 15:31:03,202:INFO:Checking environment
|
| 106 |
+
2023-05-14 15:31:03,202:INFO:python_version: 3.8.16
|
| 107 |
+
2023-05-14 15:31:03,202:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 108 |
+
2023-05-14 15:31:03,202:INFO:machine: arm64
|
| 109 |
+
2023-05-14 15:31:03,202:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 110 |
+
2023-05-14 15:31:03,202:INFO:Memory: svmem(total=17179869184, available=7367098368, percent=57.1, used=8996208640, free=140410880, active=7243857920, inactive=6784860160, wired=1752350720)
|
| 111 |
+
2023-05-14 15:31:03,202:INFO:Physical Core: 8
|
| 112 |
+
2023-05-14 15:31:03,202:INFO:Logical Core: 8
|
| 113 |
+
2023-05-14 15:31:03,202:INFO:Checking libraries
|
| 114 |
+
2023-05-14 15:31:03,202:INFO:pd==1.5.3
|
| 115 |
+
2023-05-14 15:31:03,202:INFO:numpy==1.23.5
|
| 116 |
+
2023-05-14 15:31:03,202:INFO:sklearn==1.2.2
|
| 117 |
+
2023-05-14 15:31:03,202:INFO:xgboost==1.7.4
|
| 118 |
+
2023-05-14 15:31:03,202:INFO:lightgbm==3.3.5
|
| 119 |
+
2023-05-14 15:31:03,202:INFO:catboost==1.2
|
| 120 |
+
2023-05-14 15:31:03,203:INFO:mlflow==2.3.2
|
| 121 |
+
2023-05-14 15:31:03,203:INFO:Checking Exceptions
|
| 122 |
+
2023-05-14 15:31:03,203:INFO:Declaring global variables
|
| 123 |
+
2023-05-14 15:31:03,203:INFO:USI: e98f
|
| 124 |
+
2023-05-14 15:31:03,203:INFO:pycaret_globals: {'fold_generator', '_available_plots', 'fold_groups_param', 'n_jobs_param', 'fix_imbalance_method_param', 'log_plots_param', '_all_models', '_internal_pipeline', 'fix_imbalance_param', 'html_param', 'logging_param', 'data_before_preprocess', 'y', 'X', 'fold_shuffle_param', 'transform_target_method_param', 'stratify_param', 'seed', 'iterative_imputation_iters_param', 'X_train', 'y_test', 'fold_param', '_ml_usecase', '_gpu_n_jobs_param', 'gpu_param', 'y_train', 'experiment__', 'transform_target_param', 'create_model_container', 'pycaret_globals', 'master_model_container', 'prep_pipe', 'imputation_regressor', 'imputation_classifier', 'exp_name_log', 'display_container', 'USI', '_all_metrics', 'X_test', 'target_param', '_all_models_internal'}
|
| 125 |
+
2023-05-14 15:31:03,203:INFO:Preparing display monitor
|
| 126 |
+
2023-05-14 15:31:03,203:INFO:Preparing display monitor
|
| 127 |
+
2023-05-14 15:31:03,208:INFO:Importing libraries
|
| 128 |
+
2023-05-14 15:31:03,208:INFO:Copying data for preprocessing
|
| 129 |
+
2023-05-14 15:31:03,210:INFO:Declaring preprocessing parameters
|
| 130 |
+
2023-05-14 15:31:03,210:INFO:Creating preprocessing pipeline
|
| 131 |
+
2023-05-14 15:31:03,215:INFO:Preprocessing pipeline created successfully
|
| 132 |
+
2023-05-14 15:31:03,215:ERROR:(Process Exit): setup has been interupted with user command 'quit'. setup must rerun.
|
| 133 |
+
2023-05-14 15:31:03,215:INFO:Creating global containers
|
| 134 |
+
2023-05-14 15:31:49,359:INFO:PyCaret Supervised Module
|
| 135 |
+
2023-05-14 15:31:49,360:INFO:ML Usecase: classification
|
| 136 |
+
2023-05-14 15:31:49,360:INFO:version 2.2.3
|
| 137 |
+
2023-05-14 15:31:49,360:INFO:Initializing setup()
|
| 138 |
+
2023-05-14 15:31:49,360:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=None, numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=False, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=False, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 139 |
+
2023-05-14 15:31:49,360:INFO:Checking environment
|
| 140 |
+
2023-05-14 15:31:49,360:INFO:python_version: 3.8.16
|
| 141 |
+
2023-05-14 15:31:49,360:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 142 |
+
2023-05-14 15:31:49,360:INFO:machine: arm64
|
| 143 |
+
2023-05-14 15:31:49,360:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 144 |
+
2023-05-14 15:31:49,360:INFO:Memory: svmem(total=17179869184, available=7477231616, percent=56.5, used=8886370304, free=239058944, active=7274250240, inactive=6793691136, wired=1612120064)
|
| 145 |
+
2023-05-14 15:31:49,360:INFO:Physical Core: 8
|
| 146 |
+
2023-05-14 15:31:49,360:INFO:Logical Core: 8
|
| 147 |
+
2023-05-14 15:31:49,360:INFO:Checking libraries
|
| 148 |
+
2023-05-14 15:31:49,361:INFO:pd==1.5.3
|
| 149 |
+
2023-05-14 15:31:49,361:INFO:numpy==1.23.5
|
| 150 |
+
2023-05-14 15:31:49,361:INFO:sklearn==1.2.2
|
| 151 |
+
2023-05-14 15:31:49,361:INFO:xgboost==1.7.4
|
| 152 |
+
2023-05-14 15:31:49,361:INFO:lightgbm==3.3.5
|
| 153 |
+
2023-05-14 15:31:49,361:INFO:catboost==1.2
|
| 154 |
+
2023-05-14 15:31:49,361:INFO:mlflow==2.3.2
|
| 155 |
+
2023-05-14 15:31:49,361:INFO:Checking Exceptions
|
| 156 |
+
2023-05-14 15:31:49,361:INFO:Declaring global variables
|
| 157 |
+
2023-05-14 15:31:49,361:INFO:USI: 2563
|
| 158 |
+
2023-05-14 15:31:49,361:INFO:pycaret_globals: {'fold_generator', '_available_plots', 'fold_groups_param', 'n_jobs_param', 'fix_imbalance_method_param', 'log_plots_param', '_all_models', '_internal_pipeline', 'fix_imbalance_param', 'html_param', 'logging_param', 'data_before_preprocess', 'y', 'X', 'fold_shuffle_param', 'transform_target_method_param', 'stratify_param', 'seed', 'iterative_imputation_iters_param', 'X_train', 'y_test', 'fold_param', '_ml_usecase', '_gpu_n_jobs_param', 'gpu_param', 'y_train', 'experiment__', 'transform_target_param', 'create_model_container', 'pycaret_globals', 'master_model_container', 'prep_pipe', 'imputation_regressor', 'imputation_classifier', 'exp_name_log', 'display_container', 'USI', '_all_metrics', 'X_test', 'target_param', '_all_models_internal'}
|
| 159 |
+
2023-05-14 15:31:49,361:INFO:Preparing display monitor
|
| 160 |
+
2023-05-14 15:31:49,361:INFO:Preparing display monitor
|
| 161 |
+
2023-05-14 15:31:49,366:INFO:Importing libraries
|
| 162 |
+
2023-05-14 15:31:49,366:INFO:Copying data for preprocessing
|
| 163 |
+
2023-05-14 15:31:49,369:INFO:Declaring preprocessing parameters
|
| 164 |
+
2023-05-14 15:31:49,370:INFO:Creating preprocessing pipeline
|
| 165 |
+
2023-05-14 15:31:49,373:INFO:Preprocessing pipeline created successfully
|
| 166 |
+
2023-05-14 15:31:49,373:ERROR:(Process Exit): setup has been interupted with user command 'quit'. setup must rerun.
|
| 167 |
+
2023-05-14 15:31:49,373:INFO:Creating global containers
|
| 168 |
+
2023-05-14 15:33:00,132:INFO:PyCaret Supervised Module
|
| 169 |
+
2023-05-14 15:33:00,132:INFO:ML Usecase: classification
|
| 170 |
+
2023-05-14 15:33:00,132:INFO:version 2.2.3
|
| 171 |
+
2023-05-14 15:33:00,132:INFO:Initializing setup()
|
| 172 |
+
2023-05-14 15:33:00,132:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=None, numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=False, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=False, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 173 |
+
2023-05-14 15:33:00,132:INFO:Checking environment
|
| 174 |
+
2023-05-14 15:33:00,133:INFO:python_version: 3.8.16
|
| 175 |
+
2023-05-14 15:33:00,133:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 176 |
+
2023-05-14 15:33:00,133:INFO:machine: arm64
|
| 177 |
+
2023-05-14 15:33:00,133:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 178 |
+
2023-05-14 15:33:00,134:INFO:Memory: svmem(total=17179869184, available=7394328576, percent=57.0, used=8970928128, free=115277824, active=7339196416, inactive=6828982272, wired=1631731712)
|
| 179 |
+
2023-05-14 15:33:00,134:INFO:Physical Core: 8
|
| 180 |
+
2023-05-14 15:33:00,134:INFO:Logical Core: 8
|
| 181 |
+
2023-05-14 15:33:00,135:INFO:Checking libraries
|
| 182 |
+
2023-05-14 15:33:00,135:INFO:pd==1.5.3
|
| 183 |
+
2023-05-14 15:33:00,135:INFO:numpy==1.23.5
|
| 184 |
+
2023-05-14 15:33:00,135:INFO:sklearn==1.2.2
|
| 185 |
+
2023-05-14 15:33:00,135:INFO:xgboost==1.7.4
|
| 186 |
+
2023-05-14 15:33:00,135:INFO:lightgbm==3.3.5
|
| 187 |
+
2023-05-14 15:33:00,135:INFO:catboost==1.2
|
| 188 |
+
2023-05-14 15:33:00,135:INFO:mlflow==2.3.2
|
| 189 |
+
2023-05-14 15:33:00,135:INFO:Checking Exceptions
|
| 190 |
+
2023-05-14 15:33:00,136:INFO:Declaring global variables
|
| 191 |
+
2023-05-14 15:33:00,136:INFO:USI: d6af
|
| 192 |
+
2023-05-14 15:33:00,136:INFO:pycaret_globals: {'fold_generator', '_available_plots', 'fold_groups_param', 'n_jobs_param', 'fix_imbalance_method_param', 'log_plots_param', '_all_models', '_internal_pipeline', 'fix_imbalance_param', 'html_param', 'logging_param', 'data_before_preprocess', 'y', 'X', 'fold_shuffle_param', 'transform_target_method_param', 'stratify_param', 'seed', 'iterative_imputation_iters_param', 'X_train', 'y_test', 'fold_param', '_ml_usecase', '_gpu_n_jobs_param', 'gpu_param', 'y_train', 'experiment__', 'transform_target_param', 'create_model_container', 'pycaret_globals', 'master_model_container', 'prep_pipe', 'imputation_regressor', 'imputation_classifier', 'exp_name_log', 'display_container', 'USI', '_all_metrics', 'X_test', 'target_param', '_all_models_internal'}
|
| 193 |
+
2023-05-14 15:33:00,136:INFO:Preparing display monitor
|
| 194 |
+
2023-05-14 15:33:00,136:INFO:Preparing display monitor
|
| 195 |
+
2023-05-14 15:33:00,140:INFO:Importing libraries
|
| 196 |
+
2023-05-14 15:33:00,140:INFO:Copying data for preprocessing
|
| 197 |
+
2023-05-14 15:33:00,142:INFO:Declaring preprocessing parameters
|
| 198 |
+
2023-05-14 15:33:00,143:INFO:Creating preprocessing pipeline
|
| 199 |
+
2023-05-14 15:33:00,145:INFO:Preprocessing pipeline created successfully
|
| 200 |
+
2023-05-14 15:33:00,146:ERROR:(Process Exit): setup has been interupted with user command 'quit'. setup must rerun.
|
| 201 |
+
2023-05-14 15:33:00,146:INFO:Creating global containers
|
| 202 |
+
2023-05-14 15:34:40,405:INFO:PyCaret Supervised Module
|
| 203 |
+
2023-05-14 15:34:40,406:INFO:ML Usecase: classification
|
| 204 |
+
2023-05-14 15:34:40,406:INFO:version 2.2.3
|
| 205 |
+
2023-05-14 15:34:40,406:INFO:Initializing setup()
|
| 206 |
+
2023-05-14 15:34:40,406:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=None, numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=False, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 207 |
+
2023-05-14 15:34:40,406:INFO:Checking environment
|
| 208 |
+
2023-05-14 15:34:40,406:INFO:python_version: 3.8.16
|
| 209 |
+
2023-05-14 15:34:40,406:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 210 |
+
2023-05-14 15:34:40,406:INFO:machine: arm64
|
| 211 |
+
2023-05-14 15:34:40,406:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 212 |
+
2023-05-14 15:34:40,406:INFO:Memory: svmem(total=17179869184, available=7416872960, percent=56.8, used=8947023872, free=100990976, active=7321927680, inactive=6863142912, wired=1625096192)
|
| 213 |
+
2023-05-14 15:34:40,406:INFO:Physical Core: 8
|
| 214 |
+
2023-05-14 15:34:40,406:INFO:Logical Core: 8
|
| 215 |
+
2023-05-14 15:34:40,406:INFO:Checking libraries
|
| 216 |
+
2023-05-14 15:34:40,407:INFO:pd==1.5.3
|
| 217 |
+
2023-05-14 15:34:40,407:INFO:numpy==1.23.5
|
| 218 |
+
2023-05-14 15:34:40,407:INFO:sklearn==1.2.2
|
| 219 |
+
2023-05-14 15:34:40,407:INFO:xgboost==1.7.4
|
| 220 |
+
2023-05-14 15:34:40,407:INFO:lightgbm==3.3.5
|
| 221 |
+
2023-05-14 15:34:40,407:INFO:catboost==1.2
|
| 222 |
+
2023-05-14 15:34:40,407:INFO:mlflow==2.3.2
|
| 223 |
+
2023-05-14 15:34:40,407:INFO:Checking Exceptions
|
| 224 |
+
2023-05-14 15:34:40,407:INFO:Declaring global variables
|
| 225 |
+
2023-05-14 15:34:40,407:INFO:USI: c4ca
|
| 226 |
+
2023-05-14 15:34:40,407:INFO:pycaret_globals: {'fold_generator', '_available_plots', 'fold_groups_param', 'n_jobs_param', 'fix_imbalance_method_param', 'log_plots_param', '_all_models', '_internal_pipeline', 'fix_imbalance_param', 'html_param', 'logging_param', 'data_before_preprocess', 'y', 'X', 'fold_shuffle_param', 'transform_target_method_param', 'stratify_param', 'seed', 'iterative_imputation_iters_param', 'X_train', 'y_test', 'fold_param', '_ml_usecase', '_gpu_n_jobs_param', 'gpu_param', 'y_train', 'experiment__', 'transform_target_param', 'create_model_container', 'pycaret_globals', 'master_model_container', 'prep_pipe', 'imputation_regressor', 'imputation_classifier', 'exp_name_log', 'display_container', 'USI', '_all_metrics', 'X_test', 'target_param', '_all_models_internal'}
|
| 227 |
+
2023-05-14 15:34:40,407:INFO:Preparing display monitor
|
| 228 |
+
2023-05-14 15:34:40,407:INFO:Preparing display monitor
|
| 229 |
+
2023-05-14 15:34:40,412:INFO:Importing libraries
|
| 230 |
+
2023-05-14 15:34:40,412:INFO:Copying data for preprocessing
|
| 231 |
+
2023-05-14 15:34:40,416:INFO:Declaring preprocessing parameters
|
| 232 |
+
2023-05-14 15:34:40,417:INFO:Creating preprocessing pipeline
|
| 233 |
+
2023-05-14 15:34:40,419:INFO:Preprocessing pipeline created successfully
|
| 234 |
+
2023-05-14 15:34:40,419:ERROR:(Process Exit): setup has been interupted with user command 'quit'. setup must rerun.
|
| 235 |
+
2023-05-14 15:34:40,419:INFO:Creating global containers
|
| 236 |
+
2023-05-14 15:34:40,421:INFO:Internal pipeline: Pipeline(memory=None, steps=[('empty_step', 'passthrough')], verbose=False)
|
| 237 |
+
2023-05-14 15:45:17,224:INFO:PyCaret Supervised Module
|
| 238 |
+
2023-05-14 15:45:17,226:INFO:ML Usecase: classification
|
| 239 |
+
2023-05-14 15:45:17,226:INFO:version 2.2.3
|
| 240 |
+
2023-05-14 15:45:17,226:INFO:Initializing setup()
|
| 241 |
+
2023-05-14 15:45:17,227:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=None, numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=False, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 242 |
+
2023-05-14 15:45:17,227:INFO:Checking environment
|
| 243 |
+
2023-05-14 15:45:17,227:INFO:python_version: 3.8.16
|
| 244 |
+
2023-05-14 15:45:17,227:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 245 |
+
2023-05-14 15:45:17,227:INFO:machine: arm64
|
| 246 |
+
2023-05-14 15:45:17,227:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 247 |
+
2023-05-14 15:45:17,227:INFO:Memory: svmem(total=17179869184, available=7388774400, percent=57.0, used=8976367616, free=80199680, active=7325286400, inactive=7230734336, wired=1651081216)
|
| 248 |
+
2023-05-14 15:45:17,227:INFO:Physical Core: 8
|
| 249 |
+
2023-05-14 15:45:17,227:INFO:Logical Core: 8
|
| 250 |
+
2023-05-14 15:45:17,228:INFO:Checking libraries
|
| 251 |
+
2023-05-14 15:45:17,228:INFO:pd==1.5.3
|
| 252 |
+
2023-05-14 15:45:17,228:INFO:numpy==1.23.5
|
| 253 |
+
2023-05-14 15:45:17,228:INFO:sklearn==1.2.2
|
| 254 |
+
2023-05-14 15:45:17,228:INFO:xgboost==1.7.4
|
| 255 |
+
2023-05-14 15:45:17,228:INFO:lightgbm==3.3.5
|
| 256 |
+
2023-05-14 15:45:17,228:INFO:catboost==1.2
|
| 257 |
+
2023-05-14 15:45:17,228:INFO:mlflow==2.3.2
|
| 258 |
+
2023-05-14 15:45:17,228:INFO:Checking Exceptions
|
| 259 |
+
2023-05-14 15:45:17,228:INFO:Declaring global variables
|
| 260 |
+
2023-05-14 15:45:17,228:INFO:USI: e256
|
| 261 |
+
2023-05-14 15:45:17,228:INFO:pycaret_globals: {'fold_generator', '_available_plots', 'fold_groups_param', 'n_jobs_param', 'fix_imbalance_method_param', 'log_plots_param', '_all_models', '_internal_pipeline', 'fix_imbalance_param', 'html_param', 'logging_param', 'data_before_preprocess', 'y', 'X', 'fold_shuffle_param', 'transform_target_method_param', 'stratify_param', 'seed', 'iterative_imputation_iters_param', 'X_train', 'y_test', 'fold_param', '_ml_usecase', '_gpu_n_jobs_param', 'gpu_param', 'y_train', 'experiment__', 'transform_target_param', 'create_model_container', 'pycaret_globals', 'master_model_container', 'prep_pipe', 'imputation_regressor', 'imputation_classifier', 'exp_name_log', 'display_container', 'USI', '_all_metrics', 'X_test', 'target_param', '_all_models_internal'}
|
| 262 |
+
2023-05-14 15:45:17,229:INFO:Preparing display monitor
|
| 263 |
+
2023-05-14 15:45:17,229:INFO:Preparing display monitor
|
| 264 |
+
2023-05-14 15:45:17,233:INFO:Importing libraries
|
| 265 |
+
2023-05-14 15:45:17,233:INFO:Copying data for preprocessing
|
| 266 |
+
2023-05-14 15:45:17,237:INFO:Declaring preprocessing parameters
|
| 267 |
+
2023-05-14 15:45:17,238:INFO:Creating preprocessing pipeline
|
| 268 |
+
2023-05-14 15:45:17,240:INFO:Preprocessing pipeline created successfully
|
| 269 |
+
2023-05-14 15:45:17,241:ERROR:(Process Exit): setup has been interupted with user command 'quit'. setup must rerun.
|
| 270 |
+
2023-05-14 15:45:17,241:INFO:Creating global containers
|
| 271 |
+
2023-05-14 15:45:17,241:INFO:Internal pipeline: Pipeline(memory=None, steps=[('empty_step', 'passthrough')], verbose=False)
|
| 272 |
+
2023-05-14 15:46:25,372:INFO:PyCaret Supervised Module
|
| 273 |
+
2023-05-14 15:46:25,372:INFO:ML Usecase: classification
|
| 274 |
+
2023-05-14 15:46:25,372:INFO:version 2.2.3
|
| 275 |
+
2023-05-14 15:46:25,372:INFO:Initializing setup()
|
| 276 |
+
2023-05-14 15:46:25,373:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=None, numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=True, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 277 |
+
2023-05-14 15:46:25,373:INFO:Checking environment
|
| 278 |
+
2023-05-14 15:46:25,373:INFO:python_version: 3.8.16
|
| 279 |
+
2023-05-14 15:46:25,373:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 280 |
+
2023-05-14 15:46:25,373:INFO:machine: arm64
|
| 281 |
+
2023-05-14 15:46:25,373:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 282 |
+
2023-05-14 15:46:25,373:INFO:Memory: svmem(total=17179869184, available=7428669440, percent=56.8, used=8936357888, free=118341632, active=7321288704, inactive=7228784640, wired=1615069184)
|
| 283 |
+
2023-05-14 15:46:25,373:INFO:Physical Core: 8
|
| 284 |
+
2023-05-14 15:46:25,373:INFO:Logical Core: 8
|
| 285 |
+
2023-05-14 15:46:25,373:INFO:Checking libraries
|
| 286 |
+
2023-05-14 15:46:25,373:INFO:pd==1.5.3
|
| 287 |
+
2023-05-14 15:46:25,373:INFO:numpy==1.23.5
|
| 288 |
+
2023-05-14 15:46:25,373:INFO:sklearn==1.2.2
|
| 289 |
+
2023-05-14 15:46:25,373:INFO:xgboost==1.7.4
|
| 290 |
+
2023-05-14 15:46:25,374:INFO:lightgbm==3.3.5
|
| 291 |
+
2023-05-14 15:46:25,374:INFO:catboost==1.2
|
| 292 |
+
2023-05-14 15:46:25,374:INFO:mlflow==2.3.2
|
| 293 |
+
2023-05-14 15:46:25,374:INFO:Checking Exceptions
|
| 294 |
+
2023-05-14 15:46:25,374:INFO:Declaring global variables
|
| 295 |
+
2023-05-14 15:46:25,374:INFO:USI: 68a2
|
| 296 |
+
2023-05-14 15:46:25,374:INFO:pycaret_globals: {'fold_generator', '_available_plots', 'fold_groups_param', 'n_jobs_param', 'fix_imbalance_method_param', 'log_plots_param', '_all_models', '_internal_pipeline', 'fix_imbalance_param', 'html_param', 'logging_param', 'data_before_preprocess', 'y', 'X', 'fold_shuffle_param', 'transform_target_method_param', 'stratify_param', 'seed', 'iterative_imputation_iters_param', 'X_train', 'y_test', 'fold_param', '_ml_usecase', '_gpu_n_jobs_param', 'gpu_param', 'y_train', 'experiment__', 'transform_target_param', 'create_model_container', 'pycaret_globals', 'master_model_container', 'prep_pipe', 'imputation_regressor', 'imputation_classifier', 'exp_name_log', 'display_container', 'USI', '_all_metrics', 'X_test', 'target_param', '_all_models_internal'}
|
| 297 |
+
2023-05-14 15:46:25,374:INFO:Preparing display monitor
|
| 298 |
+
2023-05-14 15:46:25,374:INFO:Preparing display monitor
|
| 299 |
+
2023-05-14 15:46:25,378:INFO:Importing libraries
|
| 300 |
+
2023-05-14 15:46:25,379:INFO:Copying data for preprocessing
|
| 301 |
+
2023-05-14 15:46:25,382:INFO:Declaring preprocessing parameters
|
| 302 |
+
2023-05-14 15:46:25,383:INFO:Creating preprocessing pipeline
|
| 303 |
+
2023-05-14 15:46:25,386:INFO:Preprocessing pipeline created successfully
|
| 304 |
+
2023-05-14 15:46:25,386:ERROR:(Process Exit): setup has been interupted with user command 'quit'. setup must rerun.
|
| 305 |
+
2023-05-14 15:46:25,387:INFO:Creating global containers
|
| 306 |
+
2023-05-14 15:46:25,387:INFO:Internal pipeline: Pipeline(memory=None, steps=[('empty_step', 'passthrough')], verbose=False)
|
| 307 |
+
2023-05-14 15:52:11,449:INFO:PyCaret Supervised Module
|
| 308 |
+
2023-05-14 15:52:11,450:INFO:ML Usecase: classification
|
| 309 |
+
2023-05-14 15:52:11,450:INFO:version 2.2.3
|
| 310 |
+
2023-05-14 15:52:11,450:INFO:Initializing setup()
|
| 311 |
+
2023-05-14 15:52:11,450:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=[Index(['Survived', 'Pclass', 'SibSp', 'Parch'], dtype='object')], numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=True, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 312 |
+
2023-05-14 15:52:11,450:INFO:Checking environment
|
| 313 |
+
2023-05-14 15:52:11,450:INFO:python_version: 3.8.16
|
| 314 |
+
2023-05-14 15:52:11,450:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 315 |
+
2023-05-14 15:52:11,450:INFO:machine: arm64
|
| 316 |
+
2023-05-14 15:52:11,450:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 317 |
+
2023-05-14 15:52:11,450:INFO:Memory: svmem(total=17179869184, available=7765475328, percent=54.8, used=8583954432, free=875642880, active=6970408960, inactive=6829932544, wired=1613545472)
|
| 318 |
+
2023-05-14 15:52:11,450:INFO:Physical Core: 8
|
| 319 |
+
2023-05-14 15:52:11,451:INFO:Logical Core: 8
|
| 320 |
+
2023-05-14 15:52:11,451:INFO:Checking libraries
|
| 321 |
+
2023-05-14 15:52:11,451:INFO:pd==1.5.3
|
| 322 |
+
2023-05-14 15:52:11,451:INFO:numpy==1.23.5
|
| 323 |
+
2023-05-14 15:52:11,451:INFO:sklearn==1.2.2
|
| 324 |
+
2023-05-14 15:52:11,451:INFO:xgboost==1.7.4
|
| 325 |
+
2023-05-14 15:52:11,451:INFO:lightgbm==3.3.5
|
| 326 |
+
2023-05-14 15:52:11,451:INFO:catboost==1.2
|
| 327 |
+
2023-05-14 15:52:11,451:INFO:mlflow==2.3.2
|
| 328 |
+
2023-05-14 15:52:11,451:INFO:Checking Exceptions
|
| 329 |
+
2023-05-14 15:52:32,430:INFO:PyCaret Supervised Module
|
| 330 |
+
2023-05-14 15:52:32,430:INFO:ML Usecase: classification
|
| 331 |
+
2023-05-14 15:52:32,430:INFO:version 2.2.3
|
| 332 |
+
2023-05-14 15:52:32,430:INFO:Initializing setup()
|
| 333 |
+
2023-05-14 15:52:32,430:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=Index(['Survived', 'Pclass', 'SibSp', 'Parch'], dtype='object'), numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=True, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 334 |
+
2023-05-14 15:52:32,430:INFO:Checking environment
|
| 335 |
+
2023-05-14 15:52:32,430:INFO:python_version: 3.8.16
|
| 336 |
+
2023-05-14 15:52:32,430:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 337 |
+
2023-05-14 15:52:32,430:INFO:machine: arm64
|
| 338 |
+
2023-05-14 15:52:32,430:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 339 |
+
2023-05-14 15:52:32,431:INFO:Memory: svmem(total=17179869184, available=7757070336, percent=54.8, used=8592113664, free=854032384, active=6937853952, inactive=6845628416, wired=1654259712)
|
| 340 |
+
2023-05-14 15:52:32,431:INFO:Physical Core: 8
|
| 341 |
+
2023-05-14 15:52:32,431:INFO:Logical Core: 8
|
| 342 |
+
2023-05-14 15:52:32,431:INFO:Checking libraries
|
| 343 |
+
2023-05-14 15:52:32,431:INFO:pd==1.5.3
|
| 344 |
+
2023-05-14 15:52:32,431:INFO:numpy==1.23.5
|
| 345 |
+
2023-05-14 15:52:32,431:INFO:sklearn==1.2.2
|
| 346 |
+
2023-05-14 15:52:32,431:INFO:xgboost==1.7.4
|
| 347 |
+
2023-05-14 15:52:32,431:INFO:lightgbm==3.3.5
|
| 348 |
+
2023-05-14 15:52:32,431:INFO:catboost==1.2
|
| 349 |
+
2023-05-14 15:52:32,431:INFO:mlflow==2.3.2
|
| 350 |
+
2023-05-14 15:52:32,431:INFO:Checking Exceptions
|
| 351 |
+
2023-05-14 15:53:05,260:INFO:PyCaret Supervised Module
|
| 352 |
+
2023-05-14 15:53:05,260:INFO:ML Usecase: classification
|
| 353 |
+
2023-05-14 15:53:05,260:INFO:version 2.2.3
|
| 354 |
+
2023-05-14 15:53:05,260:INFO:Initializing setup()
|
| 355 |
+
2023-05-14 15:53:05,261:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=Index(['Survived', 'Pclass', 'SibSp', 'Parch'], dtype='object'), numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=True, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 356 |
+
2023-05-14 15:53:05,261:INFO:Checking environment
|
| 357 |
+
2023-05-14 15:53:05,261:INFO:python_version: 3.8.16
|
| 358 |
+
2023-05-14 15:53:05,261:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 359 |
+
2023-05-14 15:53:05,261:INFO:machine: arm64
|
| 360 |
+
2023-05-14 15:53:05,261:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 361 |
+
2023-05-14 15:53:05,261:INFO:Memory: svmem(total=17179869184, available=7726153728, percent=55.0, used=8622686208, free=716210176, active=7017725952, inactive=6939082752, wired=1604960256)
|
| 362 |
+
2023-05-14 15:53:05,261:INFO:Physical Core: 8
|
| 363 |
+
2023-05-14 15:53:05,261:INFO:Logical Core: 8
|
| 364 |
+
2023-05-14 15:53:05,261:INFO:Checking libraries
|
| 365 |
+
2023-05-14 15:53:05,261:INFO:pd==1.5.3
|
| 366 |
+
2023-05-14 15:53:05,261:INFO:numpy==1.23.5
|
| 367 |
+
2023-05-14 15:53:05,261:INFO:sklearn==1.2.2
|
| 368 |
+
2023-05-14 15:53:05,262:INFO:xgboost==1.7.4
|
| 369 |
+
2023-05-14 15:53:05,262:INFO:lightgbm==3.3.5
|
| 370 |
+
2023-05-14 15:53:05,262:INFO:catboost==1.2
|
| 371 |
+
2023-05-14 15:53:05,262:INFO:mlflow==2.3.2
|
| 372 |
+
2023-05-14 15:53:05,262:INFO:Checking Exceptions
|
| 373 |
+
2023-05-14 15:54:02,406:INFO:PyCaret Supervised Module
|
| 374 |
+
2023-05-14 15:54:02,407:INFO:ML Usecase: classification
|
| 375 |
+
2023-05-14 15:54:02,407:INFO:version 2.2.3
|
| 376 |
+
2023-05-14 15:54:02,407:INFO:Initializing setup()
|
| 377 |
+
2023-05-14 15:54:02,407:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=['Pclass', 'SibSp', 'Parch'], numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=True, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 378 |
+
2023-05-14 15:54:02,407:INFO:Checking environment
|
| 379 |
+
2023-05-14 15:54:02,407:INFO:python_version: 3.8.16
|
| 380 |
+
2023-05-14 15:54:02,407:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 381 |
+
2023-05-14 15:54:02,407:INFO:machine: arm64
|
| 382 |
+
2023-05-14 15:54:02,407:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 383 |
+
2023-05-14 15:54:02,407:INFO:Memory: svmem(total=17179869184, available=7747928064, percent=54.9, used=8599846912, free=820527104, active=7009878016, inactive=6855442432, wired=1589968896)
|
| 384 |
+
2023-05-14 15:54:02,407:INFO:Physical Core: 8
|
| 385 |
+
2023-05-14 15:54:02,408:INFO:Logical Core: 8
|
| 386 |
+
2023-05-14 15:54:02,408:INFO:Checking libraries
|
| 387 |
+
2023-05-14 15:54:02,408:INFO:pd==1.5.3
|
| 388 |
+
2023-05-14 15:54:02,408:INFO:numpy==1.23.5
|
| 389 |
+
2023-05-14 15:54:02,408:INFO:sklearn==1.2.2
|
| 390 |
+
2023-05-14 15:54:02,408:INFO:xgboost==1.7.4
|
| 391 |
+
2023-05-14 15:54:02,408:INFO:lightgbm==3.3.5
|
| 392 |
+
2023-05-14 15:54:02,408:INFO:catboost==1.2
|
| 393 |
+
2023-05-14 15:54:02,408:INFO:mlflow==2.3.2
|
| 394 |
+
2023-05-14 15:54:02,408:INFO:Checking Exceptions
|
| 395 |
+
2023-05-14 15:54:02,408:INFO:Declaring global variables
|
| 396 |
+
2023-05-14 15:54:02,408:INFO:USI: 3cc3
|
| 397 |
+
2023-05-14 15:54:02,408:INFO:pycaret_globals: {'fold_generator', '_available_plots', 'fold_groups_param', 'n_jobs_param', 'fix_imbalance_method_param', 'log_plots_param', '_all_models', '_internal_pipeline', 'fix_imbalance_param', 'html_param', 'logging_param', 'data_before_preprocess', 'y', 'X', 'fold_shuffle_param', 'transform_target_method_param', 'stratify_param', 'seed', 'iterative_imputation_iters_param', 'X_train', 'y_test', 'fold_param', '_ml_usecase', '_gpu_n_jobs_param', 'gpu_param', 'y_train', 'experiment__', 'transform_target_param', 'create_model_container', 'pycaret_globals', 'master_model_container', 'prep_pipe', 'imputation_regressor', 'imputation_classifier', 'exp_name_log', 'display_container', 'USI', '_all_metrics', 'X_test', 'target_param', '_all_models_internal'}
|
| 398 |
+
2023-05-14 15:54:02,408:INFO:Preparing display monitor
|
| 399 |
+
2023-05-14 15:54:02,408:INFO:Preparing display monitor
|
| 400 |
+
2023-05-14 15:54:02,412:INFO:Importing libraries
|
| 401 |
+
2023-05-14 15:54:02,412:INFO:Copying data for preprocessing
|
| 402 |
+
2023-05-14 15:54:02,414:INFO:Declaring preprocessing parameters
|
| 403 |
+
2023-05-14 15:54:02,415:INFO:Creating preprocessing pipeline
|
| 404 |
+
2023-05-14 15:54:02,416:INFO:Preprocessing pipeline created successfully
|
| 405 |
+
2023-05-14 15:54:02,416:ERROR:(Process Exit): setup has been interupted with user command 'quit'. setup must rerun.
|
| 406 |
+
2023-05-14 15:54:02,416:INFO:Creating global containers
|
| 407 |
+
2023-05-14 15:54:02,416:INFO:Internal pipeline: Pipeline(memory=None, steps=[('empty_step', 'passthrough')], verbose=False)
|
| 408 |
+
2023-05-14 15:54:02,552:INFO:Creating grid variables
|
| 409 |
+
2023-05-14 15:54:02,553:INFO:create_model_container: 0
|
| 410 |
+
2023-05-14 15:54:02,553:INFO:master_model_container: 0
|
| 411 |
+
2023-05-14 15:54:02,553:INFO:display_container: 1
|
| 412 |
+
2023-05-14 15:54:22,786:INFO:PyCaret Supervised Module
|
| 413 |
+
2023-05-14 15:54:22,786:INFO:ML Usecase: classification
|
| 414 |
+
2023-05-14 15:54:22,786:INFO:version 2.2.3
|
| 415 |
+
2023-05-14 15:54:22,786:INFO:Initializing setup()
|
| 416 |
+
2023-05-14 15:54:22,786:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=[['Pclass', 'SibSp', 'Parch']], numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=True, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 417 |
+
2023-05-14 15:54:22,786:INFO:Checking environment
|
| 418 |
+
2023-05-14 15:54:22,786:INFO:python_version: 3.8.16
|
| 419 |
+
2023-05-14 15:54:22,786:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 420 |
+
2023-05-14 15:54:22,786:INFO:machine: arm64
|
| 421 |
+
2023-05-14 15:54:22,786:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 422 |
+
2023-05-14 15:54:22,787:INFO:Memory: svmem(total=17179869184, available=7713898496, percent=55.1, used=8636399616, free=852033536, active=6878904320, inactive=6788300800, wired=1757495296)
|
| 423 |
+
2023-05-14 15:54:22,787:INFO:Physical Core: 8
|
| 424 |
+
2023-05-14 15:54:22,787:INFO:Logical Core: 8
|
| 425 |
+
2023-05-14 15:54:22,787:INFO:Checking libraries
|
| 426 |
+
2023-05-14 15:54:22,787:INFO:pd==1.5.3
|
| 427 |
+
2023-05-14 15:54:22,787:INFO:numpy==1.23.5
|
| 428 |
+
2023-05-14 15:54:22,787:INFO:sklearn==1.2.2
|
| 429 |
+
2023-05-14 15:54:22,787:INFO:xgboost==1.7.4
|
| 430 |
+
2023-05-14 15:54:22,787:INFO:lightgbm==3.3.5
|
| 431 |
+
2023-05-14 15:54:22,787:INFO:catboost==1.2
|
| 432 |
+
2023-05-14 15:54:22,787:INFO:mlflow==2.3.2
|
| 433 |
+
2023-05-14 15:54:22,787:INFO:Checking Exceptions
|
| 434 |
+
2023-05-14 15:55:40,905:INFO:PyCaret Supervised Module
|
| 435 |
+
2023-05-14 15:55:40,905:INFO:ML Usecase: classification
|
| 436 |
+
2023-05-14 15:55:40,905:INFO:version 2.2.3
|
| 437 |
+
2023-05-14 15:55:40,905:INFO:Initializing setup()
|
| 438 |
+
2023-05-14 15:55:40,905:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=['Pclass', 'SibSp', 'Parch'], numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=True, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 439 |
+
2023-05-14 15:55:40,905:INFO:Checking environment
|
| 440 |
+
2023-05-14 15:55:40,905:INFO:python_version: 3.8.16
|
| 441 |
+
2023-05-14 15:55:40,905:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 442 |
+
2023-05-14 15:55:40,905:INFO:machine: arm64
|
| 443 |
+
2023-05-14 15:55:40,905:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 444 |
+
2023-05-14 15:55:40,906:INFO:Memory: svmem(total=17179869184, available=7758381056, percent=54.8, used=8590000128, free=804257792, active=6966165504, inactive=6879920128, wired=1623834624)
|
| 445 |
+
2023-05-14 15:55:40,906:INFO:Physical Core: 8
|
| 446 |
+
2023-05-14 15:55:40,906:INFO:Logical Core: 8
|
| 447 |
+
2023-05-14 15:55:40,906:INFO:Checking libraries
|
| 448 |
+
2023-05-14 15:55:40,906:INFO:pd==1.5.3
|
| 449 |
+
2023-05-14 15:55:40,906:INFO:numpy==1.23.5
|
| 450 |
+
2023-05-14 15:55:40,906:INFO:sklearn==1.2.2
|
| 451 |
+
2023-05-14 15:55:40,906:INFO:xgboost==1.7.4
|
| 452 |
+
2023-05-14 15:55:40,906:INFO:lightgbm==3.3.5
|
| 453 |
+
2023-05-14 15:55:40,906:INFO:catboost==1.2
|
| 454 |
+
2023-05-14 15:55:40,906:INFO:mlflow==2.3.2
|
| 455 |
+
2023-05-14 15:55:40,906:INFO:Checking Exceptions
|
| 456 |
+
2023-05-14 15:55:40,906:INFO:Declaring global variables
|
| 457 |
+
2023-05-14 15:55:40,906:INFO:USI: 37da
|
| 458 |
+
2023-05-14 15:55:40,906:INFO:pycaret_globals: {'fold_generator', '_available_plots', 'fold_groups_param', 'n_jobs_param', 'fix_imbalance_method_param', 'log_plots_param', '_all_models', '_internal_pipeline', 'fix_imbalance_param', 'html_param', 'logging_param', 'data_before_preprocess', 'y', 'X', 'fold_shuffle_param', 'transform_target_method_param', 'stratify_param', 'seed', 'iterative_imputation_iters_param', 'X_train', 'y_test', 'fold_param', '_ml_usecase', '_gpu_n_jobs_param', 'gpu_param', 'y_train', 'experiment__', 'transform_target_param', 'create_model_container', 'pycaret_globals', 'master_model_container', 'prep_pipe', 'imputation_regressor', 'imputation_classifier', 'exp_name_log', 'display_container', 'USI', '_all_metrics', 'X_test', 'target_param', '_all_models_internal'}
|
| 459 |
+
2023-05-14 15:55:40,907:INFO:Preparing display monitor
|
| 460 |
+
2023-05-14 15:55:40,907:INFO:Preparing display monitor
|
| 461 |
+
2023-05-14 15:55:40,911:INFO:Importing libraries
|
| 462 |
+
2023-05-14 15:55:40,911:INFO:Copying data for preprocessing
|
| 463 |
+
2023-05-14 15:55:40,913:INFO:Declaring preprocessing parameters
|
| 464 |
+
2023-05-14 15:55:40,914:INFO:Creating preprocessing pipeline
|
| 465 |
+
2023-05-14 15:55:40,915:INFO:Preprocessing pipeline created successfully
|
| 466 |
+
2023-05-14 15:55:40,915:ERROR:(Process Exit): setup has been interupted with user command 'quit'. setup must rerun.
|
| 467 |
+
2023-05-14 15:55:40,915:INFO:Creating global containers
|
| 468 |
+
2023-05-14 15:55:40,915:INFO:Internal pipeline: Pipeline(memory=None, steps=[('empty_step', 'passthrough')], verbose=False)
|
| 469 |
+
2023-05-14 15:55:41,038:INFO:Creating grid variables
|
| 470 |
+
2023-05-14 15:55:41,039:INFO:create_model_container: 0
|
| 471 |
+
2023-05-14 15:55:41,039:INFO:master_model_container: 0
|
| 472 |
+
2023-05-14 15:55:41,039:INFO:display_container: 1
|
| 473 |
+
2023-05-14 15:57:19,717:INFO:PyCaret Supervised Module
|
| 474 |
+
2023-05-14 15:57:19,717:INFO:ML Usecase: classification
|
| 475 |
+
2023-05-14 15:57:19,717:INFO:version 2.2.3
|
| 476 |
+
2023-05-14 15:57:19,717:INFO:Initializing setup()
|
| 477 |
+
2023-05-14 15:57:19,717:INFO:setup(target=Survived, ml_usecase=classification, available_plots={'parameter': 'Hyperparameters', 'auc': 'AUC', 'confusion_matrix': 'Confusion Matrix', 'threshold': 'Threshold', 'pr': 'Precision Recall', 'error': 'Prediction Error', 'class_report': 'Class Report', 'rfe': 'Feature Selection', 'learning': 'Learning Curve', 'manifold': 'Manifold Learning', 'calibration': 'Calibration Curve', 'vc': 'Validation Curve', 'dimension': 'Dimensions', 'feature': 'Feature Importance', 'feature_all': 'Feature Importance (All)', 'boundary': 'Decision Boundary', 'lift': 'Lift Chart', 'gain': 'Gain Chart', 'tree': 'Decision Tree'}, train_size=0.7, test_data=None, preprocess=True, imputation_type=simple, iterative_imputation_iters=5, categorical_features=None, categorical_imputation=constant, categorical_iterative_imputer=lightgbm, ordinal_features=None, high_cardinality_features=None, high_cardinality_method=frequency, numeric_features=['Pclass', 'SibSp', 'Parch'], numeric_imputation=mean, numeric_iterative_imputer=lightgbm, date_features=None, ignore_features=None, normalize=False, normalize_method=zscore, transformation=False, transformation_method=yeo-johnson, handle_unknown_categorical=True, unknown_categorical_method=least_frequent, pca=False, pca_method=linear, pca_components=None, ignore_low_variance=False, combine_rare_levels=False, rare_level_threshold=0.1, bin_numeric_features=None, remove_outliers=False, outliers_threshold=0.05, remove_multicollinearity=False, multicollinearity_threshold=0.9, remove_perfect_collinearity=True, create_clusters=False, cluster_iter=20, polynomial_features=False, polynomial_degree=2, trigonometry_features=False, polynomial_threshold=0.1, group_features=None, group_names=None, feature_selection=False, feature_selection_threshold=0.8, feature_selection_method=classic, feature_interaction=False, feature_ratio=False, interaction_threshold=0.01, fix_imbalance=False, fix_imbalance_method=None, transform_target=False, transform_target_method=box-cox, data_split_shuffle=True, data_split_stratify=False, fold_strategy=stratifiedkfold, fold=10, fold_shuffle=True, fold_groups=None, n_jobs=-1, use_gpu=False, custom_pipeline=None, html=True, session_id=123, log_experiment=False, experiment_name=None, log_plots=False, log_profile=False, log_data=False, silent=True, verbose=True, profile=False, profile_kwargs=None, display=None)
|
| 478 |
+
2023-05-14 15:57:19,717:INFO:Checking environment
|
| 479 |
+
2023-05-14 15:57:19,718:INFO:python_version: 3.8.16
|
| 480 |
+
2023-05-14 15:57:19,718:INFO:python_build: ('default', 'Mar 1 2023 21:18:45')
|
| 481 |
+
2023-05-14 15:57:19,718:INFO:machine: arm64
|
| 482 |
+
2023-05-14 15:57:19,718:INFO:platform: macOS-13.3.1-arm64-arm-64bit
|
| 483 |
+
2023-05-14 15:57:19,718:INFO:Memory: svmem(total=17179869184, available=7652540416, percent=55.5, used=8697577472, free=584335360, active=7078838272, inactive=6967296000, wired=1618739200)
|
| 484 |
+
2023-05-14 15:57:19,718:INFO:Physical Core: 8
|
| 485 |
+
2023-05-14 15:57:19,718:INFO:Logical Core: 8
|
| 486 |
+
2023-05-14 15:57:19,718:INFO:Checking libraries
|
| 487 |
+
2023-05-14 15:57:19,718:INFO:pd==1.5.3
|
| 488 |
+
2023-05-14 15:57:19,718:INFO:numpy==1.23.5
|
| 489 |
+
2023-05-14 15:57:19,718:INFO:sklearn==1.2.2
|
| 490 |
+
2023-05-14 15:57:19,718:INFO:xgboost==1.7.4
|
| 491 |
+
2023-05-14 15:57:19,718:INFO:lightgbm==3.3.5
|
| 492 |
+
2023-05-14 15:57:19,718:INFO:catboost==1.2
|
| 493 |
+
2023-05-14 15:57:19,718:INFO:mlflow==2.3.2
|
| 494 |
+
2023-05-14 15:57:19,718:INFO:Checking Exceptions
|
| 495 |
+
2023-05-14 15:57:19,718:INFO:Declaring global variables
|
| 496 |
+
2023-05-14 15:57:19,718:INFO:USI: 5dc3
|
| 497 |
+
2023-05-14 15:57:19,718:INFO:pycaret_globals: {'fold_generator', '_available_plots', 'fold_groups_param', 'n_jobs_param', 'fix_imbalance_method_param', 'log_plots_param', '_all_models', '_internal_pipeline', 'fix_imbalance_param', 'html_param', 'logging_param', 'data_before_preprocess', 'y', 'X', 'fold_shuffle_param', 'transform_target_method_param', 'stratify_param', 'seed', 'iterative_imputation_iters_param', 'X_train', 'y_test', 'fold_param', '_ml_usecase', '_gpu_n_jobs_param', 'gpu_param', 'y_train', 'experiment__', 'transform_target_param', 'create_model_container', 'pycaret_globals', 'master_model_container', 'prep_pipe', 'imputation_regressor', 'imputation_classifier', 'exp_name_log', 'display_container', 'USI', '_all_metrics', 'X_test', 'target_param', '_all_models_internal'}
|
| 498 |
+
2023-05-14 15:57:19,718:INFO:Preparing display monitor
|
| 499 |
+
2023-05-14 15:57:19,718:INFO:Preparing display monitor
|
| 500 |
+
2023-05-14 15:57:19,721:INFO:Importing libraries
|
| 501 |
+
2023-05-14 15:57:19,721:INFO:Copying data for preprocessing
|
| 502 |
+
2023-05-14 15:57:19,722:INFO:Declaring preprocessing parameters
|
| 503 |
+
2023-05-14 15:57:19,723:INFO:Creating preprocessing pipeline
|
| 504 |
+
2023-05-14 15:57:19,724:INFO:Preprocessing pipeline created successfully
|
| 505 |
+
2023-05-14 15:57:19,724:ERROR:(Process Exit): setup has been interupted with user command 'quit'. setup must rerun.
|
| 506 |
+
2023-05-14 15:57:19,724:INFO:Creating global containers
|
| 507 |
+
2023-05-14 15:57:19,724:INFO:Internal pipeline: Pipeline(memory=None, steps=[('empty_step', 'passthrough')], verbose=False)
|
| 508 |
+
2023-05-14 15:57:19,841:INFO:Creating grid variables
|
| 509 |
+
2023-05-14 15:57:19,842:INFO:create_model_container: 0
|
| 510 |
+
2023-05-14 15:57:19,842:INFO:master_model_container: 0
|
| 511 |
+
2023-05-14 15:57:19,842:INFO:display_container: 1
|
pages/01-Exploratory_Data_Analysis.py
CHANGED
|
@@ -3,12 +3,19 @@ import streamlit as st
|
|
| 3 |
from pandas_profiling import ProfileReport
|
| 4 |
from streamlit_pandas_profiling import st_profile_report
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
st.
|
| 11 |
-
|
| 12 |
-
df
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
from pandas_profiling import ProfileReport
|
| 4 |
from streamlit_pandas_profiling import st_profile_report
|
| 5 |
|
| 6 |
+
st.set_page_config(layout='wide')
|
| 7 |
+
col1, col2, col3 = st.columns([15, 70, 15])
|
| 8 |
+
|
| 9 |
+
with col1:
|
| 10 |
+
st.write('')
|
| 11 |
+
with col2:
|
| 12 |
+
if 'df' not in st.session_state:
|
| 13 |
+
st.warning('Please upload a CSV file')
|
| 14 |
+
|
| 15 |
+
else:
|
| 16 |
+
st.header('Exploratory Data Analysis')
|
| 17 |
+
df = st.session_state['df']
|
| 18 |
+
profile = ProfileReport(df, title='Pandas Profiling Report', explorative=True,dark_mode=True)
|
| 19 |
+
st_profile_report(profile)
|
| 20 |
+
with col3:
|
| 21 |
+
st.write('')
|
pages/02-Data_Type.py
CHANGED
|
@@ -4,32 +4,36 @@ import streamlit as st
|
|
| 4 |
def change_data_type(df, column, data_type):
|
| 5 |
df[column] = df[column].astype(data_type)
|
| 6 |
return df
|
|
|
|
|
|
|
| 7 |
|
| 8 |
-
|
| 9 |
-
st.
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 23 |
st.subheader('Change data type')
|
| 24 |
st.write('Select the column and the data type')
|
| 25 |
column = st.selectbox('Select the column', data_type.index)
|
| 26 |
data_type_list = ['int64', 'float64', 'object', 'bool', 'datetime64[ns]']
|
| 27 |
data_type_list.remove(str(data_type.loc[column, 'Data Type']))
|
| 28 |
data_type = st.selectbox('Select the data type', data_type_list)
|
| 29 |
-
# create a button to change the data type
|
| 30 |
if st.button('Change data type'):
|
| 31 |
df = change_data_type(df, column, data_type)
|
| 32 |
st.dataframe(df.head())
|
| 33 |
st.session_state.df = df
|
| 34 |
st.success('Data type changed')
|
| 35 |
-
st.experimental_rerun()
|
|
|
|
|
|
|
|
|
| 4 |
def change_data_type(df, column, data_type):
|
| 5 |
df[column] = df[column].astype(data_type)
|
| 6 |
return df
|
| 7 |
+
st.set_page_config(layout='wide')
|
| 8 |
+
col1, col2, col3 = st.columns([15, 70, 15])
|
| 9 |
|
| 10 |
+
with col1:
|
| 11 |
+
st.write('')
|
| 12 |
+
with col2:
|
| 13 |
+
if 'df' not in st.session_state:
|
| 14 |
+
st.warning('Please upload a CSV file')
|
| 15 |
+
else:
|
| 16 |
+
st.header('Data Type')
|
| 17 |
+
if st.button('Reload data'):
|
| 18 |
+
st.write('Reloading data...')
|
| 19 |
+
df_original = st.session_state['df_original']
|
| 20 |
+
df = df_original.copy()
|
| 21 |
+
st.session_state.df = df
|
| 22 |
+
st.experimental_rerun()
|
| 23 |
+
df = st.session_state['df']
|
| 24 |
+
data_type = df.dtypes.to_frame(name='Data Type')
|
| 25 |
+
st.dataframe(data_type, height=38*len(data_type))
|
| 26 |
st.subheader('Change data type')
|
| 27 |
st.write('Select the column and the data type')
|
| 28 |
column = st.selectbox('Select the column', data_type.index)
|
| 29 |
data_type_list = ['int64', 'float64', 'object', 'bool', 'datetime64[ns]']
|
| 30 |
data_type_list.remove(str(data_type.loc[column, 'Data Type']))
|
| 31 |
data_type = st.selectbox('Select the data type', data_type_list)
|
|
|
|
| 32 |
if st.button('Change data type'):
|
| 33 |
df = change_data_type(df, column, data_type)
|
| 34 |
st.dataframe(df.head())
|
| 35 |
st.session_state.df = df
|
| 36 |
st.success('Data type changed')
|
| 37 |
+
st.experimental_rerun()
|
| 38 |
+
with col3:
|
| 39 |
+
st.write('')
|
pages/03-Drop_Columns.py
CHANGED
|
@@ -4,29 +4,36 @@ import streamlit as st
|
|
| 4 |
def drop_columns(df, columns):
|
| 5 |
df.drop(columns, axis=1, inplace=True)
|
| 6 |
return df
|
|
|
|
|
|
|
| 7 |
|
| 8 |
-
|
| 9 |
-
st.
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
columns_to_drop = st.multiselect('Select the columns to drop', columns)
|
| 24 |
-
# create a button to drop the columns
|
| 25 |
-
if st.button('Drop columns'):
|
| 26 |
-
df = drop_columns(df, columns_to_drop)
|
| 27 |
st.dataframe(df.head())
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
|
|
|
|
| 4 |
def drop_columns(df, columns):
|
| 5 |
df.drop(columns, axis=1, inplace=True)
|
| 6 |
return df
|
| 7 |
+
st.set_page_config(layout='wide')
|
| 8 |
+
col1, col2, col3 = st.columns([15, 70, 15])
|
| 9 |
|
| 10 |
+
with col1:
|
| 11 |
+
st.write('')
|
| 12 |
+
with col2:
|
| 13 |
+
if 'df' not in st.session_state:
|
| 14 |
+
st.warning('Please upload a CSV file')
|
| 15 |
+
else:
|
| 16 |
+
st.header('Missing Values')
|
| 17 |
+
if st.button('Reload data'):
|
| 18 |
+
st.write('Reloading data...')
|
| 19 |
+
df_original = st.session_state['df_original']
|
| 20 |
+
df = df_original.copy()
|
| 21 |
+
st.session_state.df = df
|
| 22 |
+
st.experimental_rerun()
|
| 23 |
+
df = st.session_state['df']
|
| 24 |
+
# show all columns names
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
st.dataframe(df.head())
|
| 26 |
+
columns = df.columns.tolist()
|
| 27 |
+
# create a multiselect to select the columns to drop
|
| 28 |
+
columns_to_drop = st.multiselect('Select the columns to drop', columns)
|
| 29 |
+
# create a button to drop the columns
|
| 30 |
+
if st.button('Drop columns'):
|
| 31 |
+
df = drop_columns(df, columns_to_drop)
|
| 32 |
+
st.dataframe(df.head())
|
| 33 |
+
st.session_state.df = df
|
| 34 |
+
st.success('Columns dropped')
|
| 35 |
+
st.experimental_rerun()
|
| 36 |
+
with col3:
|
| 37 |
+
st.write('')
|
| 38 |
|
| 39 |
|
pages/04-Missing_Values.py
CHANGED
|
@@ -19,48 +19,55 @@ def missing_values_cat_mode(df, column):
|
|
| 19 |
def drop_columns(df, columns):
|
| 20 |
df.drop(columns, axis=1, inplace=True)
|
| 21 |
return df
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
|
| 24 |
-
st.
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
st.write('Reloading data...')
|
| 29 |
-
df_original = st.session_state['df_original']
|
| 30 |
-
df = df_original.copy()
|
| 31 |
-
st.session_state.df = df
|
| 32 |
-
st.experimental_rerun()
|
| 33 |
-
df = st.session_state['df']
|
| 34 |
-
missing_values = df.isnull().sum().to_frame(name='Missing Values')
|
| 35 |
-
missing_values['Data Type'] = df.dtypes
|
| 36 |
-
missing_values['% Missing'] = round(missing_values['Missing Values'] / df.shape[0] * 100, 2)
|
| 37 |
-
missing_values['Categorical / Numerical'] = ['Categorical' if x == 'object' else 'Numerical' for x in missing_values['Data Type']]
|
| 38 |
-
st.dataframe(missing_values[missing_values['Missing Values'] > 0])
|
| 39 |
-
# deal with missing values only if there are missing values
|
| 40 |
-
if missing_values['Missing Values'].sum() > 0:
|
| 41 |
-
if st.checkbox('Fill missing values'):
|
| 42 |
-
st.subheader('Fill missing values')
|
| 43 |
-
st.write('Select the column and the method to fill the missing values')
|
| 44 |
-
column = st.selectbox('Select the column', missing_values[missing_values['Missing Values'] > 0].index)
|
| 45 |
-
# check if the column is categorical or numerical
|
| 46 |
-
if missing_values.loc[column, 'Categorical / Numerical'] == 'Numerical':
|
| 47 |
-
method = st.selectbox('Select the method', ['Mean', 'Median'])
|
| 48 |
-
else:
|
| 49 |
-
method = st.selectbox('Select the method', ['Mode'])
|
| 50 |
-
# create a button to fill the missing values
|
| 51 |
-
if st.button('Fill missing values'):
|
| 52 |
-
if method == 'Mean':
|
| 53 |
-
df = missing_values_num_mean(df, column)
|
| 54 |
-
elif method == 'Median':
|
| 55 |
-
df = missing_values_num_median(df, column)
|
| 56 |
-
elif method == 'Mode':
|
| 57 |
-
df = missing_values_cat_mode(df, column)
|
| 58 |
-
elif method == 'Drop column':
|
| 59 |
-
df = drop_columns(df, [column])
|
| 60 |
-
st.dataframe(df.head())
|
| 61 |
-
st.session_state.df = df
|
| 62 |
-
st.success('Missing values filled')
|
| 63 |
-
st.experimental_rerun()
|
| 64 |
else:
|
| 65 |
-
st.
|
| 66 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
def drop_columns(df, columns):
|
| 20 |
df.drop(columns, axis=1, inplace=True)
|
| 21 |
return df
|
| 22 |
+
st.set_page_config(layout='wide')
|
| 23 |
+
col1, col2, col3 = st.columns([15, 70, 15])
|
| 24 |
|
| 25 |
+
with col1:
|
| 26 |
+
st.write('')
|
| 27 |
+
with col2:
|
| 28 |
+
if 'df' not in st.session_state:
|
| 29 |
+
st.warning('Please upload a CSV file')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
else:
|
| 31 |
+
st.header('Missing Values')
|
| 32 |
+
if st.button('Reload data'):
|
| 33 |
+
st.write('Reloading data...')
|
| 34 |
+
df_original = st.session_state['df_original']
|
| 35 |
+
df = df_original.copy()
|
| 36 |
+
st.session_state.df = df
|
| 37 |
+
st.experimental_rerun()
|
| 38 |
+
df = st.session_state['df']
|
| 39 |
+
missing_values = df.isnull().sum().to_frame(name='Missing Values')
|
| 40 |
+
missing_values['Data Type'] = df.dtypes
|
| 41 |
+
missing_values['% Missing'] = round(missing_values['Missing Values'] / df.shape[0] * 100, 2)
|
| 42 |
+
missing_values['Categorical / Numerical'] = ['Categorical' if x == 'object' else 'Numerical' for x in missing_values['Data Type']]
|
| 43 |
+
st.dataframe(missing_values[missing_values['Missing Values'] > 0])
|
| 44 |
+
# deal with missing values only if there are missing values
|
| 45 |
+
if missing_values['Missing Values'].sum() > 0:
|
| 46 |
+
if st.checkbox('Fill missing values'):
|
| 47 |
+
st.subheader('Fill missing values')
|
| 48 |
+
st.write('Select the column and the method to fill the missing values')
|
| 49 |
+
column = st.selectbox('Select the column', missing_values[missing_values['Missing Values'] > 0].index)
|
| 50 |
+
# check if the column is categorical or numerical
|
| 51 |
+
if missing_values.loc[column, 'Categorical / Numerical'] == 'Numerical':
|
| 52 |
+
method = st.selectbox('Select the method', ['Mean', 'Median'])
|
| 53 |
+
else:
|
| 54 |
+
method = st.selectbox('Select the method', ['Mode'])
|
| 55 |
+
# create a button to fill the missing values
|
| 56 |
+
if st.button('Fill missing values'):
|
| 57 |
+
if method == 'Mean':
|
| 58 |
+
df = missing_values_num_mean(df, column)
|
| 59 |
+
elif method == 'Median':
|
| 60 |
+
df = missing_values_num_median(df, column)
|
| 61 |
+
elif method == 'Mode':
|
| 62 |
+
df = missing_values_cat_mode(df, column)
|
| 63 |
+
elif method == 'Drop column':
|
| 64 |
+
df = drop_columns(df, [column])
|
| 65 |
+
st.dataframe(df.head())
|
| 66 |
+
st.session_state.df = df
|
| 67 |
+
st.success('Missing values filled')
|
| 68 |
+
st.experimental_rerun()
|
| 69 |
+
else:
|
| 70 |
+
st.success('There are no missing values')
|
| 71 |
+
st.balloons()
|
| 72 |
+
with col3:
|
| 73 |
+
st.write('')
|
pages/05-Auto-Scaling.py
CHANGED
|
@@ -7,26 +7,33 @@ def standard_scaler(df, columns):
|
|
| 7 |
scaler = StandardScaler()
|
| 8 |
df[columns] = scaler.fit_transform(df[columns])
|
| 9 |
return df
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
|
| 12 |
-
st.
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
# Select the columns to scale only if there are numerical columns
|
| 24 |
-
if df.select_dtypes(include='number').shape[1] > 0:
|
| 25 |
-
st.subheader('Scale numerical columns')
|
| 26 |
-
st.write('Select the columns to scale')
|
| 27 |
-
columns = st.multiselect('Select the columns to scale', df.columns)
|
| 28 |
-
# Create a button to scale the data
|
| 29 |
-
if st.button('Scale'):
|
| 30 |
-
df = standard_scaler(df, columns)
|
| 31 |
st.experimental_rerun()
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
scaler = StandardScaler()
|
| 8 |
df[columns] = scaler.fit_transform(df[columns])
|
| 9 |
return df
|
| 10 |
+
st.set_page_config(layout='wide')
|
| 11 |
+
col1, col2, col3 = st.columns([15, 70, 15])
|
| 12 |
|
| 13 |
+
with col1:
|
| 14 |
+
st.write('')
|
| 15 |
+
with col2:
|
| 16 |
+
if 'df' not in st.session_state:
|
| 17 |
+
st.warning('Please upload a CSV file')
|
| 18 |
+
else:
|
| 19 |
+
st.header('Missing Values')
|
| 20 |
+
if st.button('Reload data'):
|
| 21 |
+
st.write('Reloading data...')
|
| 22 |
+
df_original = st.session_state['df_original']
|
| 23 |
+
df = df_original.copy()
|
| 24 |
+
st.session_state.df = df
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
st.experimental_rerun()
|
| 26 |
+
df = st.session_state['df']
|
| 27 |
+
st.dataframe(df.head())
|
| 28 |
+
# Select the columns to scale only if there are numerical columns
|
| 29 |
+
if df.select_dtypes(include='number').shape[1] > 0:
|
| 30 |
+
st.subheader('Scale numerical columns')
|
| 31 |
+
st.write('Select the columns to scale')
|
| 32 |
+
columns = st.multiselect('Select the columns to scale', df.columns)
|
| 33 |
+
# Create a button to scale the data
|
| 34 |
+
if st.button('Scale'):
|
| 35 |
+
df = standard_scaler(df, columns)
|
| 36 |
+
st.experimental_rerun()
|
| 37 |
+
st.success('Successfully scaled')
|
| 38 |
+
with col3:
|
| 39 |
+
st.write('')
|
pages/06-Enconding.py
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pandas as pd
|
| 2 |
+
import streamlit as st
|
| 3 |
+
from sklearn.preprocessing import LabelEncoder
|
| 4 |
+
from sklearn.preprocessing import OneHotEncoder
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
st.set_page_config(layout='wide')
|
| 8 |
+
col1, col2, col3 = st.columns([15, 70, 15])
|
| 9 |
+
|
| 10 |
+
with col1:
|
| 11 |
+
st.write('')
|
| 12 |
+
with col2:
|
| 13 |
+
if 'df' not in st.session_state:
|
| 14 |
+
st.warning('Please upload a CSV file')
|
| 15 |
+
else:
|
| 16 |
+
st.header('Encoding')
|
| 17 |
+
if st.button('Reload data'):
|
| 18 |
+
st.write('Reloading data...')
|
| 19 |
+
df_original = st.session_state['df_original']
|
| 20 |
+
df = df_original.copy()
|
| 21 |
+
st.session_state.df = df
|
| 22 |
+
st.experimental_rerun()
|
| 23 |
+
df = st.session_state['df']
|
| 24 |
+
st.dataframe(df.head())
|
| 25 |
+
# select columns that is categorical
|
| 26 |
+
columns = df.select_dtypes(include=['object', 'bool']).columns
|
| 27 |
+
# add integer columns that has more than 2 unique values
|
| 28 |
+
for col in df.select_dtypes(include=['int64']).columns:
|
| 29 |
+
if df[col].nunique() > 2:
|
| 30 |
+
columns = columns.append(pd.Index([col]))
|
| 31 |
+
selected_columns = st.multiselect('Select the columns', columns)
|
| 32 |
+
if len(selected_columns) > 0:
|
| 33 |
+
select_encoding = st.selectbox('Select the encoding', ['Label Encoding', 'One Hot Encoding'])
|
| 34 |
+
if st.button('Encode'):
|
| 35 |
+
if select_encoding == 'Label Encoding':
|
| 36 |
+
le = LabelEncoder()
|
| 37 |
+
df[selected_columns] = df[selected_columns].apply(lambda col: le.fit_transform(col)).astype(int)
|
| 38 |
+
st.session_state.df = df
|
| 39 |
+
st.experimental_rerun()
|
| 40 |
+
elif select_encoding == 'One Hot Encoding':
|
| 41 |
+
ohe = OneHotEncoder()
|
| 42 |
+
selected_columns_2d = df[selected_columns].values.reshape(-1, 1)
|
| 43 |
+
encoded_columns = ohe.fit_transform(selected_columns_2d).toarray()
|
| 44 |
+
categories = [df[col].unique() for col in selected_columns]
|
| 45 |
+
new_columns = [f"{col}_{cat}" for col, cats in zip(selected_columns, categories) for cat in cats]
|
| 46 |
+
encoded_df = pd.DataFrame(encoded_columns, columns=new_columns)
|
| 47 |
+
encoded_df = encoded_df.astype(int)
|
| 48 |
+
df_new = pd.concat([df, encoded_df], axis=1)
|
| 49 |
+
df = df_new.drop(columns=selected_columns).copy()
|
| 50 |
+
st.session_state.df = df
|
| 51 |
+
st.experimental_rerun()
|
| 52 |
+
with col3:
|
| 53 |
+
st.write('')
|
pages/07-Select_Target.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import pandas as pd
|
| 3 |
+
|
| 4 |
+
st.set_page_config(layout='wide')
|
| 5 |
+
col1, col2, col3 = st.columns([15, 70, 15])
|
| 6 |
+
|
| 7 |
+
with col1:
|
| 8 |
+
st.write('')
|
| 9 |
+
with col2:
|
| 10 |
+
if 'df' not in st.session_state:
|
| 11 |
+
st.warning('Please upload a CSV file')
|
| 12 |
+
else:
|
| 13 |
+
st.header('Select the Target')
|
| 14 |
+
if st.button('Reload data'):
|
| 15 |
+
st.write('Reloading data...')
|
| 16 |
+
df_original = st.session_state['df_original']
|
| 17 |
+
df = df_original.copy()
|
| 18 |
+
st.session_state.df = df
|
| 19 |
+
st.experimental_rerun()
|
| 20 |
+
df = st.session_state['df']
|
| 21 |
+
st.dataframe(df.head())
|
| 22 |
+
if 'df_target' in st.session_state:
|
| 23 |
+
st.subheader('Target')
|
| 24 |
+
df_target = st.session_state['df_target']
|
| 25 |
+
st.dataframe(df[df_target].head())
|
| 26 |
+
|
| 27 |
+
columns = df.columns
|
| 28 |
+
selected_columns = st.selectbox('Select the target', columns)
|
| 29 |
+
if st.button('Select'):
|
| 30 |
+
df_target = selected_columns
|
| 31 |
+
st.session_state['df_target'] = df_target
|
| 32 |
+
with col3:
|
| 33 |
+
st.write('')
|
pages/08-Machine_Learning.py
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pandas as pd
|
| 2 |
+
import streamlit as st
|
| 3 |
+
from sklearn.tree import DecisionTreeClassifier
|
| 4 |
+
from sklearn.ensemble import RandomForestClassifier
|
| 5 |
+
from sklearn.linear_model import LogisticRegression
|
| 6 |
+
from sklearn.neighbors import KNeighborsClassifier
|
| 7 |
+
from sklearn.svm import SVC
|
| 8 |
+
from tqdm import tqdm
|
| 9 |
+
from sklearn.model_selection import RandomizedSearchCV
|
| 10 |
+
import time
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
def grafbarscores(*scores):
|
| 14 |
+
import matplotlib.pyplot as plt
|
| 15 |
+
import seaborn as sns
|
| 16 |
+
import warnings
|
| 17 |
+
|
| 18 |
+
warnings.filterwarnings("ignore")
|
| 19 |
+
df_scores = pd.DataFrame(columns=["Model", "Score"])
|
| 20 |
+
for score in scores:
|
| 21 |
+
df_scores.loc[len(df_scores)] = [score[0], score[1]]
|
| 22 |
+
# fig, ax = plt.subplots()
|
| 23 |
+
# sns.barplot(x='Score', y='Model', data=df_scores.sort_values(by='Score', ascending=False), ax=ax)
|
| 24 |
+
# ax.set_xlim([0, 1])
|
| 25 |
+
# for p in ax.patches:
|
| 26 |
+
# ax.annotate("%.4f" % p.get_width(), (p.get_x() + p.get_width(), p.get_y()+0.65), xytext=(5, 10), textcoords='offset points')
|
| 27 |
+
# plt.xlabel('Score (accuracy)')
|
| 28 |
+
# plt.ylabel('Model')
|
| 29 |
+
# plt.title('Machine Learning Model Scores')
|
| 30 |
+
# plt.show()
|
| 31 |
+
st.bar_chart(df_scores.sort_values(by="Score", ascending=False).set_index("Model"))
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
grid_dt = {
|
| 35 |
+
"criterion": ["gini", "entropy"],
|
| 36 |
+
"splitter": ["best", "random"],
|
| 37 |
+
"max_depth": [2 * n for n in range(1, 10)],
|
| 38 |
+
"max_features": ["sqrt"],
|
| 39 |
+
"min_samples_leaf": [1, 2, 4],
|
| 40 |
+
"min_samples_split": [2, 5, 10],
|
| 41 |
+
}
|
| 42 |
+
grid_rf = {
|
| 43 |
+
"n_estimators": [100, 200, 300, 400, 500],
|
| 44 |
+
"criterion": ["gini", "entropy"],
|
| 45 |
+
"max_depth": [2 * n for n in range(1, 10)],
|
| 46 |
+
"max_features": ["sqrt"],
|
| 47 |
+
"min_samples_leaf": [1, 2, 4],
|
| 48 |
+
"min_samples_split": [2, 5, 10],
|
| 49 |
+
}
|
| 50 |
+
grid_lr = {
|
| 51 |
+
"penalty": ["l1", "l2"],
|
| 52 |
+
"C": [0.1, 1, 10],
|
| 53 |
+
"solver": ["newton-cg", "lbfgs"],
|
| 54 |
+
}
|
| 55 |
+
grid_knn = {
|
| 56 |
+
"n_neighbors": [2 * n for n in range(1, 10)],
|
| 57 |
+
"weights": ["uniform", "distance"],
|
| 58 |
+
"algorithm": ["ball_tree", "kd_tree", "brute"],
|
| 59 |
+
}
|
| 60 |
+
grid_svm = {"C": [0.1, 1, 10], "kernel": ["linear", "sigmoid"], "gamma": ["scale"]}
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
st.set_page_config(layout="wide")
|
| 64 |
+
col1, col2, col3 = st.columns([15, 70, 15])
|
| 65 |
+
|
| 66 |
+
with col1:
|
| 67 |
+
st.write("")
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
with col2:
|
| 71 |
+
if "df" not in st.session_state:
|
| 72 |
+
st.warning("Please upload a CSV file")
|
| 73 |
+
else:
|
| 74 |
+
st.header("Machine Learning App")
|
| 75 |
+
if st.button("Reload data"):
|
| 76 |
+
st.write("Reloading data...")
|
| 77 |
+
df_original = st.session_state["df_original"]
|
| 78 |
+
df = df_original.copy()
|
| 79 |
+
st.session_state.df = df
|
| 80 |
+
st.experimental_rerun()
|
| 81 |
+
df = st.session_state["df"]
|
| 82 |
+
st.dataframe(df.head())
|
| 83 |
+
# check if target exists to start model training and alredy encoded
|
| 84 |
+
if "df_target" in st.session_state:
|
| 85 |
+
st.subheader("Target")
|
| 86 |
+
df_target = st.session_state["df_target"]
|
| 87 |
+
st.dataframe(df[df_target].head())
|
| 88 |
+
# check if target is already encoded
|
| 89 |
+
if df[df_target].dtype in ["int64"]:
|
| 90 |
+
if df.isnull().sum().sum() == 0:
|
| 91 |
+
st.success("Data is ready for model training")
|
| 92 |
+
if st.button("Train models"):
|
| 93 |
+
dt = DecisionTreeClassifier()
|
| 94 |
+
rf = RandomForestClassifier()
|
| 95 |
+
lr = LogisticRegression()
|
| 96 |
+
knn = KNeighborsClassifier()
|
| 97 |
+
svm = SVC()
|
| 98 |
+
gridcv_dt = RandomizedSearchCV(
|
| 99 |
+
dt, grid_dt, cv=5, scoring="accuracy", n_jobs=-1
|
| 100 |
+
)
|
| 101 |
+
gridcv_lr = RandomizedSearchCV(
|
| 102 |
+
lr, grid_lr, cv=5, scoring="accuracy", n_jobs=-1
|
| 103 |
+
)
|
| 104 |
+
gridcv_knn = RandomizedSearchCV(
|
| 105 |
+
knn,
|
| 106 |
+
grid_knn,
|
| 107 |
+
cv=5,
|
| 108 |
+
scoring="accuracy",
|
| 109 |
+
n_jobs=-1,
|
| 110 |
+
verbose=1,
|
| 111 |
+
)
|
| 112 |
+
gridcv_svm = RandomizedSearchCV(
|
| 113 |
+
svm,
|
| 114 |
+
grid_svm,
|
| 115 |
+
cv=5,
|
| 116 |
+
scoring="accuracy",
|
| 117 |
+
n_jobs=-1,
|
| 118 |
+
verbose=1,
|
| 119 |
+
)
|
| 120 |
+
models = []
|
| 121 |
+
models.append(('Decision Tree', gridcv_dt))
|
| 122 |
+
models.append(('Logistic Regression', gridcv_lr))
|
| 123 |
+
models.append(("KNN", gridcv_knn))
|
| 124 |
+
#models.append(("SVM", gridcv_svm))
|
| 125 |
+
results = []
|
| 126 |
+
names = []
|
| 127 |
+
desc = "Machine Learning Model Scores"
|
| 128 |
+
# criar um for usando tqdm para mostrar o progresso
|
| 129 |
+
i = 0
|
| 130 |
+
total = len(models)
|
| 131 |
+
# do not run in parallel
|
| 132 |
+
for name, model in tqdm(models, desc=desc, total=total):
|
| 133 |
+
init_time = time.time()
|
| 134 |
+
st.write(f"{name} training...")
|
| 135 |
+
model.fit(df.drop(df_target, axis=1), df[df_target])
|
| 136 |
+
result = model.score(
|
| 137 |
+
df.drop(df_target, axis=1), df[df_target]
|
| 138 |
+
)
|
| 139 |
+
end_time = time.time()
|
| 140 |
+
st.write(
|
| 141 |
+
f"{name} trained - {round(end_time-init_time, 2)} seconds"
|
| 142 |
+
)
|
| 143 |
+
results.append(result)
|
| 144 |
+
names.append(name)
|
| 145 |
+
|
| 146 |
+
st.success("Models trained")
|
| 147 |
+
st.subheader("Scores")
|
| 148 |
+
|
| 149 |
+
st.write(grafbarscores(*zip(names, results)))
|
| 150 |
+
else:
|
| 151 |
+
st.warning(
|
| 152 |
+
"Data is not ready for model training. Still missing values"
|
| 153 |
+
)
|
| 154 |
+
else:
|
| 155 |
+
st.warning(
|
| 156 |
+
"Data is not ready for model training. Target is not encoded"
|
| 157 |
+
)
|
pages/10-Select_Target.py
DELETED
|
@@ -1,10 +0,0 @@
|
|
| 1 |
-
import streamlit as st
|
| 2 |
-
import pandas as pd
|
| 3 |
-
target_variable = st.selectbox('Select the target variable', df.columns)
|
| 4 |
-
if st.button('Next'):
|
| 5 |
-
df_feature = df.drop(target_variable, axis=1)
|
| 6 |
-
df_target = df[target_variable]
|
| 7 |
-
st.session_state.feature_dataframe = target_variable
|
| 8 |
-
st.session_state.target_variable = target_variable
|
| 9 |
-
st.experimental_rerun()
|
| 10 |
-
ßst.success('Target variable selected successfully')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -2,4 +2,5 @@ streamlit
|
|
| 2 |
pandas
|
| 3 |
matplotlib
|
| 4 |
seaborn
|
| 5 |
-
scikit-learn
|
|
|
|
|
|
| 2 |
pandas
|
| 3 |
matplotlib
|
| 4 |
seaborn
|
| 5 |
+
scikit-learn
|
| 6 |
+
pycaret
|