An easy-to-use ML framework
Project description
classicML
简单易用的经典机器学习框架,classicML支持数种机器学习算法,是你入门学习机器学习的首选
重要信息⚠️
-
推荐你直接使用pip安装预编译的软件包(stable version)
-
安装Python版本(没有加速)
pip install classicML-python
-
安装CPP版本(只支持macOS和Linux)
pip install classicML
-
-
从GitHub上下载源码进行编译安装, 请预装依赖的CPP库
- Eigen 3.3.7+
- pybind 2.6+
- 并且保证c++的最低版本为c++14
git clone https://github.com/sun1638650145/classicML.git cd classicML python3 setup.py install
-
部分算法支持了使用CPP作为后端进行加速,你需要在开头使用这条语句切换后端
import os os.environ['CLASSICML_ENGINE'] = 'CC'
-
0.5版本的API接口略有改动, 修改了部分模块的路径, 结构更为合理.
-
0.5版本添加benchmark模块可以监控内存和时间开销.
目前的已支持的算法
算法名称 | 支持多分类 | 使用CC加速 | 可视化 | 同时处理离散和连续值 |
---|---|---|---|---|
逻辑回归 | ✅ | |||
线性判别分析 | ✅ | ✅ | ||
BP神经网络 | ✅ | ✅ | ✅ | |
径向基函数神经网络 | ✅ | |||
支持向量分类器 | ✅ | ✅ | ||
分类决策树 | ✅ | ✅ | ✅ | ✅ |
朴素贝叶斯分类器 | ✅ | ✅ | ✅ | |
平均独依赖估计器 | ✅ | ✅ | ||
超父独依赖估计器 | ✅ | ✅ | ✅ |
-
全部神经网络只能可视化损失和评估函数曲线,暂不能可视化结构信息
-
其中BP神经网络需要手动将离散值转换成dummy编码
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
classicML-python-0.5.tar.gz
(36.8 kB
view hashes)
Built Distribution
Close
Hashes for classicML_python-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f58ce6a23eb667e8e8d42809a3576028fa80e1ab03eb922dd8a3c04ac2ccf01f |
|
MD5 | 840720a04bd3fccb902d77e52146ca0f |
|
BLAKE2b-256 | 5ba5497b6666f3dacff3487469fb48b0b61c0591a089befb5949b044bc9140f0 |