]> granicus.if.org Git - liblinear/commitdiff
fix a description in README: the size of w is nr_feature*nr_class but we didn't menti...
authorChih-Jen Lin <cjlin@csie.ntu.edu.tw>
Wed, 22 Feb 2017 05:14:38 +0000 (13:14 +0800)
committerChih-Jen Lin <cjlin@csie.ntu.edu.tw>
Wed, 22 Feb 2017 05:14:38 +0000 (13:14 +0800)
README

diff --git a/README b/README
index 38c0c23140b8554fff8273f1ca8244162fddc373..dd7899bb2e09bc09ebdd396abf3d30ec7b07fd07 100644 (file)
--- a/README
+++ b/README
@@ -403,7 +403,8 @@ Library Usage
      nr_class and nr_feature are the number of classes and features,
      respectively. nr_class = 2 for regression.
 
-     The nr_feature*nr_class array w gives feature weights. We use one
+     The array w gives feature weights; its size is
+     nr_feature*nr_class but is nr_feature if nr_class = 2. We use one
      against the rest for multi-class classification, so each feature
      index corresponds to nr_class weight values. Weights are
      organized in the following way