Skip to content

Releases: franckess/AzureML_Capstone

Boruta_model_pkl_final

05 Apr 04:58
Compare
Choose a tag to compare
Pre-release
# define random forest classifier
forest = RandomForestClassifier(n_jobs=-1, class_weight='balanced', max_depth = 3)
forest.fit(X, Y)

# define Boruta feature selection method
feat_selector = BorutaPy(forest, n_estimators='auto', verbose=0, random_state=1)

model_path = os.path.join("./output/", 'boruta_model_2.pkl')
joblib.dump(feat_selector, model_path)

Boruta_model_pkl

03 Apr 12:09
Compare
Choose a tag to compare
Boruta_model_pkl Pre-release
Pre-release

Trained Boruta model for feature selection