import pandas as pd
import numpy as np
import shap
import lightgbm as lgbm
from sklearn.model_selection import train_test_split
from sklearn.datasets import load_breast_cancer
from scipy.special import expit
shap.initjs()= load_breast_cancer()
data = pd.DataFrame(data.data, columns=data.feature_names)
X = data.target
y = train_test_split(X, y, test_size=0.2, random_state=42) X_train, X_test, y_train, y_test
IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html