IOT, Timeseries and prediction with Android, Cassandra and Spark
summary
Collects Android accelerometer samples, posts them via REST, stores them in Cassandra using a per-user+date time-series partitioning with optional TTL, then streams recent rows into Spark Streaming through the DataStax connector. Slides 40,000 training samples, computes 15 features per window (mean, variance, stddev, avg abs diff, resultant, amplitude per axis), trains a Random Forest (10 trees) and reports ~92% accuracy versus 69% for a single decision tree. Live demo runs in realtime. Android accelerometer Cassandra time-series model Spark Streaming Random Forest (10 trees)
AI-written summary · about
chapters (15)
- 0:00Intro
- 1:13IOT
- 2:04Internet of Things
- 3:35The Future
- 6:53The Goal
- 8:00Data Collection
- 10:12Cassandra
- 13:36Cassandra model
- 17:11Spark core
- 20:46Spark connector
- 25:20Multiclass classification
- 27:36Training model
- 29:39Slice and analyze
- 35:29Results
- 41:13Conclusion
related talks
33mAnalytics in the age of the Internet of Things #bbuzz
38mReal-time analytics with Apache Cassandra & Apache Spark
59mStreaming Big Data w/Spark, Spark Streaming, Kafka, Cassandra & Akka
52mSolving Analytical Problems using Apache Spark
20mBuilding realtime efficient queries in an IOT platform
21mIoT, Wavelets and Machine Learning in the Smart Home
01h 36mSpark for Scala Developers
21mModeling Financial Data In Cassandra To Serve Real Time And Batch Workloads
