Enter a single student's details or upload a CSV to predict dropout risk. Results are ranked by risk and can be exported for follow-up.
Validate inputs and get an immediate risk prediction.
Process multiple students at once with row-level error feedback.
See highest-risk students first to prioritize intervention.
Download predictions as CSV for sharing or analysis.
param_dist = {
'n_estimators': randint(100, 500),
'max_depth': randint(3, 15),
'min_samples_split': randint(2, 10),
'min_samples_leaf': randint(1, 5)
}
# Create a random forest classifier
rf = RandomForestClassifier(random_state=42, n_jobs=-1)
# Use random search to find the best hyperparameters
rand_search = RandomizedSearchCV(
rf, param_distributions=param_dist,
n_iter=10, cv=5, scoring='accuracy',
n_jobs=-1, random_state=42