Commit Graph

353 Commits (73f7cbbe8ac5e2f026edabc4f72b9b8a5de858a7)
 

Author SHA1 Message Date
drevicko e7ac6e66b0 update _forward_conversion docstring + minor edits 7 years ago
J. Fernando Sánchez 0f8d1dff69 Fixed image repository 7 years ago
J. Fernando Sánchez 236183593c Hidden variables 7 years ago
J. Fernando Sánchez 7637498517 Added push to github 7 years ago
J. Fernando Sánchez 8c70433312 Added push to github 7 years ago
J. Fernando Sánchez ce83fb3981 Added k8s deployment 7 years ago
J. Fernando Sánchez 28f29d159a Merge branch 'gh-34-broken-shelf' into 0.8.x 7 years ago
J. Fernando Sánchez c803f60fd4 Merge branch 'drevicko/provide-analyse-traceback-in-log' into 0.8.x 7 years ago
J. Fernando Sánchez 12eae16e37 Merge branch 'drevicko-patch-5' into 0.8.x 7 years ago
J. Fernando Sánchez f3372c27b6 Merge branch '32-update-module-dev-environment' into 0.8.x 7 years ago
Ian Wood b6de72a143 chaged exception logging to 'exception()' in analysie() 7 years ago
J. Fernando Sánchez 0f89b92457 Fixed pickling error in py2.7 7 years ago
J. Fernando Sánchez ea91e3e4a4 Add an option to force the load of shelf plugins
Closes gsi-upm/senpy#34
7 years ago
Ian Wood f76b777b9f don't fail if shelf pickle file broken 7 years ago
drevicko dcc965ea63 removed superfluous 'neutral' centroid
Neutral is included as an 'origin' field. This is partly because emoml has no vocab for "Neutral" in dimensional models.
7 years ago
drevicko 400f647b7b removed unneccessary defaultdict import 7 years ago
Ian Wood ec1a2ff5f9 added 'origin' to VAD representation, incorporated into weighed sum for Cat->VAD conversion 7 years ago
J. Fernando Sánchez e112dd55ce Pip install editable
Closes senpy/senpy#32
7 years ago
J. Fernando Sánchez 60ef304108 Analysis set as a python list
Closes senpy/senpy#31
7 years ago
Ian Wood 1a9dd07f7e Merge branch 'master' 0.8.7 into patch-6 7 years ago
Ian Wood b80b0c7947 used more specific exception specifier (KeyError) 7 years ago
Ian Wood 1ca6ec52fd fixed weighted average, no explicit treatment of 'neutral' 7 years ago
J. Fernando Sánchez 7927cf1587 add option to show senpy version number
Merge branch 'patch-5' of https://github.com/drevicko/senpy into drevicko-patch-5
7 years ago
J. Fernando Sánchez 13cefbedfb Clean dev containers in makefile 7 years ago
J. Fernando Sánchez 4ba9535d56 Merge branches into 0.8.x
'25-validation-errors'
'27-add-method-to-get-list-of-plugins'
'28-fix-multiprocessing-issues'
7 years ago
J. Fernando Sánchez e582ef07d4 Fix multiprocessing tests in python2.7
Closes #28 for python 2.

Apparently, process pools are not contexts in python 2.7.
On the other hand, in py2 you cannot pickle instance methods, so
you have to implement Pool tasks as independent functions.
7 years ago
J. Fernando Sánchez ef40bdb545 Replace gevent with tornado
Closes #28

Added:

* Async test (still missing one that includes the IOLoop)
* Async plugin under tests. To manually try async functionalities:
```
senpy -f tests/
```
7 years ago
J. Fernando Sánchez e0b4c76238 Add plugin method to client
Closes #28
7 years ago
J. Fernando Sánchez 14c86ec38c Set plugin list as a @set and fixed test case
It turns out setting "plugins" as a @list in the context causes the
"plugins" property to expand to its full name.
Removing the type causes a regression of #17, which I initially missed
because the test in #17 was wrong.

Closes #26
7 years ago
J. Fernando Sánchez d3d05b3218 Fixed expansion of "plugins"
Closes #26

There was no need to add @list, and it was causing JSON-LD to expand the
URI of 'plugins'
7 years ago
J. Fernando Sánchez eababcadb0 Analysis as strings or objects in results
Closes #25
7 years ago
drevicko 7efece0224 add option to show senpy version number 7 years ago
drevicko 53138e6942 Estimate VAD by weighted average
Does a weighted average of centroids.

If intensity sums to zero for a category, a 'neutral' category is used or 0 if it's not present. I'm not 100% sure this is the best approach, and the name of the "neutral" category perhaps should use some convention?

Note that if there are no categories present, then no VAD (or other dimensional) estimate is returned. It may be better to use the neutral centroid if it's present in this case also.
7 years ago
J. Fernando Sánchez 1302b0b93c Fixed pip tests (added version) 7 years ago
J. Fernando Sánchez ad1092690b Merge branch '20-improve-docs' into 0.8.x 7 years ago
J. Fernando Sánchez e35e810ede Rephrase info on demo plugins
Closes #20
7 years ago
militarpancho d5ddcb8d3f Change repository url 7 years ago
militarpancho 54c0c9c437 demo doc changed 7 years ago
J. Fernando Sánchez 6e970d01f2 Merge branch '21-ascii-cant-encode' into 0.8.x 7 years ago
J. Fernando Sánchez 1d0a54ecd2 Merge branch '22-pip-screws-with-logging-config' into 0.8.x 7 years ago
J. Fernando Sánchez 800d4a9c2c Fixed typos in Ian's patch 7 years ago
drevicko 035ef98b7e removed broken "/api" link
In index.html, there is a suggestion to try out the api with a link to "/api". Clicking that link results in a json error report - not ideal. 
Instead, I added text suggesting that a use can find example api url's after clickgin "Analyse!".
7 years ago
J. Fernando Sánchez d7e115d7c2 Encode HEADERS
Closes #21
7 years ago
J. Fernando Sánchez 548cb4c9ba Doc changes
* Alabaster theme
* Restructured
* Simplified introduction
* Reference to entries/models
* Fixed examples
7 years ago
J. Fernando Sánchez 7e5b55ff9c Run pip with Popen
Closes #22
7 years ago
militarpancho 8b2c3e8d40 Update readthedocs. Mainly Api and What is senpy section 7 years ago
J. Fernando Sánchez 0c8f98d466 Pre-0.8.6
* Improved debugging (back to using Flask's built-in mechanisms)
* Recursive model loading from json
* Added DEVPORT to Makefile
* Accept json-ld input. Closes #16
* Improved Exception handling in client
* Modified default plugin selection to only include analysis plugins
* More tests
7 years ago
J. Fernando Sánchez cc298742ec Merge branch '17-...' into 0.8.x 7 years ago
J. Fernando Sánchez 250052fb99 Options as a set in the JSON-LD context
Closes #18
7 years ago
J. Fernando Sánchez 603e086606 Fix list of plugins
Closes #17
7 years ago