Skip to content
Statistical Learning Method 统计学习方法 Python 3 实现
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
example
screenshot
slmethod
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
MANIFEST.in
README.md
requirements.txt
setup.py
version.sh

README.md

AIDevLog

Build Status PyPI - Python Version PyPI PyPI - License PyPI - Wheel PyPI - Downloads Commitizen friendly Twitter

slmethod

Statistical Learning Method 统计学习方法

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

方法

  • precentron
  • kmeans

截图

感知机 Perceptron

perceptron

perceptron

KMeans

kmeans

kmeans

PyPI 境像加速

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

代码规范

参考:https://docs.python.org/3/tutorial

.vscode/settings.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
}
  • 字符串使用双引号: ""

安装

pip3 install slmethod

开发

本地开发

pip3 install -e .

测试

pytest slmethod -v

发布

python3 setup.py sdist bdist_wheel
twine upload dist/*

生成 CHANGELOG

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

联系方式

网站: http://2019.iosdevlog.com/

微信公众号: AI 开发日志

AIDevLog

License

slmethod is released under the MIT license. See LICENSE for details.

You can’t perform that action at this time.