SlideShare a Scribd company logo
1 of 10
Download to read offline
난 “돈 많은 한량 “ 이 되고 싶었어
난 “ 돈 많은 한량 “ 이 되고 싶었어
난 “ 돈 많은 한량 “ 이 되고 싶었어
2018.10.19
Chi-oh Song
난 “돈 많은 한량 “ 이 되고 싶었어
모든 술집 테이블 曰 가즈아
난 “돈 많은 한량"이 되고 싶었어
All day & 단타
난 “돈 많은 한량"이 되고 싶었어
데이터이해: Candle stick & tick
난 “돈 많은 한량"이 되고 싶었어
getData & def Labeling()
무엇을 예측할 것인가?
1. 미래 그래프 예측(생성)
2. X시간이 지나기 이전에 α% 이상 상승하락 예측
3. X ~ Y 시간 사이에 α% 이상 상승하락 예측
day 8
size 160MB
row 2,280,000
time 10 hours
난 “돈 많은 한량"이 되고 싶었어
Labeling() 성능 비교 – Pandas, PySpark
TYPE 1 – Pandas를 이용 = 1.3s
TYPE 2 – PySaprk 이용, 1시간 동안의 데이터에서 max 값 추출 및 비교 = 210.7s
TYPE 3 – PySpark 이용, 1시간 동안의 데이터에서 0.5% 이상 상승 tick 추출 = 0.6s
TYPE 4 – PySpark 이용, 0.5%이상 상승 tick에서 1시간 내 tick 추출 = 0.29s
난 “돈 많은 한량"이 되고 싶었어
PySpark의 복병 collect()
- Problem
Transformation 결과를 이용해 collect() action을 할 때
많은 시간 소요
- Solution
Cㅏ이썬 기반의 Numpy
Persist()를 통한 7.3배 속도 향상
난 “돈 많은 한량"이 되고 싶었어
seq2seq(sequence to sequence)
Past 4H 100 candle(ohlcv) sticks --> Future predict 4H 30 high price of candle stick
Train 100,000 :
Train 1,000,000 :
Row :
Col :
min loss 0.009
min loss 0.002
1982 (Since 2017.08.17 09:00)
5 (ohlcv)
난 “돈 많은 한량"이 되고 싶었어
Ta-lib & PCA & dqn
난 “돈 많은 한량"이 되고 싶었어
역시 꿈이었나?
느낀 점
- 역시 이렇게 쉽게 될 리 없다
- 안정적인 서버가 필요할 때엔 무조건 클라우드
- Spark에서 과한 action 남발은 독, 쿼리만 잘 짜도 퍼포먼스 향상
해보고 싶은 점
- Tick이 모여 candle이 된다. 이 Tick을 처리가능한 컴퓨팅 파워에서 Tick를 기준으로 학습을 시킨다면?
- 모든 암호화폐 데이터를 활용하여 앙상블을 한다면?
- 실시간 재 학습이 가능하다면?
- 모든 보조지표를 활용한다면?
부자들은 단순히 돈을 버는데 힘을 쓰지 않는다.
돈이 벌리는 시스템을 가지고 있다.

More Related Content

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

2018 데이터야놀자 X Little Big Data - 돈많은한량이되고싶었어

  • 1. 난 “돈 많은 한량 “ 이 되고 싶었어 난 “ 돈 많은 한량 “ 이 되고 싶었어 난 “ 돈 많은 한량 “ 이 되고 싶었어 2018.10.19 Chi-oh Song
  • 2. 난 “돈 많은 한량 “ 이 되고 싶었어 모든 술집 테이블 曰 가즈아
  • 3. 난 “돈 많은 한량"이 되고 싶었어 All day & 단타
  • 4. 난 “돈 많은 한량"이 되고 싶었어 데이터이해: Candle stick & tick
  • 5. 난 “돈 많은 한량"이 되고 싶었어 getData & def Labeling() 무엇을 예측할 것인가? 1. 미래 그래프 예측(생성) 2. X시간이 지나기 이전에 α% 이상 상승하락 예측 3. X ~ Y 시간 사이에 α% 이상 상승하락 예측 day 8 size 160MB row 2,280,000 time 10 hours
  • 6. 난 “돈 많은 한량"이 되고 싶었어 Labeling() 성능 비교 – Pandas, PySpark TYPE 1 – Pandas를 이용 = 1.3s TYPE 2 – PySaprk 이용, 1시간 동안의 데이터에서 max 값 추출 및 비교 = 210.7s TYPE 3 – PySpark 이용, 1시간 동안의 데이터에서 0.5% 이상 상승 tick 추출 = 0.6s TYPE 4 – PySpark 이용, 0.5%이상 상승 tick에서 1시간 내 tick 추출 = 0.29s
  • 7. 난 “돈 많은 한량"이 되고 싶었어 PySpark의 복병 collect() - Problem Transformation 결과를 이용해 collect() action을 할 때 많은 시간 소요 - Solution Cㅏ이썬 기반의 Numpy Persist()를 통한 7.3배 속도 향상
  • 8. 난 “돈 많은 한량"이 되고 싶었어 seq2seq(sequence to sequence) Past 4H 100 candle(ohlcv) sticks --> Future predict 4H 30 high price of candle stick Train 100,000 : Train 1,000,000 : Row : Col : min loss 0.009 min loss 0.002 1982 (Since 2017.08.17 09:00) 5 (ohlcv)
  • 9. 난 “돈 많은 한량"이 되고 싶었어 Ta-lib & PCA & dqn
  • 10. 난 “돈 많은 한량"이 되고 싶었어 역시 꿈이었나? 느낀 점 - 역시 이렇게 쉽게 될 리 없다 - 안정적인 서버가 필요할 때엔 무조건 클라우드 - Spark에서 과한 action 남발은 독, 쿼리만 잘 짜도 퍼포먼스 향상 해보고 싶은 점 - Tick이 모여 candle이 된다. 이 Tick을 처리가능한 컴퓨팅 파워에서 Tick를 기준으로 학습을 시킨다면? - 모든 암호화폐 데이터를 활용하여 앙상블을 한다면? - 실시간 재 학습이 가능하다면? - 모든 보조지표를 활용한다면? 부자들은 단순히 돈을 버는데 힘을 쓰지 않는다. 돈이 벌리는 시스템을 가지고 있다.