Giter VIP home page Giter VIP logo

pyade's People

Contributors

xkuzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pyade's Issues

Additional parameters to complete the objective function

Hello,
Is it possible to add more inputs that are fixed parameters needed to completely specify the objective function (different to parameter need to estimate)?
Thank you very much for sharing your library. It helps me so much.

Archieve in LShade

Hi, I am reading your code on the Lshade algorithm. First of all, it is very well written, congrats. Second the variable archive doesn't seems to do anything, am I wrong or there is a function that select randomly from population U archive?

population initialization

The function init_population(...) uses np.random.randn() and forces the values to stay within the limits. But this does not sample the entire search space bounded by the bounds. My suggestion is a function like this:

def init_population(population_size: int, individual_size: int,
bounds: Union[np.ndarray, list]) -> np.ndarray:
population = []
for _ in range(population_size):
x = []
for i in range(individual_size):
xi = np.random.rand() * (bounds[i][1]-bounds[i][0]) + bounds[i][0]
gen.append(xi)
population.append(x)
population = np.array(population)
return population

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.