Git Product home page Git Product logo

Comments (3)

brendenpetersen avatar brendenpetersen commented on June 22, 2024

Hi @Sean-Reilly, if you are running with the Python interface, you are likely creating a DeepSymbolicOptimizer object, correct? You instantiate that object by passing it a path to a config file, e.g.

model = DeepSymbolicOptimizer("path/to/my_config.json")

Inside your config JSON file, in the "experiment" top-level key, you specify the path to your log directory via the "logdir" parameter, e.g.:

{
    "experiment" : {
        "logdir" : "/path/to/log/directory"
    }
}

It should then save to file when running model.train().

Relative paths are supported, but I've found absolute paths to be more stable so it doesn't depend on where you run your Python script from.

Another note is that the default value for "logdir" is "./log", so it could be that you overwrote the parameter at some point? If the above doesn't help, if you could write a minimum working example that would be helpful. Thanks!

from deep-symbolic-optimization.

Sean-Reilly avatar Sean-Reilly commented on June 22, 2024

I was using the DeepSymbolicRegressor function, which I’ve discovered seems to have it’s log output disabled in the __init__ file. I’ll use the DeepSymbolicOptimizer from now on to avoid this issue.

from deep-symbolic-optimization.

brendenpetersen avatar brendenpetersen commented on June 22, 2024

Ah I see. yes, for the DeepSymbolicRegressor we turned off file saving because that likely not expected behavior in an sklearn-like interface. We should add an option to turn that back on...

from deep-symbolic-optimization.

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.