deil87 / automl-genetic Goto Github PK
View Code? Open in Web Editor NEWApplying genetic programming to AutoML https://travis-ci.org/deil87/automl-genetic.svg?branch=master
Applying genetic programming to AutoML https://travis-ci.org/deil87/automl-genetic.svg?branch=master
We need to make sure that our One-Hot-Encoding works properly and either do something like this
.withColumnReplace("label", $"label" - 1.0 )
for the input data or make it more automatic inside algorithm
For now every time we add model to the stage... we calculate predictions immediately. It maybe not the very optimal way.
Check what we should leave in second parameter of FitnessResult(..., here)
As a first version we can use api of some models for that.
How can we improve situation here?
We should probably sample without replacement or tune the probabilities of being sampled.
added ability to log per individual into separate log files instead of writing everything into console.
Store template inside IndividualAlgorithm class with mutable fitnessError property. Print it while traversing.
start from scratch?
This will help us to choose from at least something when we abrupt our evolutions due to timeboxes. Or maybe define strategy: we can store every individual at the beginning and then slowly reduce number.
Changes in AutoMLMainSuite needed
Spark as far as I see has perceptron with only sigmoid activation functions…. From the source code: *Each layer has sigmoid activation function, output layer has softmax.
Or we can fork spark
Possible implementation could be MultiLayerNetwork class from deeplearning4j.com framework
libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "1.7.7",
"org.slf4j" % "jcl-over-slf4j" % "1.7.7"
).map(_.force())
or update to latest versions.
At least for duplicates of individuals within one population we can cache and reuse the results.
Still need to decide how to make final predictions based on what we have from each Perceptron separately. How to measure confidence?
We should somehow share(not maybe physically) hyperparameters instances for all classifiers within one ensemble individual/generation/evolution. How to find similarities between classifiers in terms of optimal hyperparameters settings?
Think of default/initialization values for them
We can choose test examples that were difficult in terms of classification.
Techniques that have been proposed to ameliorate this difficulty include shared sampling, in
which test cases are chosen so as to be unsolvable by as many of the strategies in the population
as possible
libraryDependencies ++= Seq(
).map(_.force())
or update to the latest versions.
For now we use only Bagging but we can subsample not only training examples but also features space.
Random Forest is not general enough and works only with trees, but we need to apply it's core idea to any ensemble of classifiers.
For now we are getting issue with serialisation of Function2 because there is no Encoder for that type:
No Encoder found for (breeze.linalg.DenseVector[Double], breeze.linalg.DenseVector[Double]) => breeze.linalg.DenseVector[Double]
- field (class: "scala.Function2", name: "_1")
- root class: "scala.Tuple2"
java.lang.UnsupportedOperationException: No Encoder found for (breeze.linalg.DenseVector[Double], breeze.linalg.DenseVector[Double]) => breeze.linalg.DenseVector[Double]- field (class: "scala.Function2", name: "_1")
- root class: "scala.Tuple2"
We can define Set[EvolutionDimension] and create pipeline where we configure all those dimensions with strategies and weights.
Later we should search for hyperparameters with evolutions as well.
We can use Kamon or something similar
Maybe we need log4j's Logging for spark. Logback version seems to be nonserializable. Investigation needed(LinearPerceptronClassifier). Maybe upgrade to newer version?
acc.withColumnReplace("maxPrediction", selectMaxColumn(
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.