Commit Graph

353 Commits (73f7cbbe8ac5e2f026edabc4f72b9b8a5de858a7)
 

Author SHA1 Message Date
drevicko 83ddd5e990 add neutralValue to fsre conversion senpy file 7 years ago
drevicko d77d01c3e1 Adds neutral value to conversion senpy files 7 years ago
drevicko f6271495c1 use emoionml names for fsre and pad dimensions
This lines up the names in the conversion plugins with the [emotionML suggested vocab](https://www.w3.org/TR/emotion-voc/#dimensions).

emoml has different names for the 4-dimensional fsre scheme and the 3-dimensional vad scheme, which this pull request has added.

I've added the "unpredictability" dimension and mapped big6:surprise to it's maximum value. The assumption is that surprise varies between 5 and 10 to be in line with the other dimensions (no such thing as negative surprise, so no values less than 5). I see that arousal also has all values >5 (so no negative arousal). Ideally, surprise mappings for V, A and D should be calculated empirically - I think there'll be some arousal and possibly slightly lowered dominance.

I wonder if we should use another colon in the emoml names, eg: "emoml:fsredim:valence" or "emoml:big6:happiness", since the [emoml suggested vocab](https://www.w3.org/TR/emotion-voc/xml) only specifies names like "happiness" in a category "big6" (ie: it's hard to know which is the category in "big6happiness").
We'd have to go through the example plugins and make sure they also conform...

open to discussion on this btw...

ps: apologies for multiple changes in this one pr..
7 years ago
drevicko 1cccd9d5cb Minor change in description text 7 years ago
J. Fernando Sánchez a243f68bfc WIP simpler pipeline 7 years ago
J. Fernando Sánchez fca0ac00c4 Merge branch '38-json-serialization-problem-with-sets' 7 years ago
J. Fernando Sánchez 9a2932b569 Merge branch '39-plugin-tests-missing' 7 years ago
J. Fernando Sánchez 9acee50837 Merge branch 'failed-examples' 7 years ago
J. Fernando Sánchez cd22291dc9 Merge branch '42-add-parameters-to-the-playground' 7 years ago
J. Fernando Sánchez 85aef3d15f Improved shelf tests
Refactored template tests
7 years ago
J. Fernando Sánchez b6f00385ab Fixed test for failed validation
Note that the schema currently supports both string and object analysis in the
"analysis" field of a result.
7 years ago
J. Fernando Sánchez 8c5f894843 Fixed turtle outformat in playground 7 years ago
J. Fernando Sánchez 9870391088 Run tests from gsiupm/senpy 7 years ago
militarpancho ad2051307a Grouped plugins by plugin Type with and optgroup. This ought to close #42 7 years ago
militarpancho 7fd16a17fb Use the exported values to generate the form in the playground Issue #42 7 years ago
militarpancho 7547fc49af Change params dict structure. #42 7 years ago
militarpancho 7f44f9e85d Fix changes in blueprints api for showing help 7 years ago
militarpancho aaad5e8f2b Add 'help' as a parameter to the API, with two options: "true" and "false". It is false by default.
Modify all the /api blueprint to export the list of available params
7 years ago
J. Fernando Sánchez 9bea267f52 Fixed makefile error
Tests were run in the image of the latest senpy, but it did not mount
the current code.
7 years ago
J. Fernando Sánchez 4d7e8e7589 Added tests for all "discoverable" plugins
Closes #39
7 years ago
J. Fernando Sánchez 8e4578dc25 Closes #40 7 years ago
J. Fernando Sánchez 24c97256e8 Added serialization of sets 7 years ago
J. Fernando Sánchez 312e7f7f12 Avoid python temporary files in pip tests 7 years ago
J. Fernando Sánchez c555b9547e Non-interactive pip test 7 years ago
J. Fernando Sánchez 991ade8f4d Make sdist non-interactive non-tty 7 years ago
J. Fernando Sánchez 1104e816cb Push pip for tags without a preceding v 7 years ago
J. Fernando Sánchez c19d03b41d Added SSH access to github fetch 7 years ago
J. Fernando Sánchez 42c9068991 Add pull policy to k8s deployment
* Add git fetch to (try to) fix github push from gitlab
7 years ago
J. Fernando Sánchez 96843827bd Removed __main__ from test coverage reports 7 years ago
J. Fernando Sánchez d76e4618fe Removed python 3.4 from travis versions 7 years ago
J. Fernando Sánchez c9bc485535 Merge branch '36-estimate-vad' 7 years ago
J. Fernando Sánchez 6d7575bbcd Merge branch '35-timeout-and-blocking-requests' 7 years ago
J. Fernando Sánchez 852bcc72ba Better centroid conversion
Also added **simple** tests for backward and forward conversion.
In future versions we should add thorough tests.

Should close gsi-upm/senpy#31
7 years ago
J. Fernando Sánchez bf5ed1bd7d Merge remote-tracking branch 'drevicko/patch-6' 7 years ago
J. Fernando Sánchez 00da75153a Change conversion to Euclidean distance
* Added neutral point (if present)

Closes !gsi-upm/senpy#37 (Ian's)
7 years ago
J. Fernando Sánchez fa082e11e7 Use flask's server by default
Using this server in production is discouraged, but to implement a
proper asynchronous server with tornado/gevent every blocking call would
have to be converted to a non-blocking call.

Failing to do so causes deadlocks like senpy/senpy#35

For now, it is easier to just use the default server.
7 years ago
J. Fernando Sánchez 6331d31b18 Merge branch '34-document-plugin-repo-creation' into 24-improve-docs
Closes #34
Closes #24
7 years ago
J. Fernando Sánchez 8ee324f566 Clearer docs 7 years ago
J. Fernando Sánchez 188c33332a Removed nbsphinx
It requires pandoc, which cannot be installed with pip.

We can either link to the nbfile or convert the file
manually/automatically:

```
nbconvert SenpyClientUse.ipynb --to rst
```
7 years ago
militarpancho 955e17eb2a Added travis, readthedocs and pypi badges 7 years ago
militarpancho 3e0f55dcff Improve docs. (Badges missing) 7 years ago
J. Fernando Sánchez 2ea01aef42 Fixed deployment IMAGENAME 7 years ago
J. Fernando Sánchez 147fd4a333 Fixed IMAGENAME 7 years ago
J. Fernando Sánchez e31bca7016 Push to dockerhub instead of private registry 7 years ago
J. Fernando Sánchez 7956d54c35 K8s deployment with limits 7 years ago
militarpancho 5bab9a6a02 #34. Fixed some errors from plugins examples 7 years ago
militarpancho 69ac95bb08 Added example plugin in docs. #34 7 years ago
drevicko 6b843a4384 fixes typo in code 7 years ago
drevicko 65d6e47513 Implements Fernando's suggestion in #31
I've added a neutral point definition (in the converters senpy file) as used in pull request #29
7 years ago
drevicko 8d56a0b630 fixes #31
I've used euclidean metric instead of taxicab as I feel it makes more sense (taxicab has bizzare unintuitive effects for points far from the centroids).
7 years ago