• Vadim Pisarevsky's avatar
    add 2 extra methods to ml::TrainData (#7169) · 40b87070
    Vadim Pisarevsky authored
    * expose 2 extra methods from ml::TrainData: getNames() and getVarSymbolFlags(). The first one returns text labels from CSV (if the data has been loaded from CSV); the second one returns a matrix of boolean values; its n-th element is 1 iff the corresponding column in the CSV uses symbolic names, not numbers.
    
    * check that the dynamic_cast succeeds
    40b87070
Name
Last commit
Last update
..
ann_mlp.cpp Loading commit data...
boost.cpp Loading commit data...
data.cpp Loading commit data...
em.cpp Loading commit data...
gbt.cpp Loading commit data...
inner_functions.cpp Loading commit data...
kdtree.cpp Loading commit data...
kdtree.hpp Loading commit data...
knearest.cpp Loading commit data...
lr.cpp Loading commit data...
nbayes.cpp Loading commit data...
precomp.hpp Loading commit data...
rtrees.cpp Loading commit data...
svm.cpp Loading commit data...
svmsgd.cpp Loading commit data...
testset.cpp Loading commit data...
tree.cpp Loading commit data...