Skip to content

Instantly share code, notes, and snippets.

View SkarlethFlores's full-sized avatar

Skarleth MMF SkarlethFlores

View GitHub Profile
#!/usr/bin/python
#-*- coding: latin-1 -*-
"""This module contains pure Python implementations of the
Levenberg-Marquardt algorithm for data fitting.
"""
import numpy
from numpy import inner, max, diag, eye, Inf, dot
from numpy.linalg import norm, solve