sabio's People
sabio's Issues
Engine & Dataset Parameters
type is list for Engine and dict for Dataset -> implies changes in other areas (such as app.py)
fix padding of date strings
sorting is done on 'x-value' in Result object, so padded string can be unpadded (e.g. by converting to int and back)
RandomEngine.score leads to missing labels error in Pandas
2508490 2022-04-07 13:51:10,032 | Exception on /examples [GET] Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2070, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1515, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1513, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1499, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File "/var/www/flask/sabio/app.py", line 274, in get_examples cur_d, cur_e, cur_o, cur_s = _get_example() File "/var/www/flask/sabio/app.py", line 223, in _get_example scores, details = e.score_and_detail(d.data, **param_dict) File "/var/www/flask/sabio/src/engines/RandomEnginev0.py", line 75, in score_and_detail scores = self.score(objects, round_to=round_to, **param_dict) File "/var/www/flask/sabio/src/engines/RandomEnginev0.py", line 41, in score return self.constant_scores.loc[objects.index] File "/usr/local/lib/python3.8/dist-packages/pandas/core/indexing.py", line 895, in __getitem__ return self._getitem_axis(maybe_callable, axis=axis) File "/usr/local/lib/python3.8/dist-packages/pandas/core/indexing.py", line 1113, in _getitem_axis return self._getitem_iterable(key, axis=axis) File "/usr/local/lib/python3.8/dist-packages/pandas/core/indexing.py", line 1053, in _getitem_iterable keyarr, indexer = self._get_listlike_indexer(key, axis, raise_missing=False) File "/usr/local/lib/python3.8/dist-packages/pandas/core/indexing.py", line 1266, in _get_listlike_indexer self._validate_read_indexer(keyarr, indexer, axis, raise_missing=raise_missing) File "/usr/local/lib/python3.8/dist-packages/pandas/core/indexing.py", line 1321, in _validate_read_indexer raise KeyError( KeyError: "Passing list-likes to .loc or [] with any missing labels is no longer supported. The following labels were missing: Int64Index([ 2, 5, 8, 9, 10,\n ...\n 1140380, 1140385, 1140388, 1140389, 1153236],\n dtype='int64', name='ObjectID', length=144174). See https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#deprecate-loc-reindex-listlike"
/examples route sometimes fails
behaviour relatively unpredictable
TypicalityEngine: indicator scores too high
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.