Python/machine_learning
Christian Clauss 36684db278
Travis CI: Add pytest --doctest-modules machine_learning (#1016)
* Travis CI: Add pytest --doctest-modules neural_network

Fixes #987
```
neural_network/perceptron.py:123: in <module>
    sample.insert(i, float(input('value: ')))
../lib/python3.7/site-packages/_pytest/capture.py:693: in read
    raise IOError("reading from stdin while output is captured")
E   OSError: reading from stdin while output is captured
-------------------------------------------------------------------------------- Captured stdout --------------------------------------------------------------------------------
('\nEpoch:\n', 399)
------------------------

value:
```

* Adding fix from #1056 -- thanks @QuantumNovice

* if __name__ == '__main__':

* pytest --ignore=virtualenv  # do not test our dependencies
2019-08-10 22:48:00 +02:00
..
random_forest_classification Travis CI: Add pytest --doctest-modules machine_learning (#1016) 2019-08-10 22:48:00 +02:00
random_forest_regression Travis CI: Add pytest --doctest-modules machine_learning (#1016) 2019-08-10 22:48:00 +02:00
decision_tree.py Modernize Python 2 code to get ready for Python 3 2017-11-25 10:23:50 +01:00
gradient_descent.py Improved Code and removed warnings (#482) 2018-10-19 13:28:21 +05:30
k_means_clust.py Modernize Python 2 code to get ready for Python 3 2017-11-25 12:41:55 +01:00
knn_sklearn.py KNN (#944) 2019-07-05 14:17:18 +05:30
linear_regression.py fix typo (#902) 2019-06-16 02:07:23 +05:30
logistic_regression.py Infinite loop was fixed. (#1105) 2019-08-07 21:39:44 +02:00
naive_bayes.ipynb Validate Python filenames (#1086) 2019-07-30 15:32:13 +05:30
reuters_one_vs_rest_classifier.ipynb snake_case all the things 2018-10-19 17:14:25 -05:00
scoring_functions.py Modernize Python 2 code to get ready for Python 3 AGAIN 2018-01-21 08:25:19 +01:00