【Python環境】Scikit-Learn:開源的機器學習Python模組
阿新 • • 發佈:2022-04-29
scikit-learn是一個用於機器學習的 Python 模組,建立在SciPy基礎之上,獲得3-Clause BSD 開源許可證。這個專案是由 David Cournapeau 在 2007 年發起的一個 Google Summer of Code 專案,從那時起這個專案就已經擁有很多的貢獻者了,而且該專案目前為止也是由一個志願者團隊在維護著。
主要特點:
- 操作簡單、高效的資料探勘和資料分析
- 無訪問限制,在任何情況下可重新使用
- 建立在NumPy、SciPy 和 matplotlib基礎上
- 使用商業開源協議——BSD許可證
重要連結:
- 官方原始碼報告:https://github.com/scikit-learn/scikit-learn
- HTML文件(穩定本):http://scikit-learn.org
- HTML文件(開發版本):http://scikit-learn.org/dev/
- 下載版本:http://sourceforge.net/projects/scikit-learn/files/
- 問題跟蹤:https://github.com/scikit-learn/scikit-learn/issues
- 郵箱列表:https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
相關性
scikit-learn 經過測試之後可以執行在 Python 2.6、Python 2.7 和 Python 3.4平臺上。除此之外,它還要適應執行在Python 3.3平臺上。
安裝
這個工具包使用的是distutils,這是安裝Python模組的一種預設方式。如果要安裝在你的根目錄下面的話,可以使用:
python setup.py install --user
任何Unix/Linux使用者安裝的話可以使用:
python setup.py build
sudo python setup.py install
測試
安裝後,你可以從外部源目錄啟動測試包(需要事先安裝nosetests):
$ nosetests --exe sklearn
- 更多資訊可以看這裡:http://scikit-learn.org
- 相關案例:http://scikit-learn.org/examples/
- 專案主頁:http://scikit-learn.org
- Github託管地址:https://github.com