]> granicus.if.org Git - liblinear/commitdiff
Add version information in LIBLINEAR README
authorHsin-Yuan Huang <momohuang@Hsin-Yuans-iMac.local>
Mon, 13 Mar 2017 14:57:05 +0000 (22:57 +0800)
committerHsin-Yuan Huang <momohuang@Hsin-Yuans-iMac.local>
Mon, 13 Mar 2017 14:57:05 +0000 (22:57 +0800)
README

diff --git a/README b/README
index dd7899bb2e09bc09ebdd396abf3d30ec7b07fd07..d59d6ab5f6ca324d2cfd69fb6de468de85f5045b 100644 (file)
--- a/README
+++ b/README
@@ -288,6 +288,13 @@ Output probability estimates (for logistic regression only).
 Library Usage
 =============
 
+These functions and structures are declared in the header file
+`linear.h'.  You need to #include "linear.h" in your C/C++
+source files and link your program with `linear.cpp'. You can see
+`train.c' and `predict.c' for examples showing how to use them. We
+define LIBLINEAR_VERSION and declare `extern int liblinear_version; '
+in linear.h, so you can check the version number.
+
 - Function: model* train(const struct problem *prob,
                 const struct parameter *param);