Git Product home page Git Product logo

configtune's People

Contributors

bjschoenfeld avatar orionw avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

configtune's Issues

Change parameter type and range format

From

"<param_name>": {
    "<para_type>": [<min>, <max>, <step>]
}

to

"param_name": {
    "type": "<para_type>"
    "min": <min>,
    "max": <max>,
    "step": <step>
}

"step" could be called "precision". Are there better names?

Warmstart the initial population

It'd be nice to be able to feed old results into the start of tuningDeap so that you don't have to restart every time.

We could do this by taking in a csv file similar to the outputted results files and using that to initialize the initial population.

Repeated chromosomes between generations

With 2 generations of size 2, I am seeing that chromosomes are duplicated. For example:

The results from generation 1 are:
   hidden_layer_size  n_hidden_layers  use_batch_norm  use_skip  dropout     score
0                 27                5               1         0      0.2  0.755746
1                 16                4               1         0      0.2  0.755746
On generation 2
The results from generation 2 are:
   hidden_layer_size  n_hidden_layers  use_batch_norm  use_skip  dropout     score
0                 16                4               1         0      0.2  0.755746
1                 27                5               1         0      0.2  0.755746

Based on my output, it did not call the evaluate function twice for the same chromosome, so it did not waste time. However, I did not get the 2x2 chromosomes and evaluate calls I was expecting.

New repo name

The name tuningdeap is no longer relevant since we have bayesian methods.

Maybe configtuner or configtuning? Or tuningml?

We'll need to update setup.py and pypi once we decide.

Population Decay 2.0

In just the simple test code in the DNA repo, I am getting that the population decays from 2 to 1 in from the 1st to the 2nd generation.

Also, the the chromosome in generation 2 matches one of the chromosomes in generation 1 exactly, but with a different score. Futhermore, the score of the 1 chromosome in gen 2 equals the score from the non-matching chromosome in gen 1. This seems like a bug in the code.

Here are the output files:

,hidden_layer_size,n_hidden_layers,use_batch_norm,use_skip,dropout,score
0,21,3,0,0,0.1,0.5951957171535395
1,3,7,0,1,0.30000000000000004,0.31058696414310893
,hidden_layer_size,n_hidden_layers,use_batch_norm,use_skip,dropout,score
0,21,3,0,0,0.1,0.31058696414310893

Population Decay

It seems that the population can sometimes dwindle from one generation to the next. In the tests I get:

INFO:tuningdeap.main:The population has a size of 8 after rejecting the invalid: should be 10

What is causing this? It does not seem like desired (default) behavior.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.