File size: 302 Bytes
8e6acc8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#import the libraries for this app
import pickle
import pandas as pd
import shapfrom shap.plots._force_matplot import draw_additive_plot
import gradio as gr
import numpy as np
import matplotlib.py as plt
loaded_model =
explainer = shap.Explainer(loaded_model)
#Create the main function for server |