All Projects → joaofig → pyloess

joaofig / pyloess

Licence: MIT license
A simple implementation of the LOESS algorithm using numpy

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to pyloess

100daysofmlcode
My journey to learn and grow in the domain of Machine Learning and Artificial Intelligence by performing the #100DaysofMLCode Challenge.
Stars: ✭ 146 (+231.82%)
Mutual labels:  linear-regression
Deep Math Machine Learning.ai
A blog which talks about machine learning, deep learning algorithms and the Math. and Machine learning algorithms written from scratch.
Stars: ✭ 173 (+293.18%)
Mutual labels:  linear-regression
Blasjs
Pure Javascript manually written 👌 implementation of BLAS, Many numerical software applications use BLAS computations, including Armadillo, LAPACK, LINPACK, GNU Octave, Mathematica, MATLAB, NumPy, R, and Julia.
Stars: ✭ 241 (+447.73%)
Mutual labels:  linear-regression
Ml Course
Starter code of Prof. Andrew Ng's machine learning MOOC in R statistical language
Stars: ✭ 154 (+250%)
Mutual labels:  linear-regression
Aulas
Aulas da Escola de Inteligência Artificial de São Paulo
Stars: ✭ 166 (+277.27%)
Mutual labels:  linear-regression
Autofeat
Linear Prediction Model with Automated Feature Engineering and Selection Capabilities
Stars: ✭ 178 (+304.55%)
Mutual labels:  linear-regression
Machine Learning Concepts
Machine Learning Concepts with Concepts
Stars: ✭ 134 (+204.55%)
Mutual labels:  linear-regression
Machine-Learning
🌎 I created this repository for educational purposes. It will host a number of projects as part of the process .
Stars: ✭ 38 (-13.64%)
Mutual labels:  linear-regression
100 Days Of Ml Code
A day to day plan for this challenge. Covers both theoritical and practical aspects
Stars: ✭ 172 (+290.91%)
Mutual labels:  linear-regression
Nakedtensor
Bare bone examples of machine learning in TensorFlow
Stars: ✭ 2,443 (+5452.27%)
Mutual labels:  linear-regression
Java Deep Learning Cookbook
Code for Java Deep Learning Cookbook
Stars: ✭ 156 (+254.55%)
Mutual labels:  linear-regression
Machine learning
Estudo e implementação dos principais algoritmos de Machine Learning em Jupyter Notebooks.
Stars: ✭ 161 (+265.91%)
Mutual labels:  linear-regression
Deeplearning.ai
该存储库包含由deeplearning.ai提供的相关课程的个人的笔记和实现代码。
Stars: ✭ 181 (+311.36%)
Mutual labels:  linear-regression
The Python Workshop
A New, Interactive Approach to Learning Python
Stars: ✭ 150 (+240.91%)
Mutual labels:  linear-regression
Python-AndrewNgML
Python implementation of Andrew Ng's ML course projects
Stars: ✭ 24 (-45.45%)
Mutual labels:  linear-regression
Mlkit
A simple machine learning framework written in Swift 🤖
Stars: ✭ 144 (+227.27%)
Mutual labels:  linear-regression
Machine Learning Deployment
Launch machine learning models into production using flask, docker etc.
Stars: ✭ 177 (+302.27%)
Mutual labels:  linear-regression
machine learning course
Artificial intelligence/machine learning course at UCF in Spring 2020 (Fall 2019 and Spring 2019)
Stars: ✭ 47 (+6.82%)
Mutual labels:  linear-regression
flatiron-school-data-science-curriculum-resources
Lesson material on data science and machine learning topics/concepts
Stars: ✭ 118 (+168.18%)
Mutual labels:  linear-regression
Machinelearning ng
吴恩达机器学习coursera课程,学习代码(2017年秋) The Stanford Coursera course on MachineLearning with Andrew Ng
Stars: ✭ 181 (+311.36%)
Mutual labels:  linear-regression

pyloess

A simple implementation of the LOESS algorithm using numpy based on NIST.

The purpose of this code is to illustrate a possible implementation of the LOESS smoothing algorithm. The code has been fully implemented in Python, heavily using NumPy and vectorization.

Using the code

To use the code simply instantiate an object of the Loess class like so:

xx = np.array([0.5578196, 2.0217271, 2.5773252, 3.4140288, 4.3014084,
                4.7448394, 5.1073781, 6.5411662, 6.7216176, 7.2600583,
                8.1335874, 9.1224379, 11.9296663, 12.3797674, 13.2728619,
                4.2767453, 15.3731026, 15.6476637, 18.5605355, 18.5866354,
                18.7572812])
yy = np.array([18.63654, 103.49646, 150.35391, 190.51031, 208.70115,
                213.71135, 228.49353, 233.55387, 234.55054, 223.89225,
                227.68339, 223.91982, 168.01999, 164.95750, 152.61107,
                160.78742, 168.55567, 152.42658, 221.70702, 222.69040,
                243.18828])

loess = Loess(xx, yy)

for x in xx:
    y = loess.estimate(x, window=7, use_matrix=False, degree=1)
    print(x, y)

Notes

The included TorchLoess.py file is experimental. If you can find a better and faster implementation using PyTorch, please let me know.

References

LOESS - Medium

NIST

LOESS - Wikipedia

Tricubic weight function

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].