Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Luke Gotszling - Prediction Using Python
Search
NewCircle Training
September 19, 2013
Technology
1
1.9k
Luke Gotszling - Prediction Using Python
This is a quick introduction to prediction using Python.
NewCircle Training
September 19, 2013
Tweet
Share
More Decks by NewCircle Training
See All by NewCircle Training
Spark: A Coding Joyride | QCon SF 2015
newcircle
0
820
Intro to Spark Streaming
newcircle
1
1.9k
Artisanal Data on the Web: Using JS and Data to Get Literary 21st Century Style
newcircle
0
650
Java 8 Lambda Expressions & Streams
newcircle
0
610
Macros vs Types
newcircle
0
1.3k
Larry Schiefer - Exploring SDK Add-on for Android Devices
newcircle
0
3k
Scala Collections: Why Not? - Paul Phillps
newcircle
2
9.8k
Dave Smith- Mastering the Android Touch System
newcircle
9
16k
Geoff Matrangola- Migrating Your Apps to the New Gradle Build Process
newcircle
1
1.8k
Other Decks in Technology
See All in Technology
AI連携の新常識! 話題のMCPをはじめて学ぶ!
makoakiba
0
180
累計5000万DLサービスの裏側 – LINEマンガのKotlinで挑む大規模 Server-side ETLの最適化
ldf_tech
0
170
最近読んで良かった本 / Yokohama North Meetup #10
mktakuya
0
420
AWSが好きすぎて、41歳でエンジニアになり、AAIを経由してAWSパートナー企業に入った話
yama3133
2
230
NOT A HOTEL SOFTWARE DECK (2025/11/06)
notahotel
0
2.7k
InsightX 会社説明資料/ Company deck
insightx
0
190
Open Table Format (OTF) が必要になった背景とその機能 (2025.10.28)
simosako
3
630
データエンジニアとして生存するために 〜界隈を盛り上げる「お祭り」が必要な理由〜 / data_summit_findy_Session_1
sansan_randd
1
930
IBC 2025 動画技術関連レポート / IBC 2025 Report
cyberagentdevelopers
PRO
2
250
DSPy入門
tomehirata
6
880
DMMの検索システムをSolrからElasticCloudに移行した話
hmaa_ryo
0
360
Playwrightで始めるUI自動テスト入門
devops_vtj
0
130
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
950
Statistics for Hackers
jakevdp
799
220k
For a Future-Friendly Web
brad_frost
180
10k
[RailsConf 2023] Rails as a piece of cake
palkan
57
6k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
A Tale of Four Properties
chriscoyier
161
23k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Testing 201, or: Great Expectations
jmmastey
46
7.7k
Gamification - CAS2011
davidbonilla
81
5.5k
Transcript
Introduction to Prediction Luke Gotszling Co-founder & CEO at fina"y.io
luke@fina"y.io @lmgtwit September 11, 2013 | SFPython | San Francisco 1
Shark meets cable http://www.#.com/cms/s/0/4557b69c-c745-11de-bb6f-00144feab49a.html http://www.youtube.com/watch?v=1ex7uTQf4bQ 2
CPU graph 3
Linear regression y = α+βx 4
Linear regression Benefits: We" supported and straightforward calculation Built-in estimate
of the degree of fit: R2 (“coefficient of determination”) Problems: Doesn’t handle cycles Questions about parameters (e.g. amount of entries used for regression and steps of extrapolation) 5
EMA (exponential moving average / exponential smoothing / Holt-Winters) Image
citation: http://lorien.ncl.ac.uk/ming/filter/filewma.htm 6
EMA yt = αxt+(1-α)yt-1 y1=x0 7
EMA Benefits: More recent data weighed more heavily Seasonality can
be taken into account Problems: Relies on reversion to mean Divergence and multiple seasons in data Weighting options 8
Other approaches Higher dimensional polynomial fits (and exponential) Fourier transforms
Machine learning: neural networks... Bayesian RSI (relative strength index) and other methods used in technical analysis in finance 9
Data bit.ly/sfpython_prediction_slides bit.ly/sfpython_prediction_notebook 10
Thank you! luke@finally.io @lmgtwit 11