Metadata-Version: 2.1
Name: slmethod
Version: 0.2.3
Summary: Statistical Learning Method package
Home-page: https://github.com/iOSDevLog/slmethod
Author: Xianhua Jia
Author-email: iosdevlog@iosdevlog.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Description-Content-Type: text/markdown
Requires-Dist: tqdm (>=4.32)
Requires-Dist: numpy (>=1.16)
Requires-Dist: scipy (>=1.3)
Requires-Dist: matplotlib (>=3.0)
Requires-Dist: seaborn (>=0.9)
Requires-Dist: autograd (>=1.2)
Requires-Dist: joblib (>=0.13)
Requires-Dist: scikit-learn (>=0.21)

# slmethod

[![Build Status](https://travis-ci.org/iOSDevLog/slmethod.svg?branch=master)](https://travis-ci.org/iOSDevLog/slmethod)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/slmethod.svg)
![PyPI](https://img.shields.io/pypi/v/slmethod.svg)
![PyPI - License](https://img.shields.io/pypi/l/slmethod.svg)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/slmethod.svg)
![PyPI - Downloads](https://img.shields.io/pypi/dm/slmethod.svg)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/iOSDevLog/slmethod.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FiOSDevLog%2Fslmethod)

Statistical Learning Method 统计学习方法

GitHub: <https://github.com/iOSDevLog/slmethod>

## 方法

- [x] precentron
- [x] kmeans

## 截图

### 感知机 Perceptron

![perceptron](https://raw.githubusercontent.com/iOSDevLog/slmethod/master/screenshot/perceptron.gif)

![perceptron](https://raw.githubusercontent.com/iOSDevLog/slmethod/master/screenshot/perceptron.png)

### KMeans

![kmeans](https://raw.githubusercontent.com/iOSDevLog/slmethod/master/screenshot/kmeans.gif)

![kmeans](https://raw.githubusercontent.com/iOSDevLog/slmethod/master/screenshot/kmeans.png)

## PyPI 境像加速

```python
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple slmethod
```

## 代码规范

参考：<https://docs.python.org/3/tutorial>

### .vscode/settings.json

```json
{
  "python.pythonPath": "/Users/iosdevlog/.Envs/slmethod/bin/python",
  "python.linting.flake8Enabled": true,
  "python.formatting.provider": "yapf",
  "python.linting.flake8Args": ["--max-line-length=248"],
  "python.linting.pylintEnabled": false
}
```

- 字符串使用双引号： **""**

## 安装

```sh
pip3 install slmethod
```

## 开发

### 本地开发

```sh
pip3 install -e .
```

### 测试

```sh
pytest slmethod -v
```

### 发布

```sh
python3 setup.py sdist bdist_wheel
twine upload dist/*
```

### 生成 CHANGELOG

```sh
npm install -g conventional-changelog-cli
./version.sh
```

### 联系方式

网站: [http://2019.iosdevlog.com/](https://2019.iosdevlog.com/)

微信公众号: AI 开发日志

![AIDevLog](https://2019.iosdevlog.com/uploads/AIDevLog.jpg)

## License

slmethod is released under the MIT license. See [LICENSE](LICENSE) for details.


