89 Commits

Author SHA1 Message Date
iswarya_vakati
fe7ca77a47 Add python 3.5 in classifier and envlist
Now we can support py35 in classifier,and add the convenience
py35 env.

Change-Id: I19b472fba78491266d73f4e7588482616e100fd2
2017-06-27 15:44:39 +05:30
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
Jenkins
acba4b2a41 Merge "Fix html_last_updated_fmt for Python3." 2017-06-18 00:55:57 +00:00
pallavi
64c3f88072 Fix html_last_updated_fmt for Python3.
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: I119815c687546927a48d829124639b3bed649650
Closes-Bug:#1693670
2017-06-09 14:31:03 +05:30
deepakmourya
93ebc276d1 Use get_rpc_transport instead of get_transport
With the added get_rpc_transport() function in oslo.messaging [1]
and the recent version bump of oslo.messaging to 5.24.2, we can
safely replace get_transport() with get_rpc_transport() which is much
cleaner.

[1] https://review.openstack.org/#/c/454194/

Change-Id: I37ba0aba489d3b3b9d00000549fc67cd05f1d3a4
2017-06-07 13:04:18 +05:30
Jenkins
4594c1becc Merge "remove old oslo.messaging transport aliases" 2017-05-02 00:09:23 +00:00
Hiroyuki Eguchi
b146a852dc Modify a link of Official Documentation
modify README so that official documentations
links wiki because meteos is not official project currently.

Closes-Bug: #1681555
Change-Id: I524eb7386f8f89e876b0815c6468cf75670a3c0b
2017-04-25 15:32:45 +09:00
Jenkins
963cd56f1c Merge "Updated from global requirements" 2017-04-24 03:51:23 +00:00
Jenkins
d31fc9da75 Merge "added error code for bad requests" 2017-04-13 12:04:41 +00:00
the.bling
8260b41a2e remove duplicate key from dict
Change-Id: Ibe22b31efc2e4454277961572a7e2060e78b8842
2017-04-11 14:24:57 +05:30
the.bling
73eef12dee remove old oslo.messaging transport aliases
Change-Id: I23a6b5cd3d6344f1a42460259bcf90197c3312a9
2017-04-11 11:15:01 +05:30
the.bling
aca3fc8ad8 added error code for bad requests
Change-Id: I0c83778830aefb71edc16311e24ec6e1c1bcf432
2017-04-07 16:51:10 +05:30
lingyongxu
0536e7008d Updated from global requirements
Change-Id: I4c546585b5a2671fa8303e5489545c7dca122259
2017-04-06 19:39:45 +08:00
lingyongxu
0247657020 Updated from global requirements
Change-Id: I406a4086f551adc471b72b746e5dc043c6cf7e47
2017-04-06 19:23:44 +08:00
Jenkins
085f35863d Merge "removed return from the method" 2017-04-06 05:46:19 +00:00
the.bling
6ccb043d79 removed return from the method
Change-Id: Icdf75bb52e5b6285e922b78b734a901153949c5c
2017-04-06 10:50:13 +05:30
Jenkins
0f6819f442 Merge "replaced function with set literal" 2017-04-06 03:19:26 +00:00
Jenkins
680ad3afd8 Merge "removed duplicate key from dict" 2017-04-05 05:48:13 +00:00
the.bling
45c5079f49 replaced dict with literal
Change-Id: Ic58c8e39aeb423b898a8d0a793b3152c0d1b693e
2017-04-04 14:59:38 +05:30
the.bling
bc4144302d replaced function with set literal
Change-Id: Ia4484ff272369b29a306a3db01491daf9f79ce71
2017-04-04 13:55:53 +05:30
the.bling
cf4162571b removed duplicate key from dict
Change-Id: Idaed4a7e14f74de1b1e2d602e9c0a90e178a26df
2017-04-04 12:21:25 +05:30
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
Hiroyuki Eguchi
00fd417f26 Extend parameters of model-recreate
Extend parameters of "model-recreate"
so that user can recreate model
with new model parameters.

implements blueprint recreate-model

Change-Id: I703b8d729cfd0d250b143e902100017596327f59
2017-03-29 12:46:50 +09:00
Jenkins
905fb575c7 Merge "Add model api unit test" 2017-03-28 07:01:51 +00:00
ShunliZhou
660a96ff8a Add model api unit test
Add unit test for model api

Change-Id: I8e555d8bc208919d095c3a8986120d6723c80a65
Partially-Implements: blueprint unit-testing
2017-03-27 15:13:18 +08:00
Jenkins
ffeef488ee Merge "Updated from global requirements" 2017-03-27 00:20:08 +00:00
XieYingYun
61e88d6208 Updated from global requirements
Change-Id: I63467383fb41bc53e690ee7e59f12226c2810f13
2017-03-25 18:12:20 +08:00
Jenkins
9536896c68 Merge "Enable KMeans to support a text format" 2017-03-22 07:57:10 +00:00
Jenkins
cda7526ab6 Merge "Remove log translations" 2017-03-22 07:49:44 +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
XieYingYun
a0e0123029 Updated from global requirements
Change-Id: Ie3c8c8ff564e8ff37e44ca911f8fad69e274c8e6
2017-03-22 10:38:59 +08:00
Hiroyuki Eguchi
1ecd4582ec Fix a TypeError
Change-Id: Ia1a0a6bdf0707ccf96a02dec36f94f0c68b165fc
2017-03-15 16:28:58 +09: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
Jenkins
f78676d89e Merge "cors: update default configuration" 2017-03-15 00:54:31 +00:00
iswarya_vakati
8deb39812a cors: update default configuration
Set_defaults has been added into oslo_middleware. so we use it
to override the configuration defaults.
More details: https://review.openstack.org/#/c/285368

Change-Id: I087db1a00aa3b0c9f0749343435f1428664f98dd
2017-03-13 09:53:30 +00:00
iswarya_vakati
47e93ecddf Pass located tests directory in oslo debug
According to [1], we can passing a "-t" argument to
oslo_debug_helper to indicate the directory where tests
are located. This will solves ImportError exception.

[1] https://docs.openstack.org/developer/oslotest/features.html

Change-Id: Iea41d487e9028fdf92450c0ee44ef2f6c27eab6f
2017-03-13 15:21:00 +05:30
iswarya_vakati
8771244722 Replaced python 3.4 to 3.5
Change-Id: I9c2da030f4a262149a4faab5b53058b68817e263
2017-03-09 17:42:43 +05:30
shunliz
2bc9dcc9c0 Add learning api unit test
Add unit test for leanring api

Change-Id: I4250cb723712f825c652c96e1e579a50389136fb
2017-03-07 10:49:52 +08:00
Hiroyuki Eguchi
5045c6c189 Return related resource information
This bug is related to below bp.

Add Overview Panel
https://blueprints.launchpad.net/meteos-ui/+spec/overview-panel

This bp aims to add a overview panel which show up
relationships among machine learning resources.

To make this bp possible, meteos-api must return
information how resources are related to each other.

For instance, model is related to experiment,
so meteos-api has to return the model information
including experiment_id.

Closes-Bug: 1668577
Change-Id: I26e49853195ac4c0a4d7bd20073cc5a111f36ad8
2017-02-28 21:23:46 +09:00
Jenkins
723b2d8da8 Merge "Add unit test for experiment" 2017-02-27 12:42:12 +00:00
shunliz
a2a317be84 Add unit test for experiment
Add unit test for experiment

Change-Id: Ifc46c4c9fd4558038433773ddbac5da56d2ec694
2017-02-27 10:51:48 +08:00
Hiroyuki Eguchi
d9d14b05c1 Fix DB DataError
Some model parameters have been added by the below bp.

Add support models
https://blueprints.launchpad.net/meteos/+spec/add-support-models

It makes model_params longer than 255 characters.

As the result, DB Error occurred when creating model.
Change column type of model_params from String(255) to Text().

Change-Id: I8123408b76b90d3b390a216413b5e455b86fdec5
Closes-Bug: 1667173
2017-02-23 11:19:08 +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
iswarya_vakati
d412e10193 Use https instead of http for git.openstack.org
Change-Id: Ia1f7b8b9e25c3b1d195341532763a05d02cda1fd
2017-02-21 16:32:10 +05:30
Jenkins
3bf27d30da Merge "Add RidgeRegression Model" 2017-02-21 06:58:21 +00:00
Jenkins
da756774af Merge "Added scripts to install virtual environment" 2017-02-21 06:51:56 +00:00
Jenkins
242f91a5e9 Merge "Complete unit test for dataset" 2017-02-21 06:45:48 +00: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
Jenkins
d3dec03027 Merge "Replaces uuid.uuid4 with uuidutils.generate_uuid()" 2017-02-21 05:18:50 +00:00