Giter Club home page Giter Club logo

Comments (6)

jakob-r avatar jakob-r commented on June 24, 2024

It's hard to reproduce the error without the data MLdatasetLabel. Could you post a traceback()?

from mlrmbo.

Seager1989 avatar Seager1989 commented on June 24, 2024

Thank you for your reply.

The traceback() is attached as 'TracebackofGPRclassifi.txt' and the MLdatasetLabel dataset is attached as 'MLdatasetLabel.xlsx'. Hope these are helpful to fix this problem.

TracebackofGPRclassifi.txt

MLdatasetLabel.xlsx

from mlrmbo.

Seager1989 avatar Seager1989 commented on June 24, 2024

It is appreciated if anyone can give a comment on this issue. Thank you

from mlrmbo.

jakob-r avatar jakob-r commented on June 24, 2024

So the traceback indicates that this is an error of the learner that you try to tune and not mlrMBO itself. It looks like the learner (makeLearner("classif.gausspr",par.vals=list(kernel="polydot")) ) just crashes for the hyperparemter settings suggested by mlrMBO.
According to the traceback the learner was called with the parameter settings fit = FALSE, kernel = "polydot", degree = 4L, scale = 4.52147865854204, offset = 0.899868381844135.
You can either try to change the search space (par.set) to ranges that do not crash or you ignore those cases.
It looks like you already tried the latter by setting impute.val=1. However, to really activate the imputation you have to set mlr to fail silently or with only a warning by setting configureMlr(on.learner.error = "warn").
I will update the documentation in mlr to state that more clearly.

from mlrmbo.

Seager1989 avatar Seager1989 commented on June 24, 2024

Thank you for your help. The configureMlr(on.learner.error = "warn") works for me.

To change the search space may be difficult. I found the three hyperparameters (polynomial kernel degree, scale, and offset) are coupling with each other with respect to the training crash. It is hard to find a feasible domain with no crash without missing the optimum.

from mlrmbo.

jakob-r avatar jakob-r commented on June 24, 2024

You are welcome. Thanks for making us aware of the gap in the documentation.

from mlrmbo.

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.