Skip to content

Instantly share code, notes, and snippets.

@shaypal5
Created January 16, 2022 18:18
Show Gist options
  • Save shaypal5/8e2521dc6a9e530995ce15fb98ccf1b1 to your computer and use it in GitHub Desktop.
Save shaypal5/8e2521dc6a9e530995ce15fb98ccf1b1 to your computer and use it in GitHub Desktop.
Deepchecks Phishing URLs Example: First Train Test Validation Suite
from deepchecks.suites import train_test_validation
vsuite = train_test_validation()
ds_train = deepchecks.Dataset(df=train_X, label=train_y, set_datetime_from_dataframe_index=True, cat_features=[])
ds_test = deepchecks.Dataset(df=test_X, label=test_y, set_datetime_from_dataframe_index=True, cat_features=[])
vsuite.run(model=logreg, 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