python - 创建 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。
解决方案
推荐阅读
- python - 如何递归地将任何大的金额写为 5 和 7 个硬币的总和?
- css - 为什么我的 SVG 路径会同时在两个地方开始绘制?
- cupy - Cupy中的间歇性OutOfMemoryError
- arrays - 将字符串拆分为数组 string.components(separtedBy: ",") 会消耗更多时间
- python-3.x - Google Sheets API Python为2值圆环图设置特定颜色值
- amazon-web-services - 需要推荐创建三个 VPC 的最佳方法
- c++ - 类非类型模板参数偏特化
- reactjs - 始终加载的组件
- regex - 如何使用 RegEx 将此文本替换为更复杂的行?
- javascript - 用单独的文件反应原生全局对象