Creating a generic mathematical formula using a genetic algorithm

Assuming all of the following; I have 4 known numbers, all within a 0-400 range, like this: Variable1 Variable2 Variable3 Variable4 0-400 0-400 0-400 0-400 I know that there is a mathematical relationship between the numbers. I would like to use a genetic algorithm (computer code) to estimate/approximiate Variable2 and Variable3 based on Variable1 and Variable4. Also, importantly, assume that there are many input samples and that each sample will differ slightly. Thus, a genetic algorithm optimization of "a mathematical …
Category: Data Science

What is new population in genetic algorithm?

Here is my (mis?)understanding of genetic algorithm: Create n individuals. This is initial population Calculate fitness of each individual in this population for i in range(n): select two individuals randomly with replacement from population with probability of selection of each individual proportional to its fitness value cross over the two selected individuals to create two offsprings introduce mutation Calculate fitness value for each offspring Now you have an initial population of n and n offsprings. What comes now? Is my …
Category: Data Science

Solving a system of equations with sparse data

I am attempting to solve a set of equations which has 40 independent variables (x1, ..., x40) and one dependent variable (y). The total number of equations (number of rows) is ~300, and I want to solve for the set of 40 coefficients that minimizes the total sum-of-square error between y and the predicted value. My problem is that the matrix is very sparse and I do not know the best way to solve the system of equations with sparse …
Category: Data Science

Is the GA R package the best Genetic Algorithm package?

I am learning about Data Science and I love the Healthcare part. That's why I have started a blog and my third entry is about using Genetic Algorithm for solving NP-Problems. This post is https://datasciencecgp.wordpress.com/2015/01/31/the-amazing-genetic-algorithms/ I have some expertise with GA package solving problems like the TSP, but do you know any most powerful R package? Thanks so much!
Category: Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.