Code Monkey home page Code Monkey logo

bbob_numpy's Introduction

bbob_numpy

This repository contains numpy implementations of the functions found in

https://coco.gforge.inria.fr/downloads/download16.00/bbobdocfunctions.pdf

which allow accessing current x_opt and f_opt.

It's a bit work in progress, so I put some TODOs into the code. Feel free to extend or correct them. When plotting some functions in 2D they looked different than the plots in the pdf, so there may be some errors in implementation.

The file bbobbenchmarks.py is taken from the pycma package (https://github.com/CMA-ES/pycma) with some modifications.

How to use

In order to create a suite with all objective functions in dimension 2 with 2 instances each do

test_suite_options = {'name': 'full',
                      'dim': [2],
                      'n_instances': 2}
test_suite = Suite(test_suite_options)

# query the optimal function value
for p in test_suite:
    print(p.f_obj.f_opt)

bbob_numpy's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

bbob_numpy's Issues

Missing implementation for f23 and f24

Hi, I was exited to see that the COCO test functions have been implemented in python, however,
the folder "experiments.robotics.planar" is not included in your repo, so it is not possible to run the following lines in suite.py,

from experiments.robotics.planar.hole_reaching_objective import HoleReachingObjective as hro
from experiments.robotics.planar.planar_reaching_objective import ReachingObjective as ro

which I believe are the f23 and f24 functions?

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.