Skip to content

Commit

Permalink
Fix doc (#26)
Browse files Browse the repository at this point in the history
* ignore .bat file to create doc

* fix doc

* comment in english

* clean test
  • Loading branch information
Lionel MASSOULARD authored and gfournier committed Oct 25, 2019
1 parent f819e2d commit f839b3a
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,6 @@ venv.bak/
pytest_report.html
pytest_report_not_long.html
.DS_Store
/docs/make.bat
/docs/make_auto.bat
/docs/make_html.bat
2 changes: 1 addition & 1 deletion aikit/ml_machine/ml_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def iterator_default_models(self):
else:
all_choices = [n for n in self.auto_ml_config.models_to_keep if n[0] == step["step"]]

# Peut etre qu'on veut enlever des choix ici pour certain steps
# Maybe we'd like to remove some choices here for some steps

all_choices_by_steps.append([(step["step"], c) for c in all_choices])

Expand Down
8 changes: 8 additions & 0 deletions docs/aikit.models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ aikit\.models package
Submodules
----------

aikit\.models\.base module
--------------------------

.. automodule:: aikit.models.base
:members:
:undoc-members:
:show-inheritance:

aikit\.models\.random\_forest\_addins module
--------------------------------------------

Expand Down
8 changes: 8 additions & 0 deletions docs/aikit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ aikit\.pipeline module
:undoc-members:
:show-inheritance:

aikit\.plot module
------------------

.. automodule:: aikit.plot
:members:
:undoc-members:
:show-inheritance:

aikit\.scorer module
--------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/transformers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The transformer includes also other capabilities to simplify encoding pipeline:
- treating ``None`` has a special modality if many ``None`` are present,
- if the columns are not specified, guess the columns to encode based on their type

.. autoclass:: aikit.transformers_categories.NumericalEncoder
.. autoclass:: aikit.transformers.categories.NumericalEncoder


CategoricalEncoder
Expand Down
5 changes: 0 additions & 5 deletions tests/ml_machine/test_ml_machine_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ def test_CountVectorizer_TextEncoder():
assert hyper["ngram_range"] == 1


def verif_all():
test_CountVectorizer_TextEncoder()
test_LGBMClassifier_Model()


def test_hyper_init():
np.random.seed(123)
for model, hyper in MODEL_REGISTER.hyper_parameters.items():
Expand Down

0 comments on commit f839b3a

Please sign in to comment.