SlideShare uma empresa Scribd logo
1 de 62
Baixar para ler offline
ゲームを動かす
データ分析
Alex Onsager
Happy Elements株式会社
自己紹介
• Alex Onsager (アレックス) です
   - 色々な場所で @aonsager

• Happy Elements株式会社でプランナーをしています
Happy Elements
• 京都でソーシャルゲーム作っています




 マジョカ✝マジョルナ    あんさんぶるガールズ!    百花繚乱あやかし姫




はじめようハッピー☆ママ   はじめようポケット・バー    パズル騎士団
あんさんぶるガールズ!




最近Androidアプリ版リリースしたりしました
iPhoneはもうすぐ
では本題に
ソーシャルアプリするなら
データ分析は必須です
まず、MVPをリリースする
MVP?

•Minimum Viable Product 
 -必要最低限機能
 -最低限の機能で、最大限のデータを集められる商品
 -リーン・スタートアップのアレです

なるべく早くリリースして、
なるべく早くたくさんのデータを集めて、
なるべく早く良い商品にする
プランナーの仕事は?
プランナーの仕事 ①




  どこに改善が必要か
    早く見つける
プランナーの仕事 ②




  どう改善が必要か
    早く決断する
プランナーの仕事 ③




      遅い。
    もっと早く。
でもなかなか
難しいですよね
従来の分析・統計は
多分こんな感じ
従来のデータ分析
• どういう質問の答えを知りたいか決める
   - どういうアイテムを売ったら買う人が増える?
• その質問の答え方を考える
   - 課金したユーザーのレベルを見てみる
• そこで必要となった情報を保存し始める
   - 課金したら、そのユーザーのレベルを統計ログに残す
   - (予想して既にとってたらエライ)
• 情報をみて、決断する
   - 低レベルのユーザーが全然課金してないから、そこが欲しが
   るようなアイテムを導入してみる
• 繰り返す
従来のデータ分析
• どういう質問の答えを知りたいか決める
   - どういう商品だったらもっと買いたくなる?
• その質問の答え方を考える
         この間が長い!
   - 課金したユーザーのレベルを見てみる
• そこで必要となった情報を保存し始める
   - 課金したら、そのユーザーのレベルを統計ログに残す
   - (予想して既にとってたらエライ)
• 情報をみて、決断する
   - 低レベルのユーザーが全然課金してないから、そこが欲しが
   るようなアイテムを導入してみる
• 繰り返す
この形のデメリット
• 質問をしてから答えがわかるまでにタイムラグがある

• 新しくデータを書き出す時、それは1つの質問だけの答えとなる

• もっとデータが欲しかったら、新たに開発が必要
このままじゃダメだ
もっと理想的な形だと...
理想
• 質問をしてからすぐに答えが出る

• 同じデータで復数の質問に答えれる
  - 「もっとデータが必要」が無くなる

• 新しく質問をするとき、追加の開発は必要ない
作ってもらっちゃいました
    (・ω<)
新データ分析ツール
• ユーザーが意味のある行動をするとログを書き出す
  - 課金する、アイテム使う、カードゲットする、ボス叩く、etc.
  - ユーザーの基本情報も一緒に書き出される
    - レベル、体力、ボスレベル、etc.
• 後でどう使われるかは気にせず、とにかくログを書きだす

• 後で好きなようにログを集計して分析する
ログはこんな感じ
ログ

 attributes: {
   category: card
   type: get
   owner_id: xxxxxxxxxx
   request: { 
     page: missions/receive_reward
   }
   info: { 
     type: 1
     id: 22
     special: false
   condition: { 
     level: 20
     st: 50
     bp: 1
     max_st: 150
     max_bp: 5
     gacha_pt: 1000
     cards_count: 80
     friends_count: 10
     leader_card_id: 100
     training_card_id: 100
     joined_at: 2013/02/01 00:00:00
   }
   time: 2013-02-04 00:00:00
 }
ログ

 attributes: {
   category: card
                                      カードを手に入れた
   type: get
   owner_id: xxxxxxxxxx
   request: { 
     page: missions/receive_reward
   }
   info: { 
     type: 1
     id: 22
     special: false
   condition: { 
     level: 20
     st: 50
     bp: 1
     max_st: 150
     max_bp: 5
     gacha_pt: 1000
     cards_count: 80
     friends_count: 10
     leader_card_id: 100
     training_card_id: 100
     joined_at: 2013/02/01 00:00:00
   }
   time: 2013-02-04 00:00:00
 }
ログ

 attributes: {
   category: card
   type: get
   owner_id: xxxxxxxxxx
   request: { 
     page: missions/receive_reward
   }
   info: { 
     type: 1                          レイドミッションで手に入れた
     id: 22
     special: false
   condition: { 
     level: 20
     st: 50
     bp: 1
     max_st: 150
     max_bp: 5
     gacha_pt: 1000
     cards_count: 80
     friends_count: 10
     leader_card_id: 100
     training_card_id: 100
     joined_at: 2013/02/01 00:00:00
   }
   time: 2013-02-04 00:00:00
 }
ログ

 attributes: {
   category: card
   type: get
   owner_id: xxxxxxxxxx
   request: { 
     page: missions/receive_reward
   }
   info: { 
     type: 1
     id: 10
     special: false
   condition: { 
     level: 20                        ID 10のカードを手に入れて、
     st: 50
     bp: 1
                                       それはキラじゃなかった
     max_st: 150
     max_bp: 5
     gacha_pt: 1000
     cards_count: 80
     friends_count: 10
     leader_card_id: 100
     training_card_id: 100
     joined_at: 2013/02/01 00:00:00
   }
   time: 2013-02-04 00:00:00
 }
ログ

 attributes: {
   category: card
   type: get
   owner_id: xxxxxxxxxx
   request: { 
     page: missions/receive_reward
   }
   info: { 
     type: 1
     id: 10
     special: false
   condition: { 
     level: 20                         ユーザーについて
     st: 50
     bp: 1
                                      その他色々嬉しい情報
     max_st: 150
     max_bp: 5
     gacha_pt: 1000
     cards_count: 80
     friends_count: 10
     leader_card_id: 100
     training_card_id: 100
     joined_at: 2013/02/01 00:00:00
   }
   time: 2013-02-04 00:00:00
 }
ログ

 attributes: {
   category: card
   type: get
   owner_id: xxxxxxxxxx
   request: { 
     page: missions/receive_reward
   }
   info: { 
     type: 1
     id: 10
                                      こういうログが
     special: false
   condition: { 
     level: 20
     st: 50
                             たくさん書きだされます
     bp: 1
     max_st: 150
     max_bp: 5
     gacha_pt: 1000
     cards_count: 80
     friends_count: 10
     leader_card_id: 100
     training_card_id: 100
     joined_at: 2013/02/01 00:00:00
   }
   time: 2013-02-04 00:00:00
 }
今回の主役は mongoDB
イケメンポイント ①




   大量のデータを
   流しこんでも平気
イケメンポイント ①




    大量のデータを
   流しこんでも平気
                へっち ゃらさ
             ョンも
         リケーシ
 シャー ド、レプ
イケメンポイント ②




   ログがテキストで
     形も自由
イケメンポイント ②




 なんか書いてみたけど
ログってこれでいいの?
イケメンポイント ②




 なんか書いてみたけど
ログってこれでいいの?

      いいよ!
イケメンポイント ②




こういう値も欲しかった。
追加しちゃってもいい?
イケメンポイント ②




こういう値も欲しかった。
追加しちゃってもいい?

      いいよ!
イケメンポイント ②




  なんか汚かったから
ログの形書き直しちゃった
イケメンポイント ②




  なんか汚かったから
ログの形書き直しちゃった

      いいよ!
イケメンポイント ③




キーという概念がなく、
  なんでも検索出来る
イケメンポイント ③




 キーという概念がなく、
    なんでも検索出来る
                        るユー ザーね。
              以上課 金して
      0以下で 5000円
レ ベル2            しとけ!
              まか
(´;ω;`)ブワッ
統計は Map/Reduce
統計は Map/Reduce
   ちょっとコツはあるけど
なれたらなんでも出来るようになります
Map/Reduce
• Mapで検索して、気になる情報だけ書きだす
  - 課金のログを検索して、日付&ユーザーID&金額を書き出す
• Mapが吐き出したデータをReduceで集計
  - Arrayにまとめていって、同じユーザーIDのログがあれば金額を
 足す
• 全部のデータの検索が終わっていい具合にまとまったら、CSVと
して書きだして保存
これでデメリットが
全部改修されてます
理想
• 質問をしてからすぐに答えが出る

• 同じデータで復数の質問に答えれる
  - 「もっとデータが必要」が無くなる

• 新しく質問をするとき、追加の開発は必要ない


•欲しがるようなデータがすでに書きだされていて、いつ
でも好きなように検索・集計可能になっている
理想
• 質問をしてからすぐに答えが出る

• 同じデータで復数の質問に答えれる
  - 「もっとデータが必要」が無くなる

• 新しく質問をするとき、追加の開発は必要ない


•欲しがるようなデータがすでに書きだされていて、いつ
でも好きなように検索・集計可能になっている
•分析の仕方を思いついたら、すぐに実行できる
理想
• 質問をしてからすぐに答えが出る

• 同じデータで復数の質問に答えれる
  - 「もっとデータが必要」が無くなる

• 新しく質問をするとき、追加の開発は必要ない


それぞれのログに大体欲しがる情報が入っているので、
切り口を変えて同じデータから色んな答えを出せる
理想
• 質問をしてからすぐに答えが出る

• 同じデータで復数の質問に答えれる
  - 「もっとデータが必要」が無くなる

• 新しく質問をするとき、追加の開発は必要ない


新しいログを書き出す必要はない
新しい値が欲しい場合でも、それをログファイルに追記
し始めるだけですぐに対応可能
たとえば
こういう使い方
どういう人が一番多く
   課金してるんだろう
  5000円以上課金したユーザーを検索して
レベル、レイドレベル、課金時の体力、etc.を出す
いつ脱落するんだろう

   ユーザーの最終ログイン時を検索して
レベル、レイドレベル、課金時の体力、etc.を出す
イベント頑張る人=
課金する人なのだろうか
毎日レイドを20対以上討伐する人を探して
    その人の課金情報を出す
高課金ユーザーはどういう
共通点があるんだろう
 5000円以上課金したユーザーを検索して
   とりあえずたくさん比べてみる
思いつけば
大体なんでも出来ます
おまけ
サポートツールとしても
   大変優秀
サポートツールとして
• 「ポーション消えたぞ!」と問い合わせ

• ユーザーのログを一覧で検索する

 - ⃝日⃝時にポーション5つ購入
 - ⃝日⃝時にレイドミッション討伐
 - ⃝日⃝時にポーション1つ購入
 - ⃝日⃝時にポーション1つ購入
 - 現在ポーション残高1つ

• たしかに1個どこかでなくなってたので1つ付与
• ログもユーザーに共有して安心してもらえる
以上、
分析ツールの説明でした
ありがとうございました

Mais conteúdo relacionado

Último

Último (7)

LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 

Destaque

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
ThinkNow
 
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
Kurio // The Social Media Age(ncy)
 

Destaque (20)

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...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

ゲームを動かすデータ分析