PDF 格式的 scikit 学习文档

scikit learn documentation in PDF

有谁知道如何获取 scikit 学习文档 (http://scikit-learn.org/stable/documentation.html),特别是 PDF 格式的用户指南、教程和示例?

如果它们不容易获得,有没有办法以编程方式将它们转换为 PDF?我四处寻找 html 到 pdf 转换 api 服务,但其中 none 是免费的...

提前致谢。

用户文档可以在这里找到http://sourceforge.net/projects/scikit-learn/files/documentation/还有旧版本。

此外,您可以从 Github https://github.com/scikit-learn/scikit-learn/tree/master/doc

创建最新的离线 HTML 文档

生成完整的网页,包括 示例画廊(这可能需要一段时间):

make html

或者,如果您不想构建示例库:

make html-noplot

那应该在目录 _build/html

中创建所有文档

要构建 PDF 手册,运行

make latexpdf

@John Galt 的回答已经很好了。有关将 html 树转换为 pdf 的通用解决方案,请参阅 this SU answer:

I use wget to recursively download websites (normally online html manuals) then once I have the html all in a folder I convert to the format of my choice using Calibre.

根据: https://github.com/scikit-learn/scikit-learn/tree/master/doc

更多最新版本在这里: https://github.com/scikit-learn/scikit-learn.github.io

在 0.1x/_downloads/scikit-learn-docs.pdf.

例如截至今天最新的是: https://github.com/scikit-learn/scikit-learn.github.io/blob/master/0.19/_downloads/scikit-learn-docs.pdf