Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ランダムフォレストを使って探索的データ分析

Kan Nishida
January 21, 2018

 ランダムフォレストを使って探索的データ分析

Kan Nishida

January 21, 2018
Tweet

More Decks by Kan Nishida

Other Decks in Business

Transcript

  1. Presenter ੢ా צҰ࿠ co-founder/ceo Exploratory ུྺ Exploratory, Inc.ͰCEO݉νʔϑɾϓϩμΫτɾΦ ϑΟαʔΛ຿ΊΔ͔ͨΘΒɺ೔ຊͰͷσʔλαΠΤϯ εɾϒʔτΩϟϯϓɾτϨʔχϯά

    ɺάϩʔόϧͷσʔ λαΠΤϯεɾϒʔελʔɾτϨʔχϯάͳͲͷ৔Λ ௨ͯ͠σʔλαΠΤϯεͷීٴͱڭҭʹऔΓ૊Ήɻ @KanAugust
  2. ܾఆ໦ σʔλ αϯϓϧ αϯϓϧ αϯϓϧ ౤ථ ౤ථ ౤ථ ݁࿦ …

    ϥϯμϜαϯϓϧ ౤ථׂ͕Εͨ৔߹ฏۉΛͱΓɺ ֬཰ͱͯ͠ѻ͏ ϥϯμϜϑΥϨετ
  3. Employee Is_Salesrep Is_Male Attrition A TRUE FALSE TRUE B FALSE

    TRUE TRUE C TRUE FALSE FALSE D FALSE FALSE FALSE E TRUE TRUE TRUE Z TRUE TRUE ? ͜ͷैۀһ͸ࣙΊΔͰ͠ΐ͏͔ʁ ෼ྨ - ܾఆ໦
  4. Is_Salesrep TRUE FALSE Is_Male TRUE FALSE … TRUE FALSE TRUE

    FALSE Z FALSE TRUE ? Employee Is_Salesrep Is_Male Attrition A TRUE FALSE TRUE B FALSE TRUE TRUE C TRUE FALSE TRUE D FALSE FALSE FALSE E FALSE TRUE TRUE ࣙΊΔʁ ࣙΊΔ ࣙΊͳ͍ ࣙΊΔ ෼ྨ - ܾఆ໦
  5. … TRUE FALSE TRUE FALSE X TRUE TRUE ? Employee

    Is_Salesrep Is_Male Attrition A TRUE FALSE TRUE B FALSE TRUE TRUE C TRUE FALSE TRUE D FALSE FALSE FALSE E FALSE TRUE TRUE ࣙΊΔ ࣙΊͳ͍ ࣙΊΔ Is_Salesrep Is_Male ࣙΊΔʁ ෼ྨ - ܾఆ໦
  6. TRUE FALSE TRUE FALSE … TRUE FALSE TRUE FALSE X

    TRUE TRUE TRUE Employee Is_Salesrep Is_Male Attrition A TRUE FALSE TRUE B FALSE TRUE TRUE C TRUE FALSE TRUE D FALSE FALSE FALSE E FALSE TRUE TRUE ࣙΊΔ ࣙΊͳ͍ ࣙΊΔ Is_Salesrep Is_Male ࣙΊΔʁ ෼ྨ - ܾఆ໦
  7. Job Level Monthly Income Stock Option 1 5000 1 3

    10000 2 2 4000 1 2 6000 2 3 50000 3 … 1 5000 2 ݩͷσʔλ͔Β
  8. Job Level Monthly Income Stock Option 1 5000 1 3

    10000 2 2 4000 1 2 6000 2 3 50000 3 αϯϓϧ͢Δ
  9. Job Level Monthly Income Stock Option 1 5000 1 1

    10000 2 1 4000 1 1 6000 2 1 50000 3 Job Level͕̍ɼ̎ɼ̏ͷ̏ͭͩͱ͢Δͱɺ ͜ͷྻͷ஋͚ͩΛม͑ɺଞͷྻ͸ͦͷ··ͰɺγϛϡϨʔτ͢Δ Job Level Monthly Income Stock Option 2 5000 1 2 10000 2 2 4000 1 2 6000 2 2 50000 3 Job Level Monthly Income Stock Option 3 5000 1 3 10000 2 3 4000 1 3 6000 2 3 50000 3
  10. Job Level Monthly Income Stock Option 1 5000 1 1

    10000 2 1 4000 1 1 6000 2 1 50000 3 Job Level͕̍ͷ৔߹ RF Model Job Level Monthly Income Stock Option Prediction Probability 1 5000 1 0.3 1 10000 2 0.7 1 4000 1 0.2 1 6000 2 0.1 1 50000 3 0.6 0.38 ฏۉ஋
  11. Job Level Monthly Income Stock Option 2 5000 1 2

    10000 2 2 4000 1 2 6000 2 2 50000 3 Job Level Monthly Income Stock Option Prediction Probability Predict 2 5000 1 0.2 2 10000 2 0.3 2 4000 1 0.1 2 6000 2 0.1 2 50000 3 0.3 RF Model Job Level͕̎ͷ৔߹ 0.2 ฏۉ஋
  12. Job Level Monthly Income Stock Option 3 5000 1 3

    10000 2 3 4000 1 3 6000 2 3 50000 3 Job Level Monthly Income Stock Option Prediction Probability 3 5000 1 0.2 3 10000 2 0.3 3 4000 1 0.1 3 6000 2 0.1 3 50000 3 0.3 RF Model Job Level͕̏ͷ৔߹ 0.2 ฏۉ஋