Created
January 16, 2022 18:18
-
-
Save shaypal5/8e2521dc6a9e530995ce15fb98ccf1b1 to your computer and use it in GitHub Desktop.
Deepchecks Phishing URLs Example: First Train Test Validation Suite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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