Python/machine_learning
Megan Payne 1a5d5cf93d
Mean absolute error (#10927)
* added mean absolute error to loss_functions.py

* added doctest to mean absolute error to loss_functions.py

* fixed long line in loss_functions.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixed error in MAE

* Update machine_learning/loss_functions.py

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
2023-10-26 01:31:47 -04:00
..
forecasting Fixed Pytest warnings for machine_learning/forecasting (#8958) 2023-08-14 01:34:16 -07:00
local_weighted_learning Fix DeprecationWarning in local_weighted_learning.py (Attempt 2) (#9170) 2023-10-01 17:07:25 +13:00
lstm Upgrade to Python 3.12 (#9576) 2023-10-03 14:47:10 +05:30
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
apriori_algorithm.py feat: adding Apriori Algorithm (#10491) 2023-10-15 23:49:53 +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 Ruff pandas vet (#10281) 2023-10-11 14:30:02 -04:00
frequent_pattern_growth.py Add: FP Growth Algorithm (#10746) 2023-10-21 16:51:29 +02: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 [pre-commit.ci] pre-commit autoupdate (#9013) 2023-08-29 15:18:10 +02:00
k_means_clust.py Ruff pandas vet (#10281) 2023-10-11 14:30:02 -04:00
k_nearest_neighbours.py Consolidate the two existing kNN implementations (#8903) 2023-09-27 14:01:18 +02:00
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 [pre-commit.ci] pre-commit autoupdate (#9013) 2023-08-29 15:18:10 +02:00
logistic_regression.py Added docstring/documentation for sigmoid_function (#10756) 2023-10-23 01:27:33 -04:00
loss_functions.py Mean absolute error (#10927) 2023-10-26 01:31:47 -04:00
mfcc.py Add MFCC Feature Extraction Algorithm (#9057) 2023-09-24 23:08:51 +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 Fix ruff error in machine_learning/sequential_minimum_optimization.py (#10717) 2023-10-20 05:35:38 +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 Remove doctest in xgboost_regressor.py main function (#10422) 2023-10-14 15:34:05 +02:00