Note
Click here to download the full example code
New Label#
import pandas as pd
from deepchecks.tabular import Dataset
from deepchecks.tabular.checks import NewLabelTrainTest
classification_label value for label type is deprecated, allowed task types are multiclass, binary and regression.
classification_label value for label type is deprecated, allowed task types are multiclass, binary and regression.
test_data = {"col1": ["a", "b", "a", "c"] * 10, "col2": [1,2,2,3]*10}
val_data = {"col1": ["a","b","d"] * 10, "col2": [1, 4, 5]*10}
test = Dataset(pd.DataFrame(data=test_data), label="col2", label_type="classification_label")
val = Dataset(pd.DataFrame(data=val_data), label="col2", label_type="classification_label")
classification_label value for label type is deprecated, allowed task types are multiclass, binary and regression.
classification_label value for label type is deprecated, allowed task types are multiclass, binary and regression.
NewLabelTrainTest().run(test, val)
Total running time of the script: ( 0 minutes 0.036 seconds)