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

t-sne を調べてみた(実装編)

t-sne を調べてみた(実装編)

8c42a3e00cf31c545104fc74f0baa3b1?s=128

Minagawa Kei

July 10, 2021
Tweet

More Decks by Minagawa Kei

Other Decks in Programming

Transcript

  1.  UTOFΛௐ΂ͯΈͨ ࣮૷ฤ 1ZUIPOػցֶशษڧձJO৽ׁ̍̏ ,FJ.JOBHBXB !LFJNJOB  IUUQLFJNJOBIBUFOBCMPHKQ

  2. UTOFͬͯԿ σʔλͷ࣍ݩΛ࡟ݮ͢Δख๏ Ͱ͢

  3. લճͷൃදͰߦͬͨ͜ͱ w UTOFͷϥΠϒϥϦΛ࢖༻ͨ͠ w TLMFBSONBOJGPME54/&Λ࢖༻͢Ε͹Ͱ͖Δ w ࢀߟࢿྉΛௐ΂ͨ w ZPVUVCF w

    XJLJQFEJBͳͲ w UTOFͷಛ௃Λௐ΂ͨ w ΠςϨʔςΟϒͳΞϧΰϦζϜͰ͋Δ͜ͱ w ίετؔ਺ͱͯ͠ΤϯτϩϐʔΛར༻͍ͯ͠Δ͜ͱ લճͷൃදࢿྉ63- IUUQTTQFBLFSEFDLDPNLFJNJOBUTOFXPEJBPCFUFNJUBUV[IPOHNBEF
  4. ࠓճ͸࣮૷ͯ͠Έ·ͨ͠

  5. ݸਓతʹղফ͔ͨͬͨٙ͠໰ ຊ౰ʹ͍͍ײ͡ʹ ࣍ݩ͕࡟ݮ͞ΕΔͷ͔ʁ ίετؔ਺ʹΤϯτϩϐʔΛ࢖༻͢Δ͜ͱͰ ຊ౰ʹ͏·͍͘͘ͷ͔ʁ ٙ ໰ ̍ ٙ ໰

    
  6. ཧ૝ w ίετؔ਺ʹ,-μΠόʔδΣϯ εΛ࢖༻ w TJNJMBSJUZ ྨࣅ౓ ͷܭࢉʹU෼෍ Λ࢖༻͢Δ ࠓճͷ࣮૷ͷ஫ҙ఺

    ࠓճ͸ਖ਼ن෼෍Λ࢖༻͢Δ ࣮ࡍ ίετؔ਺ʹ,-μΠόʔ δΣϯεΛ࢖༻͢Δ IUUQTKBXJLJQFEJBPSHXJLJΧϧόοΫɾϥΠϒϥʔ৘ใྔަࠩΤϯτϩϐʔͱͷؔ܎
  7. IUUQTHJTUHJUIVCDPNLFJNJOB FCGCCDBGED ࣮૷ίʔυ

  8. /P Y Z       

               දೖྗσʔλ ࣮૷ͨ͠UTOFͷग़ྗ 4LMFBSOͷUTOFͷग़ྗ 4LMFBSOͷ1$"ͷग़ྗ ͍͍ײ͡Ͱ͸ͳ͍ ୈ̍৅ݶ ୈ̎৅ݶ ୈ̏৅ݶ ֶशෆ଍ͱࢥΘΕΔ ͍͍ײ͡ ͍͍ײ͡
  9. ݸਓతʹղফ͔ͨͬͨٙ͠໰ʹ͍ͭͯ ຊ౰ʹ͍͍ײ͡ʹ ࣍ݩ͕࡟ݮ͞ΕΔͷ͔ʁ ίετؔ਺ʹΤϯτϩϐʔΛ࢖༻͢Δ͜ͱͰ ຊ౰ʹ͏·͍͘͘ͷ͔ʁ ٙ ໰ ̍ ٙ ໰

     ຊ౰Ͱͨ͠ ຊ౰Ͱͨ͠
  10. ͸·ͬͨͱ͜Ζͱղܾํ๏ w 1Z5PSDIͷࣗಈඍ෼ػೳΛ༻͍ͯɺύϥϝʔλͷߋ৽Λߦ͏ͱɺΤϥʔʹͳ Δɻܯࠂͷදࣔʹै͍ղܾͨ͠ɻ 6TFS8BSOJOH5IFHSBEBUUSJCVUFPGB5FOTPSUIBUJTOPUBMFBG5FOTPSJTCFJOHBDDFTTFE*UTHSBE BUUSJCVUFXPOUCFQPQVMBUFEEVSJOHBVUPHSBECBDLXBSE *GZPVJOEFFEXBOUUIFHSBEJFOUGPSB OPOMFBG5FOTPS VTFSFUBJO@HSBE POUIFOPOMFBG5FOTPS*GZPVBDDFTTUIFOPOMFBG5FOTPSCZ

    NJTUBLF NBLFTVSFZPVBDDFTTUIFMFBG5FOTPSJOTUFBE4FFHJUIVCDPNQZUPSDIQZUPSDIQVMM GPSNPSFJOGPSNBUJPOT ຊ౰ʹޯ഑͕ཉ͍͠ͳΒSFUBJO@HSBE Λ࢖͍ͳ͍͞ ύϥϝλఆٛ௚ޙʹ YYYSFUBJO@HSBE  ͷΑ͏ʹߦ௥Ճ͢Δ͜ͱͰಈ͘Α͏ʹͳΓ·ͨ͠ɻ
  11. ·ͱΊɺߟ࡯ɺࠓޙͷ՝୊ w UTOFΛεΫϥον࣮૷ͨ͠ ඍ෼ϥΠϒϥϦͱͯ͠1Z5PSDIΛ࢖༻  w ࠓճͷྫͰ͸ɺ࣮૷͸ਖ਼͘͠ಈ͍͍ͯΔΑ͏ʹݟ͑Δ w ࠓճͷ࣮૷Ͱ͸ଛࣦ͕͘Β͍·Ͱʹऩଋͨ͠ w

    50%0 ΞϠϝͷσʔλ΍ɺ./*45ʹద༻ͯ͠ɺಈ࡞֬ೝ w 50%0 ֶशதͷ࣍ݩ࡟ݮͷঢ়گΛΞχϝʔγϣϯͰදࣔ w ࠓճͷσʔλͰ͸ɺU෼෍Ͱͳͯ͘΋े෼ػೳ͍ͯ͠ΔΑ͏ʹݟ͑Δ w 4LMFBSOͷ54/&͕ਖ਼͘͠ಈ͍͍ͯͳ͍Α͏ʹݟ͑Δ w ଛࣦͰ͋ΔLM@EJWFSHFODF@Λݟͨͱ͜Ζɺ͘Β͍࢒͍ͬͯ·ͨ͠ɻͦͷͨΊɺσϑΥϧτͷύϥϝʔλͰ͸ऩଋ͖͠ Ε͍ͯͳ͍ͨΊɺඍົͳ݁ՌʹͳͬͨͱࢥΘΕ·͢ɻΠςϨʔγϣϯճ਺ͳͲͷύϥϝλͷมߋʹΑͬͯྑ͘ͳΔͱࢥ͍·͢ɻ w 1$"Ͱ΋ɺ͍͍ײ͡ʹΫϥελԽ͞Ε·ͨ͠ɺ͔֬ʹZYͷΑ͏ͳ௚ઢ্ʹϚοϓͯ͠΋͏·͘දݱͰ͖ͦ͏ͳ͜ͱ͕Θ͔Γ· ͢ɻ
  12. ࢀߟ63- w 8JLJQFEJB w IUUQTKBXJLJQFEJBPSHXJLJ5෼෍ܕ֬཰తۙ๣ຒΊࠐΈ๏ৄࡉ w IUUQTKBXJLJQFEJBPSHXJLJΧϧόοΫɾϥΠϒϥʔ৘ใྔަࠩΤϯτϩϐʔͱͷؔ܎ w 4UBU2VFTUU4/& $MFBSMZ&YQMBJOFE

    w IUUQTXXXZPVUVCFDPNXBUDI W/&B641:FS. w 7JTVBMJ[JOH%BUBVTJOHU4/& w IUUQTKNMSPSHQBQFSTWPMVNFWBOEFSNBBUFOBWBOEFSNBBUFOBQEG w U4/& w IUUQTMWENBBUFOHJUIVCJPUTOF