mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00:00
36684db278
* 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 |
||
---|---|---|
.. | ||
random_forest_classification | ||
random_forest_regression | ||
decision_tree.py | ||
gradient_descent.py | ||
k_means_clust.py | ||
knn_sklearn.py | ||
linear_regression.py | ||
logistic_regression.py | ||
naive_bayes.ipynb | ||
reuters_one_vs_rest_classifier.ipynb | ||
scoring_functions.py |