cjackie / activitiesprediction Goto Github PK
View Code? Open in Web Editor NEWStony Brook University ESE 440/441 project. The implementation is according to journal paper: http://dl.acm.org/citation.cfm?id=2973752
Stony Brook University ESE 440/441 project. The implementation is according to journal paper: http://dl.acm.org/citation.cfm?id=2973752
currently DataSet is:
class DataSet(Base):
__tablename__ = 'DataSet'
id = Column(Integer, primary_key=True)
label_id = Column(Integer, ForeignKey('ActivityLabel.id'))
position_id = Column(Integer, ForeignKey('BodyPosition.id'))
timestamp = Column(Integer, nullable=False)
ax = Column(Float, nullable=False)
ay = Column(Float, nullable=False)
az = Column(Float, nullable=False)
gx = Column(Float, nullable=False)
gy = Column(Float, nullable=False)
gz = Column(Float, nullable=False)
mx = Column(Float, nullable=False)
my = Column(Float, nullable=False)
mz = Column(Float, nullable=False)
But we need to split this class into two classes:
We don't need mx
, my
, mz
Currently the CommTask
class in the mobile app updates two TextView instances. Clearly this is not a good class design. It is not an urgent task but we should move it the the main UI task someday. We can achieve that using IPC between threads
@kbumsik
Can you create scripts to migrate data into the dabtabase? Shoaib_data_set, and my_data.
the APIs are specified by here
we should change the send message to:
SEND <type> <length of payload> <label> [body position]\LF
<CSV file payload>
and type is either 'accelerometer' or 'gyroscope'.
CSV file payload
timestamp1, x1, y1, z1
timestamp2, x2, y2, z2
.
.
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.