Python/machine_learning
Tianyi Zheng e406801f9e
Reimplement polynomial_regression.py (#8889)
* Reimplement polynomial_regression.py

Rename machine_learning/polymonial_regression.py to
machine_learning/polynomial_regression.py

Reimplement machine_learning/polynomial_regression.py using numpy
because the old original implementation was just a how-to on doing
polynomial regression using sklearn

Add detailed function documentation, doctests, and algorithm
explanation

* updating DIRECTORY.md

* Fix matrix formatting in docstrings

* Try to fix failing doctest

* Debugging failing doctest

* Fix failing doctest attempt 2

* Remove unnecessary return value descriptions in docstrings

* Readd placeholder doctest for main function

* Fix typo in algorithm description

---------

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-07-28 20:17:46 +02:00
..
forecasting Remove some print statements within algorithmic functions (#7499) 2022-10-22 13:33:51 +02:00
local_weighted_learning local_weighted_learning.py: fix mypy errors and more (#8073) 2023-05-17 12:05:55 +12:00
lstm Change to https. (#7277) 2022-10-16 09:43:29 +02:00
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
astar.py Update astar.py (#6456) 2022-10-02 23:55:24 +02:00
data_transformations.py Format docs (#7821) 2022-10-29 08:26:19 +02:00
decision_tree.py Remove depreciated np.float (#7394) 2022-10-18 11:57:03 +02:00
dimensionality_reduction.py Dimensionality reduction (#8590) 2023-04-17 10:34:22 +12:00
gaussian_naive_bayes.py.broken.txt Add autoclave cipher (#8029) 2022-12-18 23:26:39 +01:00
gradient_boosting_regressor.py.broken.txt Add autoclave cipher (#8029) 2022-12-18 23:26:39 +01:00
gradient_descent.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
k_means_clust.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
k_nearest_neighbours.py Update our pre-commit dependencies (#4273) 2021-03-20 10:42:17 +05:30
knn_sklearn.py Change occurrences of str.format to f-strings (#4118) 2021-02-23 11:23:49 +05:30
linear_discriminant_analysis.py Solving the Top k most frequent words problem using a max-heap (#8685) 2023-04-27 23:02:07 +05:30
linear_regression.py Added mean absolute error in linear regression (#7003) 2022-10-30 13:42:59 +01:00
logistic_regression.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
multilayer_perceptron_classifier.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
polynomial_regression.py Reimplement polynomial_regression.py (#8889) 2023-07-28 20:17:46 +02:00
random_forest_classifier.py.broken.txt Add autoclave cipher (#8029) 2022-12-18 23:26:39 +01:00
random_forest_regressor.py.broken.txt Add autoclave cipher (#8029) 2022-12-18 23:26:39 +01:00
scoring_functions.py Add GitHub action for pre-commit (#2515) 2020-09-30 15:23:34 +02:00
self_organizing_map.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
sequential_minimum_optimization.py New gitter link added or replaced (#8551) 2023-03-26 17:19:18 +02:00
similarity_search.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
support_vector_machines.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
word_frequency_functions.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
xgboost_classifier.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
xgboost_regressor.py XGB Regressor (#7107) 2022-10-23 13:47:19 +02:00