Ask Your Question

Revision history [back]

More clarified documentation for ML library ?

Can anyone refer me to a more clarified ML Library documentation ? As I am confused now and can't get a real description of methods such as : Train , Predict. One more thing I saw many times those train flags such as : Update weights , No input scale but the only definition I can see for train is that : public boolean train(Mat samples, int layout, Mat responses) {

    boolean retVal = train_0(nativeObj, samples.nativeObj, layout, responses.nativeObj);

    return retVal;
}

this is from StatModel and I couldn't use those train flags , So What Can I do if anyone can help ?

click to hide/show revision 2
retagged

updated 2017-01-31 19:53:50 -0600

berak gravatar image

More clarified documentation for ML library ?

Can anyone refer me to a more clarified ML Library documentation ? As I am confused now and can't get a real description of methods such as : Train , Predict. One more thing I saw many times those train flags such as : Update weights , No input scale but the only definition I can see for train is that : public boolean train(Mat samples, int layout, Mat responses) {

    boolean retVal = train_0(nativeObj, samples.nativeObj, layout, responses.nativeObj);

    return retVal;
}

this is from StatModel and I couldn't use those train flags , So What Can I do if anyone can help ?

More clarified clear documentation for ML library ?

Can anyone refer me to a more clarified clear ML Library documentation ? As I am confused now and can't get a real description of methods such as : Train , and Predict. One more thing that I saw many times those train flags such as : Update weights , and No input scale but I can't use them as the only definition I can see for train is that this : public boolean train(Mat samples, int layout, Mat responses) {

    boolean retVal = train_0(nativeObj, samples.nativeObj, layout, responses.nativeObj);

    return retVal;
}

So I want to know : 1 - Do I need to use train method in a for loop to update weights or I just use it once and it will perform what I need ? 2 - Does predict method returns the class label ? 3 - What is this definition of predict where it takes 3 parameters (Mat Test_Data , Mat Responses(output) , int Flags) and what is from StatModel and I couldn't use those train flags , So What Can I do if anyone this Flags parameter ? 4 - How can help I update weights during training or function train performs it ?

click to hide/show revision 4
No.4 Revision

updated 2017-02-01 10:11:31 -0600

berak gravatar image

More clear documentation for ML library ?

Can anyone refer me to a more clear ML Library documentation ? As I am confused now and can't get a real description of methods such as : Train and Predict. One more thing that I saw many times those train flags such as : Update weights and No input scale but I can't use them as the only definition I can see for train is this : :

public  boolean train(Mat samples, int layout, Mat responses)
    {

{

        boolean retVal = train_0(nativeObj, samples.nativeObj, layout, responses.nativeObj);

     return retVal;
 }

So I want to know : 1 - :

  1. Do I need to use train method in a for loop to update weights or I just use it once and it will perform what I need ? 2 - ?
  2. Does predict method returns the class label ? 3 - ?
  3. What is this definition of predict where it takes 3 parameters (Mat Test_Data , Mat Responses(output) , int Flags) and what is this Flags parameter ? 4 - ?
  4. How can I update weights during training or function train performs it ?

More clear documentation for Clear explaination of train and predict methods in ML library ?

Can anyone refer me to a more clear ML Library documentation ? As I am confused now and can't get a real description of methods such as : Train and Predict. One more thing that I saw many times those train flags such as : Update weights and No input scale but I can't use them as the only definition I can see for train is this :

public  boolean train(Mat samples, int layout, Mat responses)
    {

        boolean retVal = train_0(nativeObj, samples.nativeObj, layout, responses.nativeObj);

        return retVal;
    }

So I want to know :

  1. Do I need to use train method in a for loop to update weights or I just use it once and it will perform what I need ?
  2. Does predict method returns the class label ?
  3. What is this definition of predict where it takes 3 parameters (Mat Test_Data , Mat Responses(output) , int Flags) and what is this Flags parameter ?
  4. How can I update weights during training or function train performs it ?