How shaiknawazshareef/random-forest-classification-using-machine-learning works
This is a small, script-driven car-acceptability classification project. The user runs the script, which loads and inspects the CSV, splits the data, encodes categorical inputs, and trains and evaluates a random forest. It then visualizes feature importance and repeats the experiment without the doors feature, reporting a confusion matrix and classification report. These responsibilities are implemented in one Python file, so the graph separates workflow stages rather than implying a larger service architecture.
Main entry points: random_forest_classifier.py Workflow Orchestrator · car_evaluation.csv Car Evaluation CSV
Components 11
Dataset
- Car Evaluation CSV
car_evaluation.csv
Classification Workflow
- Workflow Orchestrator
random_forest_classifier.py - Load and Inspect
random_forest_classifier.py - Ordinal Encoding
random_forest_classifier.py - Train-Test Split
random_forest_classifier.py - Random Forest
random_forest_classifier.py
Evaluation and Analysis
- Feature Importance
random_forest_classifier.py - Without Doors
random_forest_classifier.py - Evaluation Metrics
random_forest_classifier.py - Importance Plot
random_forest_classifier.py
Other components
- Project Runner
Connections 13
- Project Runner → Workflow Orchestrator: runs
random_forest_classifier.py - Workflow Orchestrator → Load and Inspect: calls
random_forest_classifier.py - Load and Inspect → Car Evaluation CSV: reads
random_forest_classifier.py - Workflow Orchestrator → Train-Test Split: splits data
random_forest_classifier.py - Workflow Orchestrator → Ordinal Encoding: encodes features
random_forest_classifier.py - Workflow Orchestrator → Random Forest: trains and predicts
random_forest_classifier.py - Workflow Orchestrator → Feature Importance: computes
random_forest_classifier.py - Workflow Orchestrator → Importance Plot: renders
random_forest_classifier.py - Workflow Orchestrator → Without Doors: runs
random_forest_classifier.py - Without Doors → Train-Test Split: splits data
random_forest_classifier.py - Without Doors → Ordinal Encoding: encodes features
random_forest_classifier.py - Without Doors → Random Forest: trains and predicts
random_forest_classifier.py - Without Doors → Evaluation Metrics: computes
random_forest_classifier.py