Commit Graph

18 Commits

Author SHA1 Message Date
Hiroyuki Eguchi f99bcca1c1 Support keystone v3 authentification
modify sahara-client to work correctly with
latest keystone v3 authentication.

Change-Id: If119d184d90636327f88cad77c793b99ac6ba58a
2017-06-20 05:16:11 +00:00
Hiroyuki Eguchi c034c74cf8 Modify output of model evaluation
- change the format of output from text to dictionary
- unify parameters of binary classification and
  multiclass classification

Change-Id: I384ccdb06f3cbda44defe4ab40cd66da6ab09231
2017-04-03 11:30:44 +09:00
Jenkins 9536896c68 Merge "Enable KMeans to support a text format" 2017-03-22 07:57:10 +00:00
Hiroyuki Eguchi 1aecbf38ba Enable KMeans to support a text format
Enable KMeans to support a text format using tf-idf.

implements blueprint : support-text-format

Change-Id: I7b29207819771dd44e58f034c30d9787661c1024
2017-03-22 16:29:27 +09:00
Tao Li 179d341ecd Remove log translations
Log messages are no longer being translated. This removes all use of the
_LE, _LI, and _LW translation markers to simplify logging and to avoid
confusion with new contributions. See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I1c77ab511ad9aa87372c66af8cd49f9b2c38e085
2017-03-22 12:07:59 +08:00
Hiroyuki Eguchi 892f96b98d Enable NaiveBayes to support a text format
Enable NaiveBayes to support a text format using tf-idf.

This feature allows user to create following prediction models.
- model detects whether it is a spam mail or not
- model predicts whether it is a review of goodwill or not
- model detects what language a document is written in

implements blueprint : support-text-format
Change-Id: Ib016c587ab821faa7518f6face76d57883dab5ab
2017-03-15 10:57:26 +09:00
Hiroyuki Eguchi 7d2d5ddfb0 Add Tree Models
Meteos only supports DecisionTreeRegression
in tree models until now.
This patch add support models as below.

- DecisionTreeClassification
- RandomForestRegression
- RandomForestClassification

implements blueprint add-support-models
Change-Id: Ia41b852c1cc6ffa10033b3a6140a969cf3c6f716
2017-02-22 15:39:42 +09:00
Hiroyuki Eguchi b72ac81d9c Add RidgeRegression Model
Add a common class named Regression Model and
add Ridge Regression Model.
And add some parameters which are used commonly
in Regression Model.

implements blueprint add-support-models
Change-Id: I4648bf2009ca4910014d3d0afd7496359f48131e
2017-02-21 14:32:15 +09:00
Hiroyuki Eguchi ff493ac8c5 Add NaiveBayes Model
implements blueprint add-support-models

Change-Id: Ic40d6183a7df3bf85a44199db36a4dc8723dbed8
2017-02-13 14:38:32 +09:00
Hiroyuki Eguchi 8009742c0f Add split dataset method
In machine learning, user splits the dataset in general.
One is for creating a prediction model,
the other is for evaluating model.
Add a split dataset command to make it possible.

implements blueprint split-dataset

Change-Id: Idb323a1240d790d5628f9eb31cba8d3a29ad64e8
2017-02-08 16:38:16 +09:00
Hiroyuki Eguchi 6be0be850c Integrate with dashboard
- accept string format in model parameters for meteos-ui
- modify value list which are returned by meteos-api

Change-Id: I10b270d3f33aaf470466f6daa96f1756739d723e
2017-02-01 10:17:46 +09:00
Hiroyuki Eguchi 786806e5d3 Refactoring for pep8
implements blueprint unit-testing

Change-Id: Ie80a1f26c167c2b36f6c06852e2d625b58f4c614
2017-01-22 15:17:43 +09:00
Hiroyuki Eguchi b9fbbba8b7 Model Evaluation
In Machine Learning,
Prediction model needs to be evaluated accuracy.

Add a "meteos model-evaluation" command to allow users
to evaluate their models which they created.

implements blueprint evaluate-model

Change-Id: I35b9322d423a224311541f940ecf985870d7c396
2017-01-20 13:51:12 +09:00
Hiroyuki Eguchi 7122f7baad Online Prediction
This patch allows user to load a Prediction Model
in advance for online prediction.

In online prediction,
user can retrieve a predicted data immediately.

implements blueprint online-prediction

Change-Id: I03c3a1fe3cd5bbc09116729647c2efd508259987
2017-01-07 14:46:20 +09:00
Hiroyuki Eguchi 2581b6d46f Support FP-Growth Model
A spark.mllib provides a parallel implementation
of FP-growth which is a popular algorithm
to mining frequent itemsets.

So, Meteos should support this model.

This model allows user to find
frequent word sets from text data.

implements blueprint support-fp-growth

Change-Id: If44578acf586ed7a68afc1bd1a7cceaa1c036bd7
2016-12-30 14:25:04 +09:00
Hiroyuki Eguchi 4f3503c42c fix a issue that zero parameter doesn't show up
Change-Id: I88c32995faecdee10ddb80c0e83123d3b2f4c73e
2016-12-16 10:27:25 +09:00
Hiroyuki Eguchi dbb8429c8a Add a Word2Vec Model
Change-Id: I6074eea39c01bec380baca8d297911dcc514ba23
2016-12-13 08:07:11 +00:00
Hiroyuki Eguchi 1491d54a1d Initial commit
Change-Id: I0ebc7a689a37b077606545d50a5d139f2059ffdb
2016-12-08 12:33:50 +00:00