Code Monkey home page Code Monkey logo

Comments (3)

lanzagar avatar lanzagar commented on June 18, 2024

This is actually not a bug, although it can be very confusing. Maybe there is some additional warning that could guide users to a solution.

What happens is that Formula (and some other transformations) create a new variable that can have the same name, but is not the same object. As you noted, they have a different compute_value.
When Orange tries to use a dataset for predictions it checks that the variables are the same as the data the model was trained on. It can't just match the variables by names, because a normalized columns is not the same as the original one for example.

To tell Orange to forget about transformations (the compute_value) and "reset" a variable (=same effect as saving the data to a file and reading it again), you can use Edit Domain: select the variable and check "Unlink variable from its source variable".
The tooltip provides this explanation:

Make Orange forget that the variable is derived from another.
Use this for instance when you want to consider variables with the same name but from different sources as the same variable.

from orange3.

jcmhk avatar jcmhk commented on June 18, 2024

Thank you. Can I submit a pull request to display the warning?

from orange3.

lanzagar avatar lanzagar commented on June 18, 2024

Sure. But before you spend too much time preparing the PR, maybe propose a suggestion where and when you would show the warning so we can discuss the solution.

from orange3.

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.