🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Optimize Parameter (Grid) Parameter

User: "dome"
New Altair Community Member
Updated by Jocelyn
Hello,

I tried the Optimize Parameter (Grid) Operator in my Process, to find optimal Parameters for a decision tree. The Operator workd fine. My Problem now is, when i use the Parameters in a seperate decision Tree the accuraccy is different from the Optimize Operator.

For example:

The Optimize Parameter Operator detects that with the criterion gini_index and depth of 3 and in the cross validation with the stratified method and 5 folds the accuracy of 80%.
If I use these Parameters to the exact same Process (without Optimize Parameter) with same data and Operators, then the accuracy drops to 60%.

Is there any solution to this problem? Or is that explainable?

Thanks!

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "rfuentealba"
    New Altair Community Member
    Accepted Answer
    Hello @dome,

    You are doing nothing wrong. Let me use the Titanic example to show you how to use the best available model. Attached you can find two processes.

    The training process:



    ...and the Scoring process:


    This is just an example. If your scoring algorithm doesn't behave well with new, unseen data, you should store your data, see what the reality is and go back and forth until you find yourself comfortable. Splitting your process in training and production, and share the models between both helps recovering time.

    Hope this helps,

    Rodrigo.