<akhunti1[m]>
Hi All , i want to store [ rf.Classify(arma::mat(res), testPredictions, probs); ] this line in a variable .
<akhunti1[m]>
like this model= rf.Classify(arma::mat(res), testPredictions, probs
<akhunti1[m]>
* to store \[ rf.Classify(arma::mat(res),, * testPredictions, probs); \] this, * testPredictions, probs)
AnshKanotra[m] has quit [Quit: You have been kicked for being idle]
<rcurtin[m]>
I don't know what you mean; Classify() returns void and stores the predictions and probabilities in testPredictions and probs
<akhunti1[m]>
Classify() is the method i used for Random forest algorithm to get testPredictions and probs .
<akhunti1[m]>
i want add as a return statement inside the function :
<akhunti1[m]>
like this model= rf.Classify(arma::mat(res), testPredictions, probs)
<akhunti1[m]>
return probs
<akhunti1[m]>
s/return probs/return model.probs/
<zoq[m]>
> <@akhunti1:matrix.org> i want add as a return statement inside the function :
<zoq[m]>
> like this model= rf.Classify(arma::mat(res), testPredictions, probs)
<zoq[m]>
Classify takes a reference as input. Once you called Classify, `probs` will contain the probabilities.
<zoq[m]>
> return model.probs
<zoq[m]>
zoq[m]: That means, no need to return the probabilities.
<vaibhavp[m]>
Hey rcurtin zoq: I have uploaded my proposal for GSoC. If you have any questions about it you can personally message me. I have included a few examples about how the API will look like in the proposal, please check it out if you are especially interested. Please provide your feedback and share your thoughts. I would be happy to make any changes you would like to see in the proposal. Thank you!
<Aryaman123_Fauzd>
> <@aryaman1202:gitter.im> Hello everyone! Myself, Aryaman Singh Fauzdar, a 3rd-year undergrad student pursuing Bachelor of Technology in Computer Science and Engineering from Manipal University Jaipur in India. I went through the list of project ideas for GSOC 2023 on the GitHub page of MLPack and found the... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/247412be1b39bbf20b33f2a6afd557a72065325c>)
robobub has quit [Quit: Connection closed for inactivity]