GithubHelp home page GithubHelp logo

NEAT class documention about carrot HOT 8 CLOSED

liquidcarrot avatar liquidcarrot commented on May 23, 2024
NEAT class documention

from carrot.

Comments (8)

dan-ryan avatar dan-ryan commented on May 23, 2024 2

Looks fine on Chrome now. Also tested Edge.
If I was being picky... The changes had a number of CSS lines commented out without comments :)

from carrot.

christianechevarria avatar christianechevarria commented on May 23, 2024 1

Hey guys, I went ahead and exposed a basic NEAT entry in the docs with 2306d3a

Extending network.evolve sounds great and it's something I want to work on in the coming days

from carrot.

dan-ryan avatar dan-ryan commented on May 23, 2024 1

Looks like the layout is broken on Chrome.
Broken layout

from carrot.

christianechevarria avatar christianechevarria commented on May 23, 2024 1

If I was being picky... The changes had a number of CSS lines commented out with

Great catch! Went ahead and cleaned it up with 91fe43a

Love the "pickiness" definitely keep it coming lol

from carrot.

luiscarbonell avatar luiscarbonell commented on May 23, 2024

@dan-ryan Thank you for pointing it out! 👍 @wagenaartje had built the evolutionary greatness of Neat into the network.evolve function - I just went ahead and documented it here.

That said, I 100% agree that we should document the Neat class somehow. @christianechevarria and I had talked about maybe just dealing with "1" network (i.e. Network.evolve) or creating a more descriptive name like Population, Species, etc. to describe the function of the Neat class in Neataptic and using other evolutionary algorithms or populations/multi-network methods in that class.

I will leave this issue open for now, until we converge on some good concept/architecture for this one.

Feedback, opinions, preferences, are 💯 welcome!

from carrot.

dan-ryan avatar dan-ryan commented on May 23, 2024

I was going to write this in another issue, but since you asked for feedback here...

I have found the Neat class is much more complicated than it needs to be.

My ideal api would be:

  • You extend network.evolve.
  • You pass it a score that for the network to hit to finish.
  • You pass in the scoring function.
  • Select the population class. So you can extend and store data if needed.
  • The population has ids.
  • Multi-threading support.
  • Able to give it your data and select what percentage is the training, validation and testing data.
  • A setting that auto adjusts the mutation rate based on the validation results.
  • Regularization support.

from carrot.

luiscarbonell avatar luiscarbonell commented on May 23, 2024

@dan-ryan I would 100% agree with this.

I was going to write this in another issue, but since you asked for feedback here...

I have found the Neat class is much more complicated than it needs to be.

My ideal api would be:

You extend network.evolve.
You pass it a score that for the network to hit to finish.
You pass in the scoring function.
Select the population class. So you can extend and store data if needed.
The population has ids.
Multi-threading support.
Able to give it your data and select what percentage is the training, validation and testing data.
A setting that auto adjusts the mutation rate based on the validation results.
Regularization support.

from carrot.

christianechevarria avatar christianechevarria commented on May 23, 2024

@dan-ryan Just pushed up some changes with 371790b

Did some basic tests on my end for different viewports, but want to check with you guys before closing this issue and #32

Let me know what you guys think!

from carrot.

Related Issues (20)

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.