首页 > 解决方案 > 创建 scikit-learn 贡献包

问题描述

我正在创建一个新的分类器并希望将其添加到 sklearn 库中。

我正在遵循 sklearn 提供的模板,但我被困在第 1 步。第 1 步是“下载并设置您的存储库”(请参见下面的链接)。

https://sklearn-template.readthedocs.io/en/latest/quick_start.html

我不明白第 1 步是干什么用的?

当我运行第一个代码时:

$ git clone https://github.com/scikit-learn-contrib/project-template.git

为什么我收到错误消息:

 File "<ipython-input-5-cc43960fed74>", line 1
    $ git clone https://github.com/scikit-learn-contrib/project-template.git
    ^
SyntaxError: invalid syntax

我在 Anaconda 中使用 Jupyter Notebook。

标签: pythongitscikit-learn

解决方案


推荐阅读