Skip to content

Commit 36a0ec1

Browse files
authored
DOC improve documentation (#10)
1 parent 225fd96 commit 36a0ec1

File tree

6 files changed

+33
-26
lines changed

6 files changed

+33
-26
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Dependencies
2929

3030
scikit-learn-extra requires,
3131

32-
- Python (>=3.5)
33-
- scikit-learn (>=0.20), and its dependencies
34-
- Cython (>0.28)
32+
- Python (>=3.5)
33+
- scikit-learn (>=0.20), and its dependencies
34+
- Cython (>0.28)
3535

3636

3737
User installation

doc/index.rst

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,18 @@
66
scikit-learn-extra documentation
77
================================
88

9+
scikit-learn-extra is a Python module for machine learning that extends scikit-learn. It includes algorithms that are useful but do not satisfy the scikit-learn `inclusion criteria <https://scikit-learn.org/stable/faq.html#what-are-the-inclusion-criteria-for-new-algorithms>`_, for instance due to their novelty or lower citation number.
910

1011
.. toctree::
1112
:maxdepth: 2
12-
:hidden:
1313
:caption: Documentation
1414

15+
install
1516
user_guide
1617
api
1718

1819
.. toctree::
1920
:maxdepth: 2
20-
:hidden:
2121
:caption: Examples
2222

2323
auto_examples/index
24-
25-
`User Guide <user_guide.html>`_
26-
-------------------------------
27-
28-
The user guide (to be added)
29-
30-
`API Documentation <api.html>`_
31-
-------------------------------
32-
33-
34-
`Examples <auto_examples/index.html>`_
35-
--------------------------------------
36-
37-
A set of examples. It complements the `User Guide <user_guide.html>`_.

doc/install.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Installation
2+
------------
3+
4+
Dependencies
5+
^^^^^^^^^^^^
6+
7+
scikit-learn-extra requires,
8+
9+
- Python (>=3.5)
10+
- scikit-learn (>=0.20), and its dependencies
11+
- Cython (>0.28)
12+
13+
14+
User installation
15+
^^^^^^^^^^^^^^^^^
16+
17+
Latest development version can be installed with,
18+
19+
.. code::
20+
21+
pip install https://github.com/scikit-learn-contrib/scikit-learn-extra/archive/master.zip

doc/quick_start.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

doc/requirements-doc.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
sphinx
2+
scikit-learn>=0.20
3+
cython
4+
pillow
5+
sphinx_rtd_theme
6+
numpydoc

sklearn_extra/kernel_approximation/_fastfood.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Fastfood(BaseEstimator, TransformerMixin):
4747
Quoc Le, Tamas Sarl and Alex Smola.
4848
4949
Examples
50-
----
50+
--------
5151
See scikit-learn-fastfood/examples/plot_digits_classification_fastfood.py
5252
for an example how to use fastfood with a primal classifier in comparison
5353
to an usual rbf-kernel with a dual classifier.

0 commit comments

Comments
 (0)