Baseline Model trained on adulto08f_j_q to apply classification on age
Metrics of the best model:
accuracy 0.053776
recall_macro 0.058874
precision_macro 0.038010
f1_macro 0.036333
Name: LogisticRegression(C=0.1, class_weight='balanced', max_iter=1000), dtype: float64
See model plot below:
Pipeline(steps=[('easypreprocessor',EasyPreprocessor(types= continuous dirty_float ... free_string uselessIn a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.workclass False False ... False False fnlwgt True False ... False False education False False ... False False education.num False False ... False False marital.status False False ... False False occupation False False ... False False relationship False False ... False False race False False ... False False sex False False ... False False capital.gain False False ... False False hours.per.week False False ... False False native.country False False ... False False income False False ... False False[13 rows x 7 columns])),('logisticregression',LogisticRegression(C=0.1, class_weight='balanced',max_iter=1000))])
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
Pipeline(steps=[('easypreprocessor',EasyPreprocessor(types= continuous dirty_float ... free_string useless workclass False False ... False False fnlwgt True False ... False False education False False ... False False education.num False False ... False False marital.status False False ... False False occupation False False ... False False relationship False False ... False False race False False ... False False sex False False ... False False capital.gain False False ... False False hours.per.week False False ... False False native.country False False ... False False income False False ... False False[13 rows x 7 columns])),('logisticregression',LogisticRegression(C=0.1, class_weight='balanced',max_iter=1000))])
EasyPreprocessor(types= continuous dirty_float ... free_string useless workclass False False ... False False fnlwgt True False ... False False education False False ... False False education.num False False ... False False marital.status False False ... False False occupation False False ... False False relationship False False ... False False race False False ... False False sex False False ... False False capital.gain False False ... False False hours.per.week False False ... False False native.country False False ... False False income False False ... False False[13 rows x 7 columns])
LogisticRegression(C=0.1, class_weight='balanced', max_iter=1000)
Disclaimer: This model is trained with dabl library as a baseline, for better results, use AutoTrain.
Logs of training including the models tried in the process can be found in logs.txt
- Downloads last month
- 0