1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-04-26 13:49:14 +08:00

8 Commits

Author SHA1 Message Date
Richard Townsend
981d43f1dd Adds support for multi-class linear SVMs.
This patch
  * Adds a one-vs-all meta classifier into meta/
  * Adds a LinearSVC (essentially the same as LogisticRegression
    but with different libsvm parameters) to linear_models/
  * Adds a MultiLinearSVC into ensemble/ for predicting
    CategoricalAttribute  classes with the LinearSVC
  * Adds a new example dataset based on classifying article headlines.

The example dataset is drawn from WikiNews, and consists of an average,
min and max Word2Vec representation of article headlines from three
categories. The Word2Vec model was computed offline using gensim.
2014-10-05 11:15:41 +01:00
Amit Kumar Gupta
63dcd653b0 NewLogisticRegression returns error instead of nil to indicate error 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
21bb2fc9fa Remove redundant import renames 2014-08-22 07:21:24 +00:00
Richard Townsend
47341b2869 base: Cleaned up duplicate Attribute resolution functions 2014-08-03 15:17:20 +01:00
Richard Townsend
77596a32ed linear_models: merge from v2-instances 2014-08-03 15:17:07 +01:00
albrow
132e3f4527 Create a new default logger and change some print statements to use the logger instead of fmt.Println. 2014-07-20 15:26:13 -04:00
Richard Townsend
477438d972 linear_models: More idiomatic 2014-07-02 15:50:08 +01:00
npbool
05782e9ccc logistic regression, using liblinear 2014-05-05 21:50:13 +08:00