sakarah / genetipe Goto Github PK
View Code? Open in Web Editor NEWOCaml Genetic Algorithm student project for French TIPE
License: GNU General Public License v3.0
OCaml Genetic Algorithm student project for French TIPE
License: GNU General Public License v3.0
log :
Nicolas@Foch64 /cygdrive/c/Users/Nicolas/Desktop/GeneTipe
$ ocamlbuild GeneTipe.cma
mkdir 'C:\Users\Nicolas\Desktop\GeneTipe\_build'
''ocamldep.opt -modules Dna.mli > Dna.mli.depends
''ocamlc.opt -c -o Dna.cmi Dna.mli
''ocamldep.opt -modules Dna.ml > Dna.ml.depends
''ocamldep.opt -modules Evolver.mli > Evolver.mli.depends
''ocamlc.opt -c -o Evolver.cmi Evolver.mli
''ocamldep.opt -modules Evolver.ml > Evolver.ml.depends
''ocamldep.opt -modules Stats.mli > Stats.mli.depends
''ocamlc.opt -c -o Stats.cmi Stats.mli
''ocamldep.opt -modules Stats.ml > Stats.ml.depends
''ocamldep.opt -modules MathParser.mli > MathParser.mli.depends
''ocamlc.opt -c -o MathParser.cmi MathParser.mli
''ocamldep.opt -modules MathParser.ml > MathParser.ml.depends
''ocamlc.opt -c -o Dna.cmo Dna.ml
''ocamlc.opt -c -o Evolver.cmo Evolver.ml
''ocamlc.opt -c -o Stats.cmo Stats.ml
''ocamlc.opt -c -o MathParser.cmo MathParser.ml
Solver failed:
Ocamlbuild cannot find or build GeneTipe.ml. A file with such a name would usually be a source file. I suspect you have given a wrong target name to Ocamlbuild.
Backtrace:
- Failed to build the target GeneTipe.cma
- Building GeneTipe.cma:
- Failed to build all of these:
- Building GeneTipe.cmo:
- Failed to build all of these:
- Building GeneTipe.ml:
- Failed to build all of these:
- Building GeneTipe.mly
- Building GeneTipe.mll
- Building GeneTipe.mli:
- Building GeneTipe.mly
- Building GeneTipe.mlpack
- Building GeneTipe.mli:
- Building GeneTipe.mly
- Failed to build all of these:
- Building Parameters.cmo:
- Failed to build all of these:
- Building Parameters.ml:
- Failed to build all of these:
- Building Parameters.mly
- Building Parameters.mll
- Building Parameters.mli:
- Building Parameters.mly
- Building Parameters.mlpack
- Building Parameters.mli:
- Building Parameters.mly
- Building parameters.cmo:
- Failed to build all of these:
- Building parameters.ml:
- Failed to build all of these:
- Building parameters.mly
- Building parameters.mll
- Building parameters.mli:
- Building parameters.mly
- Building parameters.mlpack
- Building parameters.mli:
- Building parameters.mly
We really often fill the entire population with the same individual copyed again and again. This is totally useless and waste space and computation time.
We have to remove them !
Currently we have a fixed range for the choice of the constants. Maybe it would be a good idea to compute that range from the points.
When we tested the algorithm on the 10^x function with points from 0 to 10 we got the perfect match after simplification of the population while the fitness was still near 0%.
This is caused by float approximation with huge values.
Could we find ideas to fix that ?
When we call Stats.genetic_diversity with apparently good arguments (see in genetipe.ml) we just end up with :
Fatal error: exception Invalid_argument("index out of bounds")
Often when you test the program with the standard depth, it does not converge toward a solution because the population quickly get too much complex before having an approximate solution.
How could we solve that ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.