معرفی شرکت ها


fast-explain-0.0.91


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Fit Fast, Explain Fast
ویژگی مقدار
سیستم عامل -
نام فایل fast-explain-0.0.91
نام fast-explain
نسخه کتابخانه 0.0.91
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Felix Zhu
ایمیل نویسنده zhu.felix@outlook.com
آدرس صفحه اصلی https://github.com/felixzhu17/FastExplain
آدرس اینترنتی https://pypi.org/project/fast-explain/
مجوز MIT
# FastExplain > Fit Fast, Explain Fast ## Installing ``` pip install fast-explain ``` ## Clean Data, Fit ML Models and Explore Results all in one line. FastExplain provides an **out-of-the-box** tool for analysts to **quickly explore data**, **train and interpret models**, with **flexibility to fine-tune** if needed. - **Automated cleaning and fitting** of machine learning models with hyperparameter search - **Aesthetic display** of explanatory methods ready for reporting - **Connected interface** for all data, models and related explanatory methods ## Quickstart [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/felixzhu17/FastExplain/blob/main/demos/FastExplain%20Titanic%20Quickstart.ipynb) ### Automated Cleaning and Fitting ``` python from FastExplain import * df = load_titanic_data() classification = model_data(df, dep_var="Survived", model="ebm") ``` ### Aesthetic Display ``` python feature_correlation(classification.data.df) ``` <img alt="Feature Correlation" src="images/feature_correlation.png"> ``` python plot_one_way_analysis(classification.data.df, "Age", "Survived", filter = "Sex == 1") ``` <img alt="One Way" src="images/one_way.png"> ``` python plot_ebm_explain(classification.m, classification.data.df, "Age") ``` <img alt="EBM" src="images/ebm.png"> ``` python plot_ale(classification.m, classification.data.xs, "Age", filter = "Sex == 1", dep_name = "Survived") ``` <img alt="ALE" src="images/ALE.png"> ``` python classification_1 = model_data(df, dep_var="Survived", model="rf", hypertune=True, cont_names=['Age'], cat_names = [], hypertune=True) models = [classification.m, classification_1.m] data = [classification.data.xs, classification_1.data.xs] plot_ale(models, data, 'Age', dep_name = "Survived") ``` <img alt="multi_ALE" src="images/multi_ALE.png"> ### Connected Interface ``` python classification_1.plot_one_way_analysis("Age", filter = "Sex == 1") classification_1.plot_ale("Age", filter = "Sex == 1") ``` ``` python classification_1.shap_dependence_plot("Age", filter = "Sex == 1") ``` <img alt="SHAP" src="images/shap.png"> ``` python classification_1.error # {'auc': {'model': {'train': 0.9934332941166654, # 'val': 0.8421607378129118, # 'overall': 0.9665739941840028}}, # 'cross_entropy': {'model': {'train': 0.19279692001978943, # 'val': 0.4600233891109683, # 'overall': 0.24648214781700722}}} ``` ## Models Supported - Random Forest - XGBoost - Explainable Boosting Machine - ANY Model Class with *fit* and *predict* attributes ``` python pip install lightgbm ``` ``` python from lightgbm import LGBMClassifier custom_model = model_data(df, 'Survived', model=LGBMClassifier) custom_model.plot_ale("Age") custom_model.shap_dependence_plot("Age") ``` ## Exploratory Methods Supported: - One-way Analysis - Two-way Analysis - Feature Importance Plots - ALE Plots - Explainable Boosting Methods - SHAP Values - Partial Dependence Plots - Sensitivity Analysis


نیازمندی

مقدار نام
- interpret
- pandas
- plotly
- scikit-learn
- scipy
- plotly-express
- xgboost
- statsmodels
==0.40.0 shap
==1.21 numpy
- pytest
- hyperopt
- setuptools-git
==5.1 tornado


نحوه نصب


نصب پکیج whl fast-explain-0.0.91:

    pip install fast-explain-0.0.91.whl


نصب پکیج tar.gz fast-explain-0.0.91:

    pip install fast-explain-0.0.91.tar.gz