Python/machine_learning
Mantas Zimnickas 12f69a86f5 Remove code with side effects from main (#1577)
* Remove code with side effects from main

When running tests withy pytest, some modules execute code in main scope
and open plot or browser windows.

Moves such code under `if __name__ == "__main__"`.

* fixup! Format Python code with psf/black push
2019-11-17 19:38:48 +01:00
..
decision_tree.py psf/black code formatting (#1421) 2019-10-22 19:13:48 +02:00
gradient_descent.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
k_means_clust.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
k_nearest_neighbours.py Add Topological Sort (#1302) 2019-10-18 08:13:58 +02:00
knn_sklearn.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
linear_regression.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
logistic_regression.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
polymonial_regression.py Remove code with side effects from main (#1577) 2019-11-17 19:38:48 +01:00
scoring_functions.py added doctests to scoring_functions.py (#1300) 2019-10-08 13:12:27 +05:00
sequential_minimum_optimization.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
support_vector_machines.py Rename sorted_vector_machines.py to support_vector_machines.py (#1195) 2019-09-22 16:56:32 +02:00