Skip to main content

slmethod

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

Statistical Learning Method 统计学习方法

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

方法

  • precentron
  • kmeans

截图

感知机 Perceptron

perceptron

perceptron

KMeans

kmeans

kmeans

PyPI 源加速

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

安装

pip install slmethod

开发

本地开发

pip3 install -e .

测试

pytest slmethod

发布

python3 setup.py sdist bdist_wheel
twine upload dist/*

License

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

Release files for slmethod 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slmethod 0.2.1
File Size Uploaded
slmethod-0.2.1.tar.gz 9.9 kB Details

Release files / slmethod-0.2.1.tar.gz

Download URL slmethod-0.2.1.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0f9dff09927272ffd5dc30c50dbd9a7da267380e7596bfcd1428b110c682d6bf
BLAKE2b-256 checksum
How to use checksums
bbc245d564e4313c0e20b407427975a55a636d1b1663fb5841f1f35e300ea796
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

Release history Release notifications | RSS feed

0.2.6

2 release files

0.2.5

2 release files

0.2.3

2 release files

0.2.2

1 release file

This release

0.2.1 This release

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.1

2 release files

0.1

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page