这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
|
zh:notes:install_scikit-learn [2021/02/16 16:28] pzczxs 创建 |
zh:notes:install_scikit-learn [2022/01/27 08:23] (当前版本) pzczxs 讨论状态变化了 |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Install scikit-learn ====== | ====== Install scikit-learn ====== | ||
| + | |||
| + | ===== Operation System ===== | ||
| + | CentOS 7.6 (64 bits) | ||
| ===== Requirements ===== | ===== Requirements ===== | ||
| * [[:zh:notes:install_python3.7|Python 3]] | * [[:zh:notes:install_python3.7|Python 3]] | ||
| 行 5: | 行 8: | ||
| ===== Add a Directory to PATH ===== | ===== Add a Directory to PATH ===== | ||
| + | <code bash> | ||
| + | # append a line to profile | ||
| + | > vim /etc/profile | ||
| + | > PATH=/usr/local/python3.7.4/bin:$PATH | ||
| + | > source /etc/profile | ||
| + | > echo $PATH | ||
| + | </code> | ||
| + | |||
| + | ===== Install scikit-learn ===== | ||
| + | <code bash> | ||
| + | > pip install -U scikit-learn | ||
| + | </code> | ||
| + | |||
| + | ===== Install related Depedencies ===== | ||
| + | <code bash> | ||
| + | > pip install -U matplotlib | ||
| + | > pip install -U pandas | ||
| + | </code> | ||
| + | ~~DISCUSSION:closed~~ | ||