Skip to content

Commit

Permalink
update doc of rescale_outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
hushell authored and hushell committed May 21, 2013
1 parent 6acfcf4 commit b0b6b6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/shogun/multiclass/MulticlassStrategy.h
Expand Up @@ -139,6 +139,8 @@ class CMulticlassStrategy: public CSGObject
}

/** rescale multiclass outputs according to the selected heuristic
* NOTE: no matter OVA or OVO, only num_classes rescaled outputs
* will be returned as the posteriors
* @param outputs a vector of output from each machine (in that order)
*/
virtual void rescale_outputs(SGVector<float64_t> outputs)
Expand All @@ -147,8 +149,10 @@ class CMulticlassStrategy: public CSGObject

/** rescale multiclass outputs according to the selected heuristic
* this function only being called with OVA_SOFTMAX heuristic
* the CStatistics::fit_sigmoid() should be called first
* @param outputs a vector of output from each machine (in that order)
* @param sig_params a vector of sigmoid parameters w.r.t binary machines
* @param As fitted sigmoid parameters a one for each machine
* @param Bs fitted sigmoid parameters b one for each machine
*/
virtual void rescale_outputs(SGVector<float64_t> outputs,
const SGVector<float64_t> As, const SGVector<float64_t> Bs)
Expand Down

0 comments on commit b0b6b6b

Please sign in to comment.