Giter Club home page Giter Club logo

deepevolution's People

Contributors

ipazc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

miausk weslst alllj

deepevolution's Issues

Pandas error durind _find_elite

At first congrats for the initiative, your implementation is brilliant!

I'm getting sporadically the same error in line:

weights_sorted = pd.Series(self._generation, index=scores).sort_index(ascending=False)

that is triggered from inside the series.py inside pandas, at the code:

        elif is_list_like(data):

            # a scalar numpy array is list-like but doesn't
            # have a proper length
            try:
                if len(index) != len(data):
                    raise ValueError(
                        f"Length of passed values is {len(data)}, "
                        f"index implies {len(index)}."

What I noticed is that this only occurs when index become (for some reason) a pandas Multindex instead of a list of arrays, it raises the following error message:

ValueError: Length of passed values is 14, index implies 1.

Thanks!

use of validation data and model extraction

Hallo Iván,

first of all, thank you for your code, it is hard to find a good one for keras.
My first question is regarding the model validation. I did not quite find a way to implement a validaition dataset method in your code. Normally you generate a test/train dataset, a validation datasat and a testset. With your code, the model is trained on the train/test dataset AND validated against it. I would like to use a validation dataset for that use. In Keras you would implement this with validation_split or a pre-defined validation dataset. Is there a way to implement this without changing the deepevolution code itself?

Second question is about extracting the best fitted model. Somehow keras does not use the best fitted model for other functions (model.summary; model.predict...) but only uses the initial model. Is there a special kind of model call needed?

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.