Coder Social home page Coder Social logo

Too less/many parameters: You supplied 15??? One or more output arguments not assigned during call to "mexClassRF_train". about randomforest-matlab HOT 3 OPEN

tingliu avatar tingliu commented on May 29, 2024
Too less/many parameters: You supplied 15??? One or more output arguments not assigned during call to "mexClassRF_train".

from randomforest-matlab.

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
hello, thanks for sending the bug report

i don't have a mac machine currently to test this and will take me till the end 
of 
the week to get a hold of one. 

it will be great if you can post what arguments you were passing, so i can 
setup a 
dummy test. 

like, argument1: size NxD and type, you can get that via whos('argument1')


You can also put in a debug point at line 353 or classRF_Train.m and see if all 
of 
these variables are defined at that point. 
X',int32(Y_new),length(unique(Y)),ntree,mtry,int32(ncat),                       

int32(maxcat), int32(sampsize), strata, Options, int32(ipi),                    

classwt, cutoff, int32(nodesize),int32(nsum), int32(n_size), int32(p_size), 
int32(nsample)

if either one of them is non-existent, it will explain the error message.


I can suggest you compile and run the mex from the source rather than using the 
precompiled mex if you need results in the next few days.


Original comment by abhirana on 16 Feb 2010 at 2:11

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I'm having the same problem; RF classification on the Mac does not work.  All 
variables exist and are defined when passed into mexClassRF_train() but I still 
get the error:


Too less/many parameters: You supplied 15??? One or more output arguments not 
assigned during call to "mexClassRF_train".

Error in ==> classRF_train at 347
    [nrnodes,ntree,xbestsplit,classwt,cutoff,treemap,nodestatus,nodeclass,bestvar,ndbigtree,mtry ...


Original comment by [email protected] on 3 Oct 2011 at 5:03

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
i am so sorry. i could never get access to a mac machine to compile the binary 
so uploaded a user-supplied binary.

these instructions may help you compile directly from the source 
http://code.google.com/p/randomforest-matlab/issues/detail?id=8

Original comment by abhirana on 6 Oct 2011 at 12:55

from randomforest-matlab.

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.