Giter Club home page Giter Club logo

Comments (3)

SimonBlanke avatar SimonBlanke commented on May 25, 2024 1

Hello @23pointsNorth,

I was able to reproduce this by running the following code:

import numpy as np
from hyperactive import Hyperactive


def objective_function(para):
    x, y = para["x"], para["y"]

    return -(x * x + y * y)


search_space = {
    "x": list(np.arange(-10, 10, 0.01)),
    "y": list(np.arange(-10, 10, 0.01)),
}


hyper = Hyperactive(verbosity=["print_results"])
hyper.add_search(objective_function, search_space, n_iter=100)
hyper.run()

Thank you for bringing this bug to my attention :-)

I will look into this. (it's probably because of the progress-bar rework/redesign)

from hyperactive.

SimonBlanke avatar SimonBlanke commented on May 25, 2024

I fixed this in 9afa1fe, did some basic manual testing and released the fix in v4.4.2.
This version should be live in a few minutes.

You can close this issue if the fix was successful for your code.

until next time ;-)

from hyperactive.

23pointsNorth avatar 23pointsNorth commented on May 25, 2024

The current state is nearly there! However, setting

hyper = Hyperactive(verbosity=False)
# or
hyper = Hyperactive(verbosity=[])

still results in an empty line being printed.

from hyperactive.

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.