File size: 481 Bytes
abeddbf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from explainit.app import build
import pandas as pd
ref_data = pd.read_csv("https://raw.githubusercontent.com/katonic-dev/explainit/master/examples/data/reference_data.csv", index_col=None)
prod_data = pd.read_csv("https://raw.githubusercontent.com/katonic-dev/explainit/master/examples/data/production_data.csv", index_col=None)
build(
reference_data=ref_data,
production_data=prod_data,
target_col_name="bad_loan",
target_col_type="cat",
host="0.0.0.0",
port=7860
) |