Skip to content

Instantly share code, notes, and snippets.

Trevor Sweetnam treviesweets

Block or report user

Report or block treviesweets

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:dfde205260c75d10f16b
### finding the best fit line for data with a random error ###
# a simplification of the example given at
# using a genetic algorithm to infer the parameters of a model - the simplest form possible, a straight line fit.
from pyevolve import G1DList, GSimpleGA, Selectors, Scaling, DBAdapters
import numpy
You can’t perform that action at this time.