Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shaypal5/064b119a95e7ed88aea153a281162ccd to your computer and use it in GitHub Desktop.
Save shaypal5/064b119a95e7ed88aea153a281162ccd to your computer and use it in GitHub Desktop.
Deepchecks Phishing URLs Example: Gradient Boosting Model Evaluation
from sklearn.ensemble import GradientBoostingClassifier
model = GradientBoostingClassifier(n_estimators=250, random_state=SEED, max_depth=20, subsample=0.8 , loss='exponential')
model.fit(train_X, train_y)
msuite.run(model=model, train_dataset=ds_train, test_dataset=ds_test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment