Skip to content

tree decision model by EJARA WORKU#46

Open
ejara42 wants to merge 4 commits intosoftwareWCU:mainfrom
ejara42:master
Open

tree decision model by EJARA WORKU#46
ejara42 wants to merge 4 commits intosoftwareWCU:mainfrom
ejara42:master

Conversation

@ejara42
Copy link
Copy Markdown

@ejara42 ejara42 commented Nov 26, 2025

EDA: shows structure, missing values, basic stats so you understand the dataset.

Target selection: automatically chooses a target column, but you can override.

Preprocessing: numeric imputation (median), categorical imputation + one-hot encoding.

Train/test split: hold out 20% for final evaluation; stratify if classification.

Baseline model: Decision Tree pipeline trained with default params.

Evaluation: accuracy/MSE, confusion matrix, classification report.

Cross-validation: quick 5-fold check.

Hyperparameter search: GridSearchCV to improve the tree.

Visualization: plot top levels of the tree and print important features.

Save: persist model and evaluation to model_artifacts, and optionally copy to Drive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant