Py之toad:toad的简介、安装、使用方法之详细攻略

Py之toad:toad的简介、安装、使用方法之详细攻略

目录

toad的简介

toad的安装

toad的使用方法


toad的简介

        toad ,它是由厚本金融风控团队内部孵化开源的评分卡库。它是专为工业界模型开发设计的Python工具包,特别针对评分卡的开发。Toad 的功能覆盖了建模全流程,从 EDA、特征工程、特征筛选 到 模型验证和评分卡转化。Toad 的主要功能极大简化了建模中最重要最费时的流程,即特征筛选和分箱。

toad的安装

pip install toad
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple toad
C:\Users\Administrator>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple toad
WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting toad
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a6/54/35534b36fe37c701d773b2f5ccea984f1f0eea8ccc27935a5b8911d2f867/toad-0.1.0.tar.gz (14.0 MB)
     |████████████████████████████████| 14.0 MB 939 kB/s
  Preparing metadata (setup.py) ... done
Requirement already satisfied: setuptools in e:\program files\python\python36\lib\site-packages (from toad) (39.1.0)
Collecting Cython>=0.29.15
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/80/08/1c007f1d571f8f2a67ed6938cc79117fa5ae9c0d9ff633fbd5e52f212062/Cython-0.29.30-py2.py3-none-any.whl (985 kB)
     |████████████████████████████████| 985 kB 6.8 MB/s
Collecting toad
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/70/c7/8a3d979e60c81d3293257ebf279f1b9a423ed9005ca603792875b1aa39a0/toad-0.0.65.tar.gz (14.0 MB)
     |████████████████████████████████| 14.0 MB 6.4 MB/s
  Preparing metadata (setup.py) ... done
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2b/41/d178d845aa182bc272ed890273f76ddbbb364d06cb99d3a7c7f141e33136/toad-0.0.64-cp36-cp36m-win_amd64.whl (14.1 MB)
     |████████████████████████████████| 14.1 MB 3.3 MB/s
Requirement already satisfied: joblib>=0.12 in e:\program files\python\python36\lib\site-packages (from toad) (0.16.0)
Collecting scikit-learn>=0.21
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/1e/37/57198cbb6ea88b20f78dc6019296ebf2ada76fa258ad010452f7c91d43f7/scikit_learn-0.24.2-cp36-cp36m-win_amd64.whl (6.8 MB)
Requirement already satisfied: numpy<1.20,>=1.18.0 in e:\program files\python\python36\lib\site-packages (from toad) (1.19.5)
Requirement already satisfied: pandas in e:\program files\python\python36\lib\site-packages (from toad) (1.1.4)
Requirement already satisfied: scipy in e:\program files\python\python36\lib\site-packages (from toad) (1.1.0)
Requirement already satisfied: seaborn>=0.10.0 in e:\program files\python\python36\lib\site-packages (from toad) (0.11.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in e:\program files\python\python36\lib\site-packages (from scikit-learn>=0.21->toad) (2.1.0)
Requirement already satisfied: matplotlib>=2.2 in e:\program files\python\python36\lib\site-packages (from seaborn>=0.10.0->toad) (2.2.2)
Requirement already satisfied: pytz>=2017.2 in e:\program files\python\python36\lib\site-packages (from pandas->toad) (2018.3)
Requirement already satisfied: python-dateutil>=2.7.3 in e:\program files\python\python36\lib\site-packages (from pandas->toad) (2.8.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in e:\program files\python\python36\lib\site-packages (from matplotlib>=2.2->seaborn>=0.10.0->toad) (2.2.0)
Requirement already satisfied: six>=1.10 in e:\program files\python\python36\lib\site-packages (from matplotlib>=2.2->seaborn>=0.10.0->toad) (1.15.0)
Requirement already satisfied: kiwisolver>=1.0.1 in e:\program files\python\python36\lib\site-packages (from matplotlib>=2.2->seaborn>=0.10.0->toad) (1.0.1)
Requirement already satisfied: cycler>=0.10 in e:\program files\python\python36\lib\site-packages (from matplotlib>=2.2->seaborn>=0.10.0->toad) (0.10.0)
WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
Installing collected packages: scikit-learn, Cython, toad
  Attempting uninstall: scikit-learn
    WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
    Found existing installation: scikit-learn 0.19.1
    Uninstalling scikit-learn-0.19.1:
      Successfully uninstalled scikit-learn-0.19.1
  Attempting uninstall: Cython
    WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
    Found existing installation: Cython 0.28.3
    Uninstalling Cython-0.28.3:
      Successfully uninstalled Cython-0.28.3
WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
sklearn-pandas 2.0.2 requires scipy>=1.4.1, but you have scipy 1.1.0 which is incompatible.
scikit-survival 0.13.1 requires scikit-learn<0.24,>=0.22.0, but you have scikit-learn 0.24.2 which is incompatible.
autokeras 0.2.19 requires scikit-learn==0.19.1, but you have scikit-learn 0.24.2 which is incompatible.
autokeras 0.2.19 requires torch==0.4.1, but you have torch 1.3.1 which is incompatible.
autokeras 0.2.19 requires torchvision==0.2.1, but you have torchvision 0.4.1 which is incompatible.
autokeras 0.2.19 requires tqdm==4.25.0, but you have tqdm 4.51.0 which is incompatible.
Successfully installed Cython-0.29.30 scikit-learn-0.24.2 toad-0.0.64
WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)

 

toad的使用方法

相关文章

ML之LoR:基于信用卡数据集利用LoR逻辑回归算法实现如何开发通用信用风险评分卡模型之以toad框架全流程讲解_一个处女座的程序猿的博客-CSDN博客

猜你喜欢

转载自blog.csdn.net/qq_41185868/article/details/125436322