You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the cross-validation example uses macroAverage:
varmacroAverage=newlimdu.utils.PrecisionRecall();limdu.utils.partitions.partitions(dataset,numOfFolds,function(trainSet,testSet){console.log("Training on "+trainSet.length+" samples, testing on "+testSet.length+" samples");varclassifier=newIntentClassifier();classifier.trainBatch(trainSet);limdu.utils.test(classifier,testSet,/* verbosity = */0,microAverage,macroAverage);});macroAverage.calculateMacroAverageStats(numOfFolds);console.log("\n\nMACRO AVERAGE:");console.dir(macroAverage.fullStats());
But utils.testAndTrain's test function uses macroSum which is confusing.
Is it meant to be macroSum in the README or is the function not using the right term?
Also, not related to this but would it be a good idea to add (an optional) randomization to the partitions (e.g.: like how train-test-split does it)?
The text was updated successfully, but these errors were encountered:
I've noticed that the cross-validation example uses
macroAverage
:But
utils.testAndTrain
'stest
function usesmacroSum
which is confusing.Is it meant to be
macroSum
in the README or is the function not using the right term?Also, not related to this but would it be a good idea to add (an optional) randomization to the partitions (e.g.: like how
train-test-split
does it)?The text was updated successfully, but these errors were encountered: