Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The check drift functions doesn`t generate a drift report file using the evidently library[BUG]: #3990

Open
3 tasks done
JuanBaldemarG opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JuanBaldemarG
Copy link

pycaret version checks

Issue Description

The check drift functions doesn`t generate a drift report file using the evidently library

Reproducible Example

import pandas as pd
df=pd.read_csv('iris.csv')
print(df.head())

df.head()

df_train =df.sample(frac=.7, random_state=786)

df_train.shape

df_train.head()

df.test = df.drop(df_train.index)

df.test.shape

df.test.head()

df_train.reset_index(drop=True, inplace=True)

df_train.head()

from pycaret.classification import*

clas = setup(data=df_train,
            target = "iris", normalize = True, remove_outliers = True,
            session_id=123)

best = compare_models()

rf = create_model('rf')

tuned_rf = tune_model(rf)

evaluate_model(rf)

predict_model(tuned_rf)

check_drift(reference_data = df.head(500), current_data = df.tail(500), target = 'iris')

Expected Behavior

image

THIS IS THE CORRECT REPORT..

Actual Results

{ "id": "0b1b12bd-0ee3-4b6e-8ec5-1de924a6e87b", "name": null, "timestamp": "2024-05-10T14:02:48.821064", "metadata": {}, "tags": [], "suite": { "metrics": [], "metric_results": [], "tests": [], "test_results": [], "options": { "color": null, "render": null, "custom": {} }, "data_definition": null }, "metrics_ids": [], "test_ids": [], "options": { "color": null, "render": null, "custom": {} } }

NO SHOW THE CORRECT REPORT... IS THE OUTPUT INCORRECT.

Installed Versions

PYCARET 3.3.2

@JuanBaldemarG JuanBaldemarG added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant