rpi-wcl / pilots Goto Github PK
View Code? Open in Web Editor NEWPILOTS (ProgrammIng Language for spatiO-Temporal data Streaming applications)
Home Page: http://wcl.cs.rpi.edu/pilots/
PILOTS (ProgrammIng Language for spatiO-Temporal data Streaming applications)
Home Page: http://wcl.cs.rpi.edu/pilots/
This error occurs on Ubuntu 14.04.5 with Python version 2.7.10. When attempting to execute:
python engineIO.py definitions/bayes_config.json
from pilots/util/learningmodel/engine on the learn_dev branch as an example of using the machine learning engine, the following error output message occurs:
Traceback (most recent call last):
File "engineIO.py", line 100, in <module>
env = train_model(json_file)
File "engineIO.py", line 14, in train_model
return _load(json_file_name)
File "engineIO.py", line 87, in _load
read_model(env, json_dict[K.M])
File "engineIO.py", line 57, in read_model
env.feature = env.transform(baseenv.BaseEnv.data_transformer, schema=env.get_schema_info(), constant=env.get_constant(), definition=json_dict[K.A_FEATURES])
File "/home/glownd/Documents/PILOTS_research/git_repos/pilots/pilots/util/learningmodel/engine/scbase/baseenv.py", line 125, in transform
return transformer(self.data, **parameters)
File "/home/glownd/Documents/PILOTS_research/git_repos/pilots/pilots/util/learningmodel/engine/scbase/baseenv.py", line 196, in data_transformer
X = np.apply_along_axis(def_transformer, 1, npmatrix)
File "/usr/local/lib/python2.7/dist-packages/numpy/lib/shape_base.py", line 91, in apply_along_axis
res = func1d(arr[tuple(i.tolist())], *args, **kwargs)
File "<string>", line 1, in <lambda>
File "/usr/local/lib/python2.7/dist-packages/numpy/matrixlib/defmatrix.py", line 318, in __getitem__
out = N.ndarray.__getitem__(self, index)
IndexError: index 3 is out of bounds for axis 0 with size 1
Instead of using java -cp
in the example files to compile the generated java files, it's easier to set up the java class path directly in setenv
file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.