ެཱ͸ͩͯ͜ະདྷେֶ 2020 ೥౓ γεςϜ৘ใՊֶ࣮श
άϧʔϓใࠂॻ
Future University-Hakodate 2020 System Information Science PracticeGroup ReportϓϩδΣΫτ໊AI ͢ΔσΟʔϓϥʔχϯά

Project NameAI Love Deep Learningάϧʔϓ໊άϧʔϓ AGroup NameGroup AϓϩδΣΫτ൪߸/Project No.

12-AϓϩδΣΫτϦʔμ/Project Leaderদా‫ݦ‬Ken MatsudaάϧʔϓϦʔμ/Group Leader
খాதཛྷArashi Odanakaάϧʔϓϝϯό/Group Memberদా‫ݦ‬Ken Matsuda

খాதཛྷArashi Odanaka੢ଜ࿨അKazuma Nishimura ɹ޻౻ޫ໼Koya Kudo

্ࠜथ

Tatsuki Neagari

໦ଜߴ೭Takayuki Kimuraࢦಋ‫ڭ‬һ
஛೭಺ߴࢤ ࣉ୔‫߳ ޗݑ‬औ༐Ұࠤʑ໦തতย‫߂ګۅ‬

AdvisorTakashi Takenouchi Kengo Terasawa Yuichi Katori Hiroaki Sasaki Yasuhiro Katagiriఏग़೔
2021 ೥ 1 ݄ 14 ೔

Date of Submission
January 14, 2021

֓ཁɹۙ೥ɼσΟʔϓϥʔχϯάͷٕज़Λ༻͍ͨ։ൃ͕੝ΜʹߦΘΕ͍ͯΔɽैདྷͷ‫ػ‬ցֶशΑΓ΋ෳࡶͳ໰୊ʹରͯ͠ରԠͰ͖Δ͜ͷٕज़͸ɼ༷ʑͳ෼໺ͰԠ༻͞Ε͍ͯΔɽͦͷதͰɼক‫ع‬΍ғ‫Ͳͳޟ‬ϓϨΠϠʔ͕͢΂ͯͷ৘ใΛ‫؍‬ଌͰ͖Δ‫׬‬શ৘ใήʔϜΛϓϨΠ͢Δਓ޻஌ೳ͕։
ൃ͞Ε͍ͯΔɽক‫ع‬ɼғ‫͍͓ͯʹޟ‬͸͍ͣΕ΋ਓ޻஌ೳ͕τοϓϓϩͷਓؒʹউར͠ɼਓ޻஌
ೳ͕ਓؒΛ௒ӽͨ͠ͱ‫͑ݴ‬Δɽ͔͠͠ɼຑ੃΍ϙʔΧʔͳͲͷΑ͏ʹ৘ใͷ͢΂ͯΛ೺Ѳ͢Δ͜ͱ͕Ͱ͖ͳ͍ෆ‫׬‬શ৘ใήʔϜʹ͓͍ͯ͸ɼਓ޻஌ೳ͸ະͩਓؒΛ௒ӽͨ͠ͱ͸‫ͣ͑ݴ‬ɼ‫ݚ‬‫͕ڀ‬ਐΊΒΕ͍ͯΔɽ
ɹຊάϧʔϓͰ͸ෆ‫׬‬શ৘ใήʔϜͷͻͱͭͰ͋Δʮೊ͸ਓ࿛ͳΓ΍ʁʯ௨শਓ࿛ήʔϜʹ͓͍ͯɼਓ࿛ήʔϜΛϓϨΠ͢ΔΤʔδΣϯτͷैདྷͱ͸ҟͳΔ৽͍͠ख๏ΛߟҊ͠ɼਓ࿛஌ೳ
ϓϩδΣΫτͷओ࠵͢Δਓ࿛஌ೳେձͰ޷੒੷Λ࢒͢ΤʔδΣϯτͷ։ൃΛߦ͏ɽैདྷͷϞσϧ͸ɼ໾৬ਪఆΛ‫ػ‬ցֶशɼߦಈબ୒ΛϧʔϧϕʔεͰߦ͏͜ͱ͕ओྲྀͰ͋ΔɻຊάϧʔϓͰ͸ɼ͜Εͱ͸ҟͳΔಛ৭ͷ͋ΔΤʔδΣϯτͷ։ൃΛ໨ࢦ͢ɽɹલ‫Ͱظ‬͸։ൃ‫ڥ؀‬ͷߏஙɼඞཁͳ஌ࣝͷ‫ڞ‬༗ɼ࡞੒͢ΔΤʔδΣϯτͷํ਑ܾఆɾ࢖༻͢Δ‫ػ‬ցֶशϞσϧͷ‫ݕ‬౼Λߦͬͨɽ‫ظޙ‬ͷ‫׆‬ಈͰ͸ΤʔδΣϯτͷ։ൃΛਐΊɼউ཰ΛߴΊ͍ͯ͘ඞཁ͕͋Δɽɹ‫Ͱظޙ‬͸ɼ‫ػ‬ցֶशͷϞσϧʹχϡʔϥϧωοτϫʔΫΛ࠾༻͠ɼϩάσʔλ͔ΒಘΒΕΔ
༷ʑͳ৘ใΛ‫ͯ͠࢖ۦ‬ਓ࿛ͷ૊Έ߹ΘͤΛ༧૝͢Δਓ࿛ਪఆϞσϧΛߏஙͨ͠ɽ͞ΒʹɼߦಈܾఆϞσϧʹ͸‫ڧ‬ԽֶशͷҰछͰ͋Δ DQN(Deep Q-Network) Λ࠾༻͠ɼঢ়‫ʹگ‬Ԡͯ͡࠷ద
ͳߦಈΛબ୒͢ΔΤʔδΣϯτΛ։ൃͨ͠ɽ
ɹ·ͣɼա‫ڈ‬ͷਓ࿛஌ೳେձͷϩάσʔλΛղੳ͠ɼਓ࿛ਪఆʹ࢖༻͢Δσʔλͷநग़࡞‫ۀ‬ΛߦͬͨɽಘΒΕͨ 304 ࣍‫ݩ‬ͷσʔλΛಛ௃ྔͱ͠ɼPython ͷ‫ػ‬ցֶशϥΠϒϥϦͰ͋Δ
Keras Λ࢖༻ͯ͠ɼχϡʔϥϧωοτϫʔΫΛ༻͍ͨਓ࿛ਪఆϞσϧΛߏஙͨ͠ɽͦͷ݁Ռɼਖ਼͍͠ਓ࿛ͷ૊Έ߹ΘͤΛ໿ 63 ˋͰਪఆͰ͖ΔϞσϧͷߏஙʹ੒ޭͨ͠ɽ
ɹ࣍ʹɼਓ࿛ਪఆϞσϧʹ࢖༻ͨ͠ 304 ࣍‫ݩ‬ͷσʔλΛ༻͍ͯɼDQN ͰߦಈਪఆϞσϧΛߏஙͨ͠ɽ۩ମతʹ͸ɼਓ࿛ήʔϜʹ͓͍ͯࣗਞʹ༗རʹಇ͘Α͏ͳߦಈʹਖ਼ͷใुɼෆརʹಇ͘Α͏ͳߦಈʹෛͷใुΛ༩͑ɼใु͕࠷େͱͳΔΑ͏ͳߦಈΛબ୒͢ΔΑ͏ʹֶशͤͨ͞ɽ
ɹ͜ΕΒ 2 ͭͷϞσϧΛ༻͍ͯਓ࿛ਪఆͱߦಈܾఆΛߦ͍ͳ͕Βઓ͏ΤʔδΣϯτͷ։ൃʹ੒ޭͨ͠ɽউ཰͸ 43.3% Ͱ͋Γɼ͞ΒͳΔվྑ͕‫·ࠐݟ‬ΕΔɽΩʔϫʔυσΟʔϓϥʔχϯά, ਓ࿛஌ೳ, χϡʔϥϧωοτϫʔΫʢ˞จ੹: খాதཛྷʣ

-i-

Abstractɹ In recent years, active development using Deep Learning technology has been pro-cessing. This technology can solve more complex problems than conventional machinelearning, applied to a wide range of ﬁelds. In recent years, In this ﬁeld, artiﬁcial intelligence has been developed to play called “Perfect Information Game”, such as Shogi
and Go, players can observe all information in these games. As for Go and Shogi, it
can be said that artiﬁcial intelligence has surpassed humans, as artiﬁcial intelligencehas defeated their respective professionals. However, the same cannot be said for games
that are “Imperfect Information Game” like mahjong or poker, and research is being
done every day.
ɹ This group will develop “Agent” (Refers to an artiﬁcial intelligence player in a werewolf game) with diﬀerent methods than conventional agents in one of the “Imperfect
Information Game”, the Werewolf Game. In addition, the goal is to bring the agent’s capabilities to bear in competitions organized by “Artiﬁcial Intelligence based Werewolf”,
a research organization. conventional models are predominantly machine learning for
position estimation and rule-based for action selection. On the other hand, our groupplans to develop an unique agent, unlike that.
ɹ In the ﬁrst semester, we built a development environment, shared knowledge, decided
on a policy for agents to be created and examined the machine learning model to be
used. As a policy, we planned to adopt neural networks as a model for machine learningand use this technology for everything from role position estimation to action selection.
ɹ In the second semester, we adopted neural networks for the machine learning modeland constructed the “Werewolf Estimation Model” that predicts the combination of
werewolves using various information obtained from log data. On the other hand, we
adopted Deep Q-Network (DQN), a type of reinforcement learning, for the “Action
Decision Model”, and developed an agent that selects the best action depending on thesituation.
ɹ Firstly, we analyzed the log data of past competitions and extracted the data to be
used for werewolves estimation. Using the 304-dimensional data obtained from log dataas features, we constructed the “Werewolf Estimation Model” using neural networks by
Keras, a machine learning library in Python environment. As a result, we succeededin constructing a model that can estimate the correct combination of werewolves with
about 63%.
ɹ Next, using the same features and the results of the “Werewolf Estimation Model”,
we built the “Action Decision Model” by DQN. Speciﬁcally, we set positive rewards toactions that would work in favor of our player’s team and negative rewards to actions
that would work against one in a werewolf game, and trained the model to select theaction that maximized the rewards.
ɹ Using these two models, we have developed the agent “FUN Wolf” that can estimate werewolves and make action decisions. The winning rate was 43.3%, and further
improvement of accuracy is expected.
KeywordDeep Learning, Werewolf Intelligence, Neural Networks
ʢ˞จ੹: ্ࠜथʣ- ii -

໨࣍
ୈ1ষ

͸͡Ίʹ

1

1.1

ϓϩδΣΫτ֓ཁ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1

1.2

άϧʔϓ֓ཁ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1

1.3

എ‫ ܠ‬. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1

1.4

໨త . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

1.5‫ظ‬଴͞ΕΔޮՌ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

՝୊ઃఆ

3

ୈ2ষ

2.1

ैདྷͷओྲྀͳํ๏

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3

2.2

۩ମతͳ՝୊ઃఆʢؔ࿈͢Δߨٛ/ར༻͢΂͖शಘٕज़ɾ‫ط‬ଘٕज़ʣ . . . . . . . .

3

2.3

୹‫ظ‬໨ඪͱ௕‫ظ‬໨ඪ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4‫׆‬ಈ಺༰

5લ‫ ظ‬. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5

3.1.1

‫׆‬ಈͷৄࡉ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5

3.1.2

‫׆‬ಈͷ໰୊఺ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

3.1.3

ղܾํ๏ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

3.1.4

‫΁ظޙ‬ͷҾ‫͗ܧ‬. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6‫ ظޙ‬. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

3.2.1

‫׆‬ಈͷৄࡉ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7

3.2.2

‫׆‬ಈͷ໰୊఺ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

9‫ڞ‬ಉ։ൃ‫ ڥ؀‬. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10

3.3.1

Git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10

3.3.2

GitHub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

10

3.3.3

Anaconda3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

11

ୈ3ষ

3.1

3.2

3.3

ୈ4ষ

ਓ࿛஌ೳͷৄࡉ

12

4.1

ਓ࿛஌ೳϓϩδΣΫτʹ͍ͭͯ . . . . . . . . . . . . . . . . . . . . . . . . . . .

12

4.2

ਓ࿛஌ೳେձʹ͍ͭͯ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12

4.3

ϓϩτίϧ෦໳ʹ͍ͭͯ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12

4.4

ਓ࿛ήʔϜͷৄࡉ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13

4.4.1

ਓ࿛ήʔϜͷ֓ཁ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13

4.4.2

໾৬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13

4.4.3

ήʔϜͷྲྀΕ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

14

ୈ5ষ

ΤʔδΣϯτͷ֓ཁ16

5.1

֓ཁ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

16

5.2

χϡʔϥϧωοτϫʔΫʹ͍ͭͯ . . . . . . . . . . . . . . . . . . . . . . . . . .

17

5.3

ΤʔδΣϯτͷৄࡉ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

18- iii -

‫ػ‬ցֶशϞσϧͷৄࡉ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19

5.4.1

։ൃ‫ ڥ؀‬. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19

5.4.2

ਓ࿛ਪఆϞσϧ

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19

5.4.3

ߦಈܾఆϞσϧ

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

22

5.5

ධՁ࣮‫ ݧ‬. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24

5.6

ߟ࡯ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24‫׆‬ಈ݁Ռ

26

ৄࡉͳ‫׆‬ಈ݁Ռ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

26

5.4

ୈ6ষ

6.1

6.2

6.3

ୈ7ষ

7.1

7.2

7.3

7.4

7.5

7.6

ୈ8ষ

6.1.1

લ‫ظ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

26

6.1.2

‫ظޙ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

26தؒൃද . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

27

6.2.1

தؒൃදͷ४උ

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

27

6.2.2

ධՁ݁Ռ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

27

6.2.3

ධՁͷߟ࡯ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

28࠷ऴ੒Ռൃද . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29

6.3.1

࠷ऴ੒Ռൃදͷ४උ . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29

6.3.2

ධՁ݁Ռ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29

6.3.3

ධՁͷߟ࡯ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30‫ݸ‬ਓ‫׆‬ಈ32দా‫ ݦ‬. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32

7.1.1

લ‫ظ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32

7.1.2

‫ظޙ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32খాதཛྷ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

33

7.2.1

લ‫ظ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

33

7.2.2

‫ظޙ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

33੢ଜ࿨അ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34

7.3.1

લ‫ظ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34

7.3.2

‫ظޙ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34

޻౻ޫ໼ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35

7.4.1

લ‫ظ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35

7.4.2

‫ظޙ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35

্ࠜथ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36

7.5.1

લ‫ظ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36

7.5.2

‫ظޙ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36໦ଜߴ೭ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37

7.6.1

લ‫ظ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37

7.6.2

‫ظޙ‬

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37

·ͱΊ

38

8.1

ϓϩδΣΫτ‫׆‬ಈͷ੒Ռ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

38

8.2

վળ఺ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

39- iv -

ࢀߟจ‫ݙ‬40-v-

AI Love Deep Learningୈ 1 ষ ͸͡Ίʹ1.1ϓϩδΣΫτ֓ཁۙ೥ɼσΟʔϓϥʔχϯάͷٕज़Λ༻͍ͨ։ൃ͕੝ΜʹߦΘΕ͍ͯΔɽ͜ͷٕज़͸ɼਓ͕ؒߦ͏
࢓ࣄΛίϯϐϡʔλʔʹֶशͤ͞Δ‫ػ‬ցֶशͷख๏ͷҰͭͰ͋Γɼैདྷͷ‫ػ‬ցֶशͱൺ΂ͯΑΓෳࡶͳ໰୊ʹରͯ͠ద༻͢Δ͜ͱ͕ՄೳͱͳͬͨɽຊϓϩδΣΫτͰ͸ɼ͜ͷ࠷৽ٕज़Λ‫͠༻׆‬ɼ৽ͨͳΞϓϩʔνʹΑΔਓ࿛஌ೳͷ։ൃ‫ͼٴ‬ɼࣗવ‫ॲޠݴ‬ཧΛ༻͍ͨ‫ڝ‬അ෼ੳɼը૾ղੳΛ༻͍ͨ‫ײ‬છ঱ରࡦࢧԉͷ 3 ͭͷ໰୊Λղܾ͢Δํ๏Λ໛ࡧ͢Δɽ
ʢ˞จ੹: ੢ଜ࿨അʣ

1.2

άϧʔϓ֓ཁ

ຊάϧʔϓʮਓ࿛஌ೳʯͰ͸ɼσΟʔϓϥʔχϯάؔ࿈ٕज़Λ༻͍ͯɼਓ࿛ήʔϜΛϓϨΠͰ͖ΔΤʔδΣϯτͷ։ൃΛɼैདྷͱ͸ҟͳΔΞϓϩʔνʹΑΓߦ͏ɽਓ࿛஌ೳϓϩδΣΫτ [1] ͷओ࠵͢Δେձʹग़৔͠ɼ޷੒੷ΛऩΊΔ͜ͱ͕ɼຊάϧʔϓͷ໨ඪͰ͋Δɽ
ʢ˞จ੹: ੢ଜ࿨അʣ

1.3

എ‫ܠ‬

2015 ೥ʹ৘ใॲཧֶձ͕ίϯϐϡʔλʔক‫ع‬ϓϩδΣΫτʹ͓͍ͯɼτοϓϓϩ‫ʹ࢜ع‬উͭͱ͍͏໨తΛࣄ্࣮ୡ੒ͨ͠ͱͯ͠ɼίϯϐϡʔλʔক‫ع‬ϓϩδΣΫτͷऴྃએ‫ݴ‬Λߦͬͨ [2]ɽ·ͨɼ2016 ೥ʹ͸ GoogleDeepMind ͕ࣾ։ൃͨ͠ AI Ͱ͋Δ AlphaGo ͕ɼғ‫ޟ‬ͷੈքτοϓΫϥ
εͷ‫࢜ع‬Λ΍ͿΓɼ‫׬‬શ৘ใήʔϜͰ࠷΋೉͍͠΋ͷͱ‫ݴ‬ΘΕ͍ͯΔғ‫͍͓ͯʹޟ‬ɼਓ޻஌ೳ͕উ
རΛऩΊͨɽ͕ͨͬͯ͠ɼক‫ع‬΍ғ‫Ͳͳޟ‬ɼϓϨΠϠʔ͕ήʔϜͷ৘ใΛ͢΂ͯ‫؍‬ଌͰ͖Δ‫׬‬શ৘ใήʔϜʹ͓͍ͯɼਓ޻஌ೳ͕ਓؒΛ௒ӽͨ͠ͱ͍͑ΔɽͦͷҰํͰɼຑ੃΍τϥϯϓͷϙʔΧʔɼେ෋߽ͳͲɼ৘ใΛಘΔͨΊʹਪ࿦Λඞཁͱ͢Δෆ‫׬‬શ৘ใήʔϜͰ͸ਓؒΛ௒ӽͨ͠ͱ͸‫ͣ͑ݴ‬ɼෆ‫׬‬શ৘ใήʔϜʹ͍ͭͯͷ AI Λ‫͍ͯ͠ڀݚ‬Δଟ͘ͷ‫ڀݚ‬෼໺͕ଘࡏ͢ΔɽͦͷҰྫͱͯ͠ɼෆ‫׬‬શ৘ใίϛϡχέʔγϣϯήʔϜͰ͋Δʮೊ͸ਓ࿛ͳΓ΍ʁʯ௨শɼਓ࿛ήʔϜͷ‫ڀݚ‬Λߦ͍ͬͯΔਓ࿛஌ೳϓϩδΣΫτ [1] ͕͋Γɼਓ࿛஌ೳηϛφʔ΍ਓ࿛஌ೳେձͳͲΛ։࠵͍ͯ͠Δɽ·ͨɼਓ޻஌ೳΛࢧ͑Δٕज़ͱͯ͠‫ػ‬ցֶश͕͋Δ͕ɼ‫ػ‬ցֶशͰ༻͍ΒΕΔϓϩάϥϛϯ
ά‫ۙͯ͠ͱޠݴ‬೥ɼPython ‫͕ޠݴ‬ਓ‫ؾ‬Λത͍ͯ͠Δɽͦͷཧ༝ͱͯ͠ɼPython ‫ޠݴ‬͸ίʔυ͕؆୯ͰΘ͔Γ΍͘͢ɼ਎ۙͳαʔϏεʹ΋࢖ΘΕ͓ͯΓɼ৴པੑ͕ߴ͍ͱ͍ͬͨಛ௃͕͋Δɽ·ͨɼ

Python ‫ʹޠݴ‬͸‫ػ‬ցֶशʹؔ͢ΔϥΠϒϥϦ΍ϑϨʔϜϫʔΫ͕ଟ਺ଘࡏ͠ɼ਺஋‫ࢉܭ‬ɼՊֶ‫ܭ‬ࢉͳͲΛߦ͏ NumPyɼSciPyɼଟ͘ͷ‫ػ‬ցֶशΞϧΰϦζϜ͕࣮૷͞Ε͍ͯΔ scikit-learn ͳͲ͕͋Δɽ͜ͷΑ͏ʹ Python ‫ޠݴ‬Λ༻͍ͯ‫ػ‬ցֶशΛߦ͏͜ͱ͕ग़དྷΔ͕ɼPython ‫͘ͳͰ͚ͩޠݴ‬ɼ

Java ‫ޠݴ‬΍ C++ ‫Ͳͳޠݴ‬ɼଞͷ‫Ͱޠݴ‬΋ϥΠϒϥϦͳͲΛ༻͍ͯ‫ػ‬ցֶशΛߦ͏͜ͱ͕ՄೳͰ
͋Δɽ͕ͨͬͯ͠ɼۙ೥͸‫ػ‬ցֶशΛߦ͏ͨΊͷ‫͕ڥ؀‬ඇৗʹ੔͓ͬͯΓɼֶੜͰ΋৘ใՊֶɼ‫ػ‬Group Report of 2020 SISP

-1-Group Number 12-A

AI Love Deep Learningցֶशͷ஌ࣝ͑͋͞Ε͹ɼਓ޻஌ೳͷ‫ʹڀݚ‬औΓ૊Ή͜ͱ͕ՄೳͰ͋Δɽ͜͏ͨ͠എ‫͔ܠ‬Βɼզʑ͸άϧʔϓͰ࿩͠߹ͬͨ݁Ռɼ
ʮਓ࿛ΛϓϨΠͰ͖ΔΤʔδΣϯτʯΛߏங͢Δ͜ͱΛ໨తͱ͠ɼͦ
ͷͨΊʹ‫ػ‬ցֶश͕ՄೳͳϥΠϒϥϦͳͲΛ༻͍ͯɼਓ࿛஌ೳΤʔδΣϯτͷ։ൃΛߦ͍ͬͯ͘ɽ
ʢ˞จ੹: ޻౻ޫ໼ʣ

1.4

໨త

զʑਓ࿛஌ೳάϧʔϓ͸ɼ‫ػ‬ցֶशΛ༻͍ͯʮਓ࿛ΛϓϨΠͰ͖ΔΤʔδΣϯτʯΛ‫ط‬ଘͷΤʔδΣϯτͱ͸ҧͬͨΞϓϩʔν͔Βߏங͢Δ͜ͱΛ໨తͱ͍ͯ͠Δɽ·ͨɼͦͷΤʔδΣϯτͰɼਓ࿛஌ೳϓϩδΣΫτ [1] ͷओ࠵͢Δɼਓ࿛஌ೳେձʹग़৔͠ɼΤʔδΣϯτͷӡ༻Λߦ͏ɽ‫ط‬ଘͷΤʔδΣϯτ͸໾৬ਪఆͱߦಈܾఆͷ 2 ͭͷεςοϓ͔Β੒ΓɼͦΕͧΕ໾৬ਪఆ͸ SVM ͳͲͷ‫ػ‬ցֶशɼߦಈܾఆ͸ϧʔϧϕʔεͰߦΘΕ͍ͯΔΤʔδΣϯτ͕ଟ͍ɽ‫͑ߟͰظޙ‬ΒΕͨ‫ط‬ଘͷΤʔδΣϯτͱ͸ҧͬͨΞϓϩʔνͷ۩ମҊͱͯ͠͸ɼ໾৬ਪఆΛχϡʔϥϧωοτϫʔΫͰߦ͍ɼߦಈબ୒Λ Deep Q-NetworkʢDQNʣͰߦ͏͜ͱΛߟ͍͑ͯΔɽ
ʢ˞จ੹: ޻౻ޫ໼ʣ

1.5‫ظ‬଴͞ΕΔޮՌ

զʑ͕ຊάϧʔϓ‫׆‬ಈΛ਱ߦ͢Δ͜ͱʹΑͬͯɼ͞·͟·ͳޮՌ͕‫ظ‬଴͞ΕΔɽ·ͣɼক‫ع‬΍ғ‫Ͳͳޟ‬ͷ‫׬‬શ৘ใήʔϜʹ͓͍ͯɼਓ޻஌ೳ͕ਓؒΛ௒ӽͨ͠ͱ͍͑Δ͕ɼͦͷҰํͰɼຑ੃΍τϥϯϓͷϙʔΧʔɼେ෋߽ͳͲͷෆ‫׬‬શ৘ใήʔϜͰ͸ਓؒΛ௒ӽͨ͠ͱ͸‫ͣ͑ݴ‬ɼ‫ڀݚ‬෼໺ͱͯ͠ະ஌ͷੈք͕޿͕͍ͬͯΔɽ͕ͨͬͯ͠ɼզʑ͕ਓ࿛஌ೳϓϩδΣΫτ [1] ͷओ࠵͢Δਓ࿛஌ೳେձʹग़৔͢Δ͜ͱʹΑͬͯɼෆ‫׬‬શ৘ใήʔϜ‫ڀݚ‬ͷৼ‫ڵ‬ΛਤΔ͜ͱ͕‫ظ‬଴Ͱ͖Δɽ·ͨɼʮਓ࿛ΛϓϨΠͰ͖ΔΤʔδΣϯτʯΛ‫ط‬ଘͷΤʔδΣϯτͱ͸ҧͬͨΞϓϩʔν͔Βߏங͢ΔͨΊɼਓ࿛஌ೳ‫͖Ͱ͕ݙߩʹڀݚ‬Δͱߟ͑ΒΕΔɽͦͷ΄͔ͷޮՌͱͯ͠ɼক‫ع‬քʹ͓͍ͯɼক‫ ع‬AI ͕৽ͨͳख΍ઓ๏Λൃ‫͍͕͘ྫ͏͍ͱͨ͠ݟ‬Β͔‫ݟ‬ड͚ΒΕΔɽ·ͨɼক‫ ع‬AI ͸‫ࡏݱ‬ɼਓؒͱ‫ڞ‬ଘ͢Δஈ֊ʹೖ͓ͬͯΓɼ࣮ࡍɼࣗ਎ͷক‫ع‬ͷ‫ʹڀݚ‬ক‫ ع‬AI Λ༻͍͍ͯΔϓϩ‫͍͕࢜͘ع‬Β͔‫ݟ‬ड͚ΒΕΔɽ͜ͷΑ͏ʹক‫ ع‬AI ͸ক‫͍ͱع‬͏ήʔϜࣗମʹ༷ʑͳӨ‫ڹ‬Λ༩͍͑ͯΔɽ͜ͷ͜ͱ͔Βɼਓ࿛஌ೳʹ͓͍ͯ΋৽ͨͳઓ๏ͳͲΛൃ‫͢ݟ‬ΔՄೳੑΛൿΊ͓ͯΓɼਓ࿛ήʔϜࣗମʹେ͖ͳӨ‫ڹ‬Λ༩͑Δ͜ͱ͕‫ظ‬଴Ͱ͖Δɽ
·ͨɼզʑ͕ຊάϧʔϓ‫׆‬ಈΛ਱ߦ͢Δ͜ͱʹΑͬͯɼάϧʔϓ։ൃɼ‫ػ‬ցֶशɼϓϩάϥϛϯ
άͳͲͷٕज़Λ༗ͨ͠ɼࣾձͰ‫׆‬༂Ͱ͖Δٕज़ऀͱͯ͠੒௕Ͱ͖Δ͚ͩͰͳ͘ɼ࠷ऴతʹ͸ɼ੒Ռ෺Λ࠷ऴൃදձͳͲͰެද͠ɼʮਓ޻஌ೳ͸ͲͷΑ͏ͳ͜ͱ͕ग़དྷΔͷ͔ʯͱ͍͏஌‫ݟ‬Λਓʑʹ༩͑Δ͜ͱͰɼਓ޻஌ೳɼ‫ػ‬ցֶशٕज़ͷࣾձ΁ͷಋೖΛଅਐͰ͖Δ͜ͱ͕ߟ͑ΒΕΔɽ
ʢ˞จ੹: ޻౻ޫ໼ʣ

Group Report of 2020 SISP

-2-Group Number 12-A

AI Love Deep Learningୈ 2 ষ ՝୊ઃఆ2.1

ैདྷͷओྲྀͳํ๏

ਓ࿛஌ೳϓϩδΣΫτ͸ա‫ʹڈ‬ෳ਺ճͷେձΛ։͍͓ͯΓɼલྫͱͯͦ͠ΕΒʹࢀՃͨ͠ΤʔδΣϯτ͕͋Δɽ7 ݄ʹࢀՃͨ͠ਓ࿛஌ೳηϛφʔ 2020 ΍ɼࢀߟਤॻʰਓ࿛஌ೳͰֶͿ AI ϓϩάϥϛϯάʱ[3]ɼਓ࿛஌ೳʹؔ͢Δ࿦จΛ‫ैʹݩ‬དྷͷओྲྀͳख๏ʹ͍ͭͯߟ࡯ͨ͠ɽैདྷͷਓ࿛஌ೳΤʔδΣϯτ͸ͦͷߏ੒Λ໾৬ਪఆͱߦಈܾఆͷ 2 ͭʹ෼͚Δ͜ͱ͕Ͱ͖Δɽ໾৬ਪఆ͸ɼήʔϜதʹಘΒΕΔσʔλΛ‫ʹݩ‬ଞϓϨΠϠʔͷ໾৬Λਪఆ͢Δ෦෼Ͱ͋Δɽ͜ͷ෦෼Ͱ‫ػ‬ցֶशΛ࢖༻͢Δͷ͕ओྲྀͰ͋ΔɽࢀߟਤॻͰ͸ɼ‫ج‬ຊతͳਓ࿛஌ೳΤʔδΣϯτͷ࡞੒Ͱ‫ػ‬ցֶशʹ SVM(αϙʔτϕΫτϧϚγϯ) Λ࢖༻͍ͯ͠Δɽߦಈܾఆ͸ʮ౤ථʯɼʮൃ‫ݴ‬ʯͳͲͷਓ࿛ήʔϜͰߦ͏ߦಈΛܾΊΔɽߦಈબ୒ͷ΄ͱΜͲʹϧʔϧϕʔε͕࢖༻͞Ε͓ͯΓɼ໾৬ਪఆͷ݁Ռ͔Β౤ථઌͳͲΛܾఆ͍ͯ͠Δɽϧʔϧϕʔεͱ͸ɼྫ͑͹ΤʔδΣϯτ A ͷ໾৬ਪఆͷ݁Ռ͕ਓ࿛Ͱ͋ͬͨ
৔߹ɼΤʔδΣϯτ A ʹ౤ථ͢Δͱ͍ͬͨΑ͏ʹઃ‫͢ܭ‬Δ͜ͱͰ͋Δɽͭ·Γɼ۩ମతͳઓུ͸࡞੒ऀʹΑܾͬͯఆ͞Ε͍ͯΔ͜ͱ͕Θ͔Δɽ
ਓ࿛஌ೳϓϩδΣΫτ [1] ओ࠵ͷେձʹࢀՃ͍ͯ͠ΔΤʔδΣϯτ͸ɼ͜ͷ໾৬ਪఆͱߦಈܾఆ
ʹ޻෉ΛՃ͑ͨ΋ͷ͕ଟ͍ɽ·ͨɼେձʹࢀՃ͢ΔΤʔδΣϯτ͸ͦͷ 1 ͭલͷେձͷΤʔδΣϯτʹ‫ͳ͘ڧ‬ΔΑ͏ͳઃ‫͍ͯͬͳͱܭ‬Δ܏޲͕͋Δ [4]ɽΑͬͯ‫ࡏݱ‬͸‫ػ‬ցֶशʹΑΔ໾৬ਪఆͷਫ਼౓Λ޲্ͤ͞Δ͜ͱɼ໾৬ਪఆͷ݁Ռ͔Β࠷దͳউͪ‫ے‬Λ࡞੒ऀ͕ߟ͑Δ͜ͱ͕ਓ࿛஌ೳΤʔδΣϯτʹ͓͚ΔओྲྀͰ͋Δͱ͍͑Δɽ
ʢ˞จ੹: দా‫ݦ‬ʣ

2.2۩ମతͳ՝୊ઃఆʢؔ࿈͢Δߨٛ/ར༻͢΂͖शಘٕज़ɾ‫ط‬ଘٕज़ʣຊάϧʔϓͷ໨ඪ͸ਓ࿛஌ೳϓϩδΣΫτ [1] ओ࠵ͷେձʹ͓͍ͯߴ੒੷Λ࢒͠ɼ͔ͭಛ৭ͷ
͋Δਓ࿛஌ೳΤʔδΣϯτΛ࡞੒͢Δ͜ͱͰ͋Δɽͦͷ࣮‫ํݱ‬๏ͱͯ͠ɼ‫ػ‬ցֶशͷϞσϧʹ͸
χϡʔϥϧωοτϫʔΫ͕࠷దͰ͋Δͱ൑அ͠ɼ໾৬ਪఆ͔Βߦಈܾఆ·ͰΛߦ͏͜ͱͱͨ͠ɽϞσϧͷ࢖༻ํ๏ͱͯ͠ɼೖग़ྗΛ͢΂ͯ 1 ͭͷϞσϧΛ࢖༻͢Δɼࣗ਎ͷ໾৬͝ͱʹϞσϧΛ࡞੒
͢ΔͳͲ͍͔ͭ͘ͷํ๏͕‫ݕ‬౼͞Ε͍ͯΔɽ
໨ඪΛୡ੒͢ΔͨΊͷ՝୊ͱͯ͠ɼ·ͣશһͰͷ஌ࣝ‫ڞ‬༗͕͋Δɽਓ࿛஌ೳϓϩδΣΫτͦͷ΋ͷ΍ɼ‫ػ‬ցֶशٕज़ͳͲʹ͍ͭͯͷֶͼΛ‫ڞ‬༗͢Δɽ΋͏Ұͭͷ՝୊ͱͯ͠࢖༻͢Δ‫ޠݴ‬ɼϥΠϒϥϦͳͲ‫ڞ‬ಉ։ൃ‫ڥ؀‬Λߏங͢Δ͜ͱ͕͋Δɽ։ൃ‫ڥ؀‬Λ੔͓͑ͯ͘͜ͱͰΑΓ࣮ફత͔ͭޮ཰త
ͳ։ൃͱֶशΛߦ͍ͬͯ͘ɽ
ʢ˞จ੹: দా‫ݦ‬ʣGroup Report of 2020 SISP

-3-Group Number 12-A

AI Love Deep Learning

2.3୹‫ظ‬໨ඪͱ௕‫ظ‬໨ඪ୹‫ظ‬໨ඪͱͯ͠ɼલ‫ʹظ‬͸લઅͷ۩ମతͳ՝୊ઃఆͰ͋ΔΑ͏ʹ஌ࣝͷ‫ڞ‬༗ͱ‫ڞ‬ಉ։ൃ‫ڥ؀‬ͷߏஙΛฒߦͯ͠ߦ͍ͬͯ͘ɽ·ͨɼࢀߟਤॻʰਓ࿛஌ೳͰֶͿ AI ϓϩάϥϛϯάʱ[3] ͷྠಡΛਐΊ
Δɽ࠷ऴ໨ඪʹ͍ͭͯ΋ઓུͳͲͷΞΠσΟΞΛߟ͍͑ͯ͘ɽΑΓ۩ମతʹ͸ɼ·ͣྠಡͱௐࠪΛ௨ͯ͠ਓ࿛஌ೳϓϩδΣΫτʹ͍ͭͯ஌Γ (ௐࠪ݁Ռ͸ 4 ষ)ɼਓ࿛஌ೳΤʔδΣϯτͷ࡞੒ํ๏ʹֶ͍ͭͯͿɽ‫ڞ‬ಉ։ൃ‫ڥ؀‬ͷߏங͸ɼ࢖༻͢Δ‫ޠݴ‬΍ Git ͳͲͷπʔϧΛఆΊɼશһ͕ͦΕΒΛ࢖͍͜ͳͤΔΑ͏ʹ͢Δɽ࠷ऴ໨ඪͷͨΊͷΞΠσΟΞͱͯ͠લઅͰ‫ه‬ड़ͨ͠Α͏ͳ࣮‫ํݱ‬๏Λߟ͑Δɽલ‫Ͱ఺࣌ظ‬ͷ௕‫ظ‬໨ඪͱͯ͠͸ɼਓ࿛஌ೳηϛφʔ΁ͷࢀՃɼਓ࿛஌ೳΤʔδΣϯτͷ࡞੒ɼਓ࿛஌ೳେձ΁ͷࢀՃ͕͋Δɽਓ࿛஌ೳϓϩδΣΫτ [1] ެࣜͷษ‫ڧ‬ձͰ͋Δਓ࿛஌ೳηϛφʔ͕ෆఆ‫Ͱظ‬։࠵͞Ε͍ͯΔɽஞ࣍ͦΕΒʹࢀՃΛͯ͠৘ใͱ஌ࣝΛूΊΔɽຊάϧʔϓͷ࠷ऴ໨ඪͷୡ੒ʹ͸೥ʹ 2 ճ։࠵͞ΕΔਓ࿛஌ೳେձʹࢀՃ͢Δ͜ͱ͕ඞཁ৚݅ͱͳΔɽਓ࿛஌ೳେձʹࢀՃ͢ΔͨΊʹɼਓ࿛஌ೳΤʔδΣϯτͷ࡞੒ΛਐΊΔɽ‫͍͓ͯʹظޙ‬͸ɼϩάσʔλͷղੳɼਓ࿛ਪఆϞσϧͷ࡞੒ɼߦಈܾఆϞσϧͷ࡞੒ɼαʔόʔ઀ଓ෦ͷઃ‫Ͳͳܭ‬ɼΤʔδΣϯτ಺ʹ͓͚Δ֤ཁૉͷ࣮૷͕୹‫ظ‬໨ඪͱͯ͠‫͛ڍ‬ΒΕΔɽෳ਺ͷ൝ʹ෼ׂͯ͠࡞‫ۀ‬Λߦ͏͜ͱͰޮ཰ͷྑ͍໨ඪୡ੒Λૂ͏ɽ‫Ͱ఺࣌ظޙ‬ͷ௕‫ظ‬໨ඪʹ͍ͭͯɼ೥಺ʹࢀՃ͕ՄೳͰ͋Δਓ࿛஌ೳେձ͕ଘࡏ͠ͳ͍͜ͱΛ֬ೝͨͨ͠Ίɼདྷ‫ظ‬Ҏ߱ͷେձʹΤʔδΣϯτΛࢀՃͤ͞Δͱ͍͏ํ਑΁ͱఆΊ௚ͨ͠ɽ·ͨҾ͖ଓ͖ΤʔδΣϯτͷ‫׬‬੒͕࠷ऴ໨ඪͱͯ͠‫͛ڍ‬ΒΕΔɽ۩ମతͳ‫׬‬੒‫͍ͯͭʹݶظ‬͸ɼ࠷ऴ੒Ռൃද೔
·ͰʹΤʔδΣϯτͷ‫׬‬੒͓ΑͼධՁ࣮‫ݧ‬Λߦ͏༧ఆͱͨ͠ɽ
ʢ˞จ੹: দా‫ݦ‬ʣGroup Report of 2020 SISP

-4-Group Number 12-A

AI Love Deep Learningୈ 3 ষ ‫׆‬ಈ಺༰
3.1

લ‫ظ‬

ओʹલ‫׆ظ‬ಈͰ͸ɼલఏͱͳΔ஌ࣝ‫ڞ‬༗ɼલྫͷௐࠪɼखஈͷ‫ݕ‬౼ɾબఆΛߦͬͨɽ6ɼ7 ݄ʹ͔͚ͯྠಡΛߦ͍ɼ‫ػ‬ցֶशͷ‫ૅج‬஌ࣝ΍ɼਓ࿛஌ೳʹ౥ࡌ͢΂͖ΞϧΰϦζϜͷཁ݅Λ֬ೝͨ͠ɽ

7 ݄Ҏ߱͸ɼਓ࿛஌ೳηϛφʔ 2020 Λ௨ͯ͠େձ੒੷ɾউ཰Λҙࣝͨ͠ɼա‫ڈ‬େձΤʔδΣϯτͷௐࠪɾରࡦʹ͍ͭͯٞ࿦ΛߦͬͨɽՆ‫ٳق‬Ջલ‫ʹޙ‬͸ɼதؒൃදͰͷ൓Ԡ΍‫ݸ‬ਓͰͷௐࠪΛ౿·͑ͯɼΤʔδΣϯτͷํ޲ੑͷ‫ݕ‬౼͓Αͼ࣮ࡍʹར༻͢Δ‫ػ‬ցֶशϞσϧͷબఆΛߦͬͨɽྫ೥ͱ
ൺֱͯ͠‫׆‬ಈ‫͕ؒظ‬ѹॖ͞Ε͕ͨɼࣄલ‫ܭ‬ըΛ៛ີʹཱͯͨ͜ͱͰεϜʔζͳ‫׆‬ಈ͕ՄೳͰ͋ͬ
ͨɽҰํશฤ௨ͯ͠ΦϯϥΠϯ্Ͱͷ‫׆‬ಈͰ͋Γɼ‫ޙ‬ड़͢Δ໰୊఺Λ๊͑Δ݁Ռͱͳͬͨɽ
ʢ˞จ੹: ্ࠜथʣ3.1.1

‫׆‬ಈͷৄࡉ

஌ࣝ‫ڞ‬༗ͷͨΊʹྠಡͨ͠ࢀߟਤॻ͸ʰਓ࿛஌ೳͰֶͿ AI ϓϩάϥϛϯάʱͰ͋Δ [3]ɽओʹਓ࿛஌ೳΤʔδΣϯτͷϑϨʔϜϫʔΫղઆ͕‫ه‬ड़͞Ε͓ͯΓɼਓ࿛஌ೳΤʔδΣϯτͷߏ੒ͷ࢓ํʹֶ͍ͭͯशͨ͠ɽ·ͨ‫ػ‬ցֶशશൠͷ‫ૅج‬஌ࣝʹ΋‫͞ٴݴ‬Ε͓ͯΓɼؔ࿈༻‫ޠ‬ͷάϧʔϓ಺Ͱͷ౷Ұʹ༻͍ͨɽ
‫ߏڥ؀‬ஙʹ͍ͭͯɼਓ࿛஌ೳΤʔδΣϯτ͕‫׆‬ಈ͢ΔͨΊͷϓϥοτϑΥʔϜΛ‫ܗ‬੒͢ΔͨΊͷJava ‫ޠݴ‬ɼਓ࿛஌ೳΤʔδΣϯτͦͷ΋ͷΛߏங͢ΔͨΊͷ Python ‫ޠݴ‬ɼ࡞੒෺ͷ‫ڞ‬༗΍ཤྺ؅ཧͷͨΊϦϙδτϦ؅ཧπʔϧͰ͋Δ Git ͓Αͼ GitHub ΛͦΕͧΕར༻͢ΔͨΊͷιϑτ΢Σ
Ξ͓ΑͼϥΠϒϥϦΛಋೖͨ͠ɽ
·ͨ‫׆‬ಈͷҰ‫ͯ͠ͱ؀‬ɼ2020 ೥ 7 ݄ 5 ೔ʹߦΘΕͨਓ࿛஌ೳϓϩδΣΫτ [1] ओ࠵ͷਓ࿛஌ೳηϛφʔ 2020 ʹࢀՃͨ͠ɽ‫ݱ‬ঢ়ͷ‫࠷ڀݚ‬લઢͰ͸ɼ໾৬ਪఆʹ‫ػ‬ցֶशΛ౥ࡌͨ͠ɼߦಈܾఆΛϧʔϧϕʔεͰߦ͏ΤʔδΣϯτ͕ओྲྀͰ͋Δ͜ͱΛ஌Δ͜ͱ͕Ͱ͖ͨɽ
લ‫׆ظ‬ಈͷ݁Ռɼ࡞੒͢ΔΤʔδΣϯτͷ͓͓·͔ͳલఏ৚͕݅ఆ·ͬͨɽ·ͣɼΤʔδΣϯτ࡞੒ʹ࢖༻͢Δ‫ ͯ͠ͱޠݴ‬Python ‫ޠݴ‬Λ༻͍Δ͜ͱͱͳͬͨɽ౰ॳ (ਓ࿛஌ೳηϛφʔ 2020 ࢀՃҎલ) ͸ Java ‫ޠݴ‬ͷར༻Λ‫ݕ‬౼͍͕ͯͨ͠ɼ‫ػ‬ցֶशϥΠϒϥϦͷ๛෋͞ΛՃຯͨ݁͠Ռ‫ࡏݱ‬ͷ΋ͷͱͳͬͨɽ࣍ʹΤʔδΣϯτͷߦಈܾఆʹ΋‫ػ‬ցֶशͷ൑அΛಋೖ͢Δ͜ͱΛܾΊͨɽେձ੒੷Λߟ͑ΔͱɼྫʹͳΒͬͨΑ͏ͳߦಈબ୒ʹϧʔϧϕʔεΛ༻͍ͨΤʔδΣϯτͰ͸ɼ༗ҙͳҧ͍Λࢉग़͢ΔͨΊʹɼࢿ‫ݯ‬΍஌͕ࣝपғͱൺֱͯ͠ෆ଍͍ͯ͠Δͱ൑அͨ͠ɽ‫ػ‬ցֶशϞσϧʹ͸ɼχϡʔϥϧωοτϫʔΫΛ࠾༻͢Δ͜ͱʹҙ‫͕ݟ‬Ұகͨ͠ɽͨͩ͠ɼೖग़ྗͷൣғΛఆΊΔͨΊʹϓϩτλΠϓΛ࡞੒ͨ͠͏͑Ͱͷௐ੔͕ඞཁͰ͋Γɼ۩ମతͳೖྗ஋ɾग़ྗ஋ͷࢉग़ʹؔͯ͠͸‫ظޙ‬ͷ࡞‫ۀ‬༧ఆͱͳͬͨɽ
ʢ˞จ੹: ্ࠜथʣGroup Report of 2020 SISP

-5-Group Number 12-A

AI Love Deep Learning

3.1.2‫׆‬ಈͷ໰୊఺

ΦϯϥΠϯͰͷϓϩδΣΫτ‫׆‬ಈΛ௨ͨ͠໰୊఺͕ෳ਺ଘࡏͨ͠ɽಛʹଟਓ਺Ͱͷٞ࿦ͷࡍʹɼճઢঢ়‫گ‬΍Ի‫ڹ‬ઃඋͳͲͷӨ‫Ͱڹ‬ਐߦ͕ఀࢭ͢Δ৔߹͕͋ͬͨɽ·ͨɼҰ౓ʹҰͭͷձ࿩͔͠ߦ͏
͜ͱ͕Ͱ͖ͳ͍ɼಉ࣌ʹൃ੠͢Δ͜ͱΛආ͚ΔͨΊʹٞ࿦଎౓͕௿Լ͢Δɼͱ͍ͬͨ໰୊΋ࢄ‫͞ݟ‬Εͨɽ‫׆‬ಈ಺༰ʹ͍ͭͯͷ໰୊఺ͱͯ͠͸ɼεέδϡʔϧͷաີ͕‫ݒ‬೦͞ΕΔɽ9 ݄‫࡞ૅجʹͰ·ࡏݱ‬‫ۀ‬͸΄΅‫͍ͯྃ͠׬‬ΔҰํɼΤʔδΣϯτ࡞੒ͷ࣮࡞‫ͯؔ͠ʹۀ‬͸΄ͱΜͲਐߦ͍ͯ͠ͳ͍ɽ‫ޙ‬‫ൃظ‬ද·Ͱͷ‫ؒظ‬͸ͦ͏௕͍΋ͷͰ͸ͳ͘ɼ͍ͣΕ͔ͷ‫ʹؒظ‬ॏେ࡞‫ू͕ۀ‬த͢Δ͜ͱ͕ߟ͑ΒΕΔɽʢ˞จ੹: ্ࠜथʣ

3.1.3

ղܾํ๏

‫ʹظޙ‬͸‫׆‬ಈ 3 ճʹ͖ͭ 1 ճɼΦϑϥΠϯͰͷ‫׆‬ಈ͕ೝΊΒΕΔɽॏཁͳٞ࿦͓Αͼ஫ҙ‫ڞ‬༗͸ͦͷ‫ػ‬ձʹߦ͏Α͏ʹ͢Δ͜ͱʹΑΓɼ໰୊఺ͷղܾΛਤΔɽ·ͨ‫ʹظޙ‬͸ٕज़తͳ੡࡞‫׆‬ಈ͕૿
Ճ͢Δ͜ͱΛߟ͑ΔͱɼҎલΑΓ‫ه‬࿥ʹ࢒Γ΍͍͢จ໘Λ௨ͨ͠‫ڞ‬༗Λॏࢹ͢Δඞཁੑ͕͋Δɽ
ߋͳΔεέδϡʔϧͷ޻෉ɾվળ΋ඞཁͰ͋Δͱߟ͑ΒΕΔɽಛʹεέδϡʔϧͷؒԆͼΛ๷͙ͨΊʹɼٙ໰఺ͷ‫ڞ‬༗΍લఏͷ͢Γ߹ΘͤΛੵ‫ۃ‬తʹߦ͏͜ͱ͕๬·ΕΔɽ·ͨపఈͨ͠໾ׂ෼୲
Λߦ͍ɼಛఆͷ୭͔ͷෛ୲͕େ͖͍͋·Γ‫ܭ‬ը͕ͱΜ࠳͢Δɼͱ͍ͬͨࣄଶΛ๷͙͜ͱ΋ॏཁͰ͋Δɽʢ˞จ੹: ্ࠜथʣ3.1.4

‫΁ظޙ‬ͷҾ‫͗ܧ‬ಛʹϓϩτλΠϓͷ࡞੒͕‫ٸ‬Λཁ͢ΔɽχϡʔϥϧωοτϫʔΫΛར༻ͨ͠ෳ਺ͷ‫ࣜܗ‬ͷΤʔδΣϯτΛൺֱ͢Δ͜ͱΛ༧ఆ͍ͯ͠Δɽ౰ॳͷ‫ʹࣜܗ‬नΘΕͣɼྟ‫ػ‬ԠมͳϞσϧΛબ୒͢΂͖
Ͱ͋Δͱ͍͏݁࿦ʹࢸͬͨɽ·ͨ࢒࣌ؒ࣍ୈͰ͸͋Δ͕ɼ࡞੒ͨ͠ΤʔδΣϯτͷಈ࡞Λࢹ֮తʹप஌ͤ͞Δ͜ͱͷͰ͖Δ࢓૊Έɾਤղͷ࡞੒Λߦ͏͜ͱ΋๬·ΕΔɽʢ˞จ੹: ্ࠜथʣ

3.2

‫ظޙ‬

‫ظޙ‬͸ຊ֨తʹਓ࿛஌ೳΤʔδΣϯτͷ։ൃʹऔΓֻ͔ͬͨɽ։ൃʹ͸Ϟσϧ൝ͱઃ‫ܭ‬൝ͷ 2 ͭʹ෼͔ΕͯऔΓ૊ΜͩɽҰͭͷ·ͱ·ͬͨάϧʔϓͰ࡞‫ۀ‬Λߦ͏ʹ͸ɼ͋·Γʹ΋࣮૷͠ͳ͚Ε͹ͳΒͳ͍‫ػ‬ೳ͕ଟ͍ͱ൑அͨͨ͠ΊͰ͋ΔɽϞσϧ൝͸ϩάσʔλ͔Βਓ࿛Λਪఆ͢Δਓ࿛ਪఆϞσϧͱঢ়‫گ‬΍ਓ࿛ਪఆϞσϧ͔Βͷ৘ใ͔Β࣍ʹͱΔߦಈΛܾΊΔߦಈܾఆϞσϧͷ࡞੒Λ୲౰ͨ͠ɽઃ‫ܭ‬൝͸Ϟσϧ൝͕࡞੒ͨ͠Ϟσϧʹద੾ͳಛ௃ྔΛ౉͠ɼग़ྗʹ߹ΘͤͨߦಈͳͲͷॲཧΛߦ͏Α͏ͳΤʔδΣϯτͷߏஙΛ୲౰ͨ͠ɽϞσϧ൝ʹ͸খాதɾ্ࠜɾ޻౻ɾ੢ଜ͕ॴଐ͠ɼઃ

Group Report of 2020 SISP

-6-Group Number 12-A

AI Love Deep Learning‫ܭ‬൝ʹ͸দాɾ໦ଜ͕ॴଐͨ͠ɽ
‫׆‬ಈऴ൫ʹ͸Ϟσϧ൝ɾઃ‫ܭ‬൝Λ߹ྲྀ͠ɼͦΕͧΕͷ࡞੒෺Λ૊Έ߹ΘͤΔ࡞‫ۀ‬Λߦͬͨɽ·֤ͨछϞσϧͷෆ۩߹मਖ਼΍ධՁ࣮‫ݧ‬ɼߟ࡯΋߹ྲྀ‫ͨͬͳͱܗ͏ߦʹޙ‬ɽ‫׆‬ಈʹࡍͯ͠ಛघͳࣄ৘͕ͳ͍‫ݶ‬Γɼਫ༵೔Λର໘‫׆‬ಈɼ༵ۚ೔ΛΦϯϥΠϯ‫׆‬ಈͱఆΊͨɽલ‫Ͱظ‬ͷ൓লΛ౿·͑ɼෳࡶͳ࡞‫ۀ‬΍࿩͠߹͍ɼධՁ࣮‫ݧ‬ΛͰ͖Δ‫ݶ‬Γର໘‫׆‬ಈ೔ʹߦ͏Α͏ʹͨ͠ɽΦϯϥΠϯ‫׆‬ಈ࣌ʹ͸ձٞπʔϧʹ௥Ճ͞Εͨ৽ͨͳ‫ػ‬ೳʹΑͬͯෳ਺ͷ෦԰Λ্ཱͪ͛ɼ൝
͝ͱʹ෼͔Εͯ࡞‫͢ۀ‬Δ͜ͱͰٞ࿦ɾ࡞‫ۀ‬ͷ଎౓Λ͋Δఔ౓े෼ʹอͭ͜ͱ͕Ͱ͖ͨɽ
ͳ͓Ն‫ٳق‬Ջத͓Αͼ‫ʹظॳظޙ‬͸தؒάϧʔϓใࠂॻͷࣥචΛߦͬͨɽใࠂॻͷࣥචΛ௨ͯ͠ɼ‫ݱ‬ঢ়ͷ‫׆‬ಈ‫ܭ‬ըΛ‫ͭݟ‬Ί௚͢͜ͱ͕Ͱ͖ͨɽಛʹෳ਺ͷํ޲ੑͷΤʔδΣϯτΛ࡞੒͢Δͱ͍͏༧ఆʹؔͯ͠ɼ͋·Γ‫࣮ݱ‬తͰ͸ͳ͍ͱ͍͏ํ޲ੑͰ࿩͕·ͱ·ͬͨɽͦͷ݁ՌɼҰͭͷΤʔδΣϯτʹෳ਺ͷϞσϧΛ౥ࡌ͢Δͱ͍͏ൃ૝͕ੜ·Εɼ‫ظޙ‬ͷ༧ఆΛ΍΍มߋ͢Δ͜ͱͱͳͬͨɽ
·ͨ੒Ռൃද‫͔ޙ‬Β 1 ্݄०ʹ͔͚ͯ࠷ऴάϧʔϓใࠂॻͷࣥචΛߦͬͨɽ੒Ռൃදલʹ࠷ऴ੒Ռ෺ͷධՁ࣮‫Ͱ·ݧ‬Λߦ͏͜ͱ͕Ͱ͖͍ͯͨͨΊɼதؒ࣌ΑΓεϜʔζͳ࡞‫ۀ‬Λߦ͏͜ͱ͕Ͱ͖
ͨɽάϧʔϓใࠂॻͷࣥචͷதͰɼ੒ՌൃදͰಘΒΕͨ‫ײ‬૝ɾҙ‫ݟ‬Λ‫ڞ‬༗্ͨ͠Ͱͷ൓লΛߦ͍ɼ໌֬ͳ൓ল఺ɾվળ఺Λද໘Խͤ͞Δ͜ͱ͕Ͱ͖ͨɽ
ʢ˞จ੹: দా‫ݦ‬ʣ

3.2.1‫׆‬ಈͷৄࡉ

Ϟσϧ൝‫ػ‬ցֶशϞσϧΛߏங͢Δʹ͋ͨΓɼσΟʔϓϥʔχϯάͷϥΠϒϥϦͷ 1 ͭͰ͋Δ Keras Λಋೖͨ͠ɽKeras ͸ɼχϡʔϥϧωοτϫʔΫϞσϧͷߏஙΛൺֱత༰қʹ͢ΔϥΠϒϥϦͰ͋Δɽ
·ͨ਺஋σʔλΛߴ଎ʹॲཧ͢ΔͨΊɼ‫ࢧࢉܭ‬ԉϥΠϒϥϦͰ͋Δ NumPyɼਓ࿛஌ೳαʔόʔͱͷ࿈‫ܞ‬Λߦ͏ͨΊɼσʔλղੳΛࢧԉ͢ΔϥΠϒϥϦͰ͋Δ pandas ΛͦΕͧΕಋೖͨ͠ɽಋೖ͠
֤ͨछϥΠϒϥϦʹ͍ͭͯཧղΛਂΊͨͷͪɼ࣮࡞‫޻ۀ‬ఔ΁ಥೖͨ͠ɽ
·ͣਓ࿛ਪఆϞσϧͱߦಈܾఆϞσϧΛߏங͢Δ͏͑Ͱɼա‫ڈ‬ͷਓ࿛஌ೳେձͷϩάΛղੳ͠ɼ‫༻ࢣڭ‬σʔλɼֶश༻σʔλͱͯ͠࢖༻ͨ͠ɽա‫ڈ‬େձͷϩά͸ਓ࿛஌ೳϓϩδΣΫτެࣜαΠτ[1] ͰςΩετϑΝΠϧ‫ެͰࣜܗ‬։͞Ε͓ͯΓɼ͔ͦ͜Β‫ޙ‬ड़ͷϞσϧΛߏங͢ΔͨΊʹඞཁͳ 304࣍‫ݩ‬ͷಛ௃ྔΛநग़ͨ͠ɽࠓճ͸ެ։͞Ε͍ͯΔϩάͷதͰ࠷΋৽͍͠ʮୈ 4 ճਓ࿛஌ೳେձʯͷܾউઓͷϩάσʔλΛ༻͍ͨɽϩάσʔλղੳͷऴྃ‫ޙ‬ɼχϡʔϥϧωοτϫʔΫϞσϧΛ༻͍ͯʮਓ࿛ਪఆϞσϧʯΛߏஙͨ͠ɽߏங͢ΔϞσϧ͸ɼϩάσʔλΛղੳͨ͠ 304 ࣍‫ݩ‬ͷσʔλ͔Βਓ࿛Λਪఆ͢Δඞཁ͕͋ΔͨΊɼೖྗΛ 304 ࣍‫͠ͱݩ‬ɼग़ྗΛਓ࿛ͷ૊Έ߹Θͤͷ૯࿨ͱ͢ΔχϡʔϥϧωοτϫʔΫϞσϧͱͨ͠ʢߋͳΔৄࡉ͸ʮ5.4.2 અ ਓ࿛ਪఆϞσϧʯΛࢀরʣɽਓ࿛ਪఆϞσϧͷߏங‫ޙྃ׬‬ɼ࣮ࡍͷήʔϜதʹ͓͚ΔߦಈΛܾఆ͢ΔͨΊͷʮߦಈܾఆϞσϧʯΛߏங͢Δஈ֊ʹೖͬͨɽ‫ͯ͠ͱࣜܗ‬ɼDeep Q-NetworkʢDQNʣϞσϧʹΑΔ‫ڧ‬ԽֶशΛ࠾༻ͨ͠ɽϞσϧͷಈ࡞֬ೝΛ͢ΔࡍʹήʔϜαʔό‫͕ڥ؀‬ඞཁʹͳͬͨ͜ͱ΋͋ΓɼΑΓઃ‫ܭ‬൝ͱͷ࿈‫ۀ࡞ܞ‬Λ‫ڧ‬ΊΔ͜ͱͱͳͬͨʢߋͳΔৄࡉ͸ʮ5.4.3 અ ߦಈܾఆϞσϧʯΛࢀরʣɽϞσϧͷߏங࡞‫ݶظʹۀ‬Λઃ͚ɼҎ߱͸ֶशɾӡ༻࣮‫ݧ‬Λߦͬͨɽ֤छϞσϧ΍γεςϜ͕࠷௿‫ݶ‬ΤϥʔΛൃ͠ͳ͍͜ͱΛ֬ೝͨ͠ͷͪɼ͋Β͔͡ΊఆΊ࣮ͨ‫ํݧ‬਑ʹଇֶͬͯशɾӡ༻ΛߦͬͨɽGroup Report of 2020 SISP

-7-Group Number 12-A

AI Love Deep Learning
ʢ˞จ੹: ੢ଜ࿨അʣઃ‫ܭ‬൝ઃ‫ܭ‬൝ͷ‫׆‬ಈͱͯ͠ɼ࠷ॳʹ Keras ͱ pandas ͷֶशΛߦͬͨɽKeras ͸‫ػ‬ցֶशΛߦ͏ࡍʹ༻͍ΒΕΔ Python ͷϥΠϒϥϦͰ͋Γɼͦͷܰྔ͞Λཧ༝ʹ࠾༻ͨ͠ɽKeras Λษ‫͢ڧ‬Δ͜ͱͰϞσϧ൝͕࡞੒ͨ͠‫ػ‬ցֶशϞσϧΛΤʔδΣϯτʹΠϯϙʔτ͠ɼͦͷϞσϧʹඞཁͳಛ௃ྔΛ౉͠ɼग़ྗΛਖ਼͘͠ड͚औΔྲྀΕΛਖ਼࣮͘͠૷Ͱ͖ΔΑ͏ʹͳͬͨɽKeras ͷֶश͸ެࣜυΩϡϝϯ
τ [5] Λओͳ‫͍ͨ༻ͯ͠ͱࡐڭ‬ɽpandas ͱ͸σʔλղੳʹ༻͍ΒΕΔ Python ϥΠϒϥϦͰ͋Γɼ‫ػ‬ցֶशϞσϧʹ౉͢ಛ௃ྔΛ࡞੒͢ΔͨΊʹ༻͍ͨɽpandas ͷֶशʹ͸ Chainer ͷνϡʔτϦΞϧ [6] Λ༻͍ͯߦͬͨɽKeras ͱ pandas ͷֶश͸ɼColaboratory Λ༻͍࣮ͯફΛ௨ͯ͠ߦͬͨɽColaboratory ͱ͸ Google ͕ఏ‫͢ڙ‬ΔαʔϏεͷҰͭͰ͋Γɼ΢Σϒϒϥ΢β্Ͱ Python
Λ࣮ߦ͢Δ͜ͱ͕Ͱ͖Δɽ‫ߏڥ؀‬ங͕ඞཁͳ͍͜ͱ΍ɼ‫ڞ‬ಉฤू͕ՄೳͰ͋Δ͜ͱ͔ΒϥΠϒϥϦ
ͷֶशҎ֎Ͱ΋։ൃͷࡍʹ࣮૷લͷಈ࡞֬ೝͰ͜ͷαʔϏεΛར༻ͨ͠ɽ
։ൃʹ͸ GitHub ͳͲΛ༻͍ͨɽϞσϧ൝ͷ‫ػ‬ցֶशϞσϧͷ࡞੒ͱฒߦͯ͠։ൃΛߦ͍ɼϞσϧ൝ͷཁ๬ʹ߹ΘͤͯΤʔδΣϯτʹฤूΛՃ͍͑ͯͬͨɽ
ਓ࿛஌ೳΤʔδΣϯτͷ࡞੒ʹ͸ɼਓ࿛஌ೳϓϩδΣΫτ͕ఏ‫͍ͯ͠ڙ‬Δ Python Ͱ࡞੒͞Εͨ‫ج‬ຊΤʔδΣϯτʹ‫ػ‬ೳΛ௥Ճ͍ͯ͘͠ɽਖ਼֬ͳ‫ڍ‬ಈΛ࣮‫͢ݱ‬ΔͨΊʹɼ‫ج‬ຊΤʔδΣϯτͰ࢖༻͞Ε͍ͯΔϝιου΍ม਺ʹ͍ͭͯௐࠪΛެࣜυΩϡϝϯτ [7] ΛࢀߟʹߦͬͨɽҎԼ͕ͦͷ݁Ռ
Ͱ͋Δɽ

ϝιου

initialize ήʔϜͷॳΊʹ 1 ౓‫ͼݺ‬ग़͞ΕɼήʔϜͷॳ‫ظ‬ԽΛߦ͏ɽbased infoɼdiﬀ dataɼ
game setting ͕Ҿ਺ͱͯ͠༩͑ΒΕΔɽ
update 1 ೔Ͱෳ਺ճ‫ͼݺ‬ग़͞ΕΔɽbase infoɼdiﬀ data ͕Ҿ਺ͱͯ͠༩͑ΒΕΔɽ
dayStart 1 ೔ͷॳΊʹ 1 ౓‫ͼݺ‬ग़͞ΕΔɽ

ม਺base info ࣗ෼ͷ໾৬ɼ૬खͷ໾৬ɼ૬खͷঢ়ଶɼ࢒Γͷൃ‫ݴ‬ɼ͞͞΍͖Մೳճ਺͕֨ೲ͞Εͨࣙॻ‫ܕ‬diﬀ data agentɼdayɼidxɼtextɼturnɼtype ΛΠϯσοΫεʹ࣋ͭ Pandas ͷ DataFrame ‫ܗ‬ࣜɽগ͠ಛघͰ͋Γɼtype ͷ஋ʹΑͬͯ agentɼidxɼturn ͷࢦ͢಺༰͕มΘΔɽ

game setting ϓϨΠϠʔਓ਺ͳͲήʔϜͷ‫ج‬ຊ৘ใ͕֨ೲ͞Εͨࣙॻ‫ܕ‬diﬀ data ʹ͍ͭͯ۩ମతʹղઆΛߦ͏ɽtype ͕ “initialize” ·ͨ͸ “ﬁnish” ͷ৔߹͸ήʔϜͷ
։࢝·ͨ͸ऴྃΛࣔ͠ɼidxɼagent ʹ͸ࣗ෼ͷΤʔδΣϯτ ID ͕ɼtext ʹ͸ ﬁnish ͷ৔߹ͷΈࣗ਎ͷ໾৬ΛΧϛϯάΞ΢τ͢Δൃ‫͕ݴ‬ɼturn ʹ͸ 0 ͕֨ೲ͞ΕΔɽtype ͕ “talk” ·ͨ͸“whisper” ͷ৔߹͸ൃ‫ͨ·ݴ‬͸͞͞΍͖Λࣔ͠ɼagent ʹ͸ൃ࿩ऀͷΤʔδΣϯτ ID ͕ɼidx ʹ͸ൃ‫ݴ‬ɾ͞͞΍͖ʹׂΓ౰ͯΒΕͨ ID ͕ɼtext ʹ͸ൃ‫಺ݴ‬༰͕ɼturn ʹ͸ 1 ೔ʹ‫ͼݺ‬ग़͞Εͨൃ‫ݴ‬ͷճ਺͕֨ೲ͞ΕΔɽtype ͕ “vote” ·ͨ͸ “attack vote” ͷ৔߹͸௥์౤ථ·ͨ͸ऻܸ౤ථΛࣔ͠ɼagent ʹ͸౤ථର৅ͷΤʔδΣϯτ IDɼidx ʹ͸ࣗ਎ͷΤʔδΣϯτ IDɼtext ʹ͸౤ථGroup Report of 2020 SISP

-8-Group Number 12-A

AI Love Deep LearningΛͨ͜͠ͱΛࣔ͢ൃ‫಺ݴ‬༰ɼturn ͸‫ج‬ຊతʹ͸ 0ɼͨͩ͠࠶౤ථʹͳͬͨ৔߹͸ 1 ճ໨ͷ౤ථͷ

turn=-1 ͕֨ೲ͞ΕΔɽtype ͕ “execute” ·ͨ͸ “dead” ͷ৔߹͸ॲ‫ͨ·ܐ‬͸ऻܸʹΑͬͯࢮऀ͕ग़ͨ͜ͱΛࣔ͠ɼagent ʹ͸ࢮऀͷΤʔδΣϯτ IDɼtext ʹ͸ࢮऀ͕ग़ͨ͜ͱΛࣔ͢ൃ‫಺ݴ‬༰ɼidx ͱ turn ʹ͸ 0 ͕֨ೲ͞ΕΔɽਓ࿛ήʔϜ͕։࢝ͨ࣌͠఺Ͱɼલड़ͷ initialize ϝιου͕‫ͼݺ‬ग़͞ΕɼήʔϜͷॳ‫ظ‬ઃఆΛಘΔ͜ͱ͕Ͱ͖Δɽͦͷ‫ޙ‬͸ɼupdate ϝιουʹ diﬀ data ͱͯ͠ήʔϜதʹൃੜ͢Δ৘ใͱɼbase info ʹͯ‫ج‬ຊతͳήʔϜͷঢ়‫گ‬ΛಘΔ͜ͱ͕Ͱ͖Δɽਓ࿛ਪఆϞσϧͰඞཁͱ͢Δಛ௃ྔ͸
diﬀ data ʹ֨ೲ͞Ε͍ͯΔ΋ͷ͕ଟ͍ͷͰɼupdate ϝιου಺Ͱஞ࣍৘ใΛߋ৽͠ಛ௃ྔΛ࡞੒
͍ͯ͠ΔɽߦಈܾఆϞσϧʹ͸ 1 ೔͝ͱʹߋ৽Λཁ‫͞ٻ‬ΕΔ෺΍ৗʹ࠷৽ͷ৘ใΛ‫ٻ‬ΊΔ෺͕͋ΓɼΤʔδΣϯτຊମͰॲཧΛ͢Δ΋ͷ΍ਓ࿛ਪఆϞσϧͷͨΊʹ࡞੒ͨ͠৘ใΛ੔ཧ͢ΔϝιουΛ࢖༻͢Δ෺ͳͲཚཱ͍ͯ͠Δɽ͜͜͸վળͷ༨஍͕͋Δ෦෼Ͱ͋Δɽ࣍ʹϞσϧ൝ͷ࡞ͬͨϓϩάϥϜͰ࢖ΘΕ͍ͯΔಛ௃ྔͷௐࠪΛߦͬͨɽௐࠪͨ࣌͠఺Ͱ
ͷಛ௃ྔ͸઎͍ࢣͷ CO ͨ͠ॱ൪ͷϦετʢঢॱʣɼྶഔࢣͷ CO ͨ͠ॱ൪ͷϦετʢঢॱʣɼ

divine[w/v][agent#]ʢ୭Λനͱ͍ͬͨճ਺ʣɼday-divine[೔෇][w/v][agent#]=౤ථൃ‫ݴ‬ճ਺ɼ
suﬀer[w/v][agent#]ʢ୭͕ࣗ෼Λന/ࠇͱ͍ͬͨճ਺ʣͰ͋ͬͨɽ
Ϟσϧʹೖྗ͢Δσʔλͷલॲཧͷ४උ͕ग़དྷͨͷͰɼผʹ৽͘͠ΫϥεΛ࡞੒ͯ͠ɺͦ͜Ͱલ
ॲཧΛߦͬͨɽͦͷΫϥεͰ͸ PandasDataFrame ‫ࣜܗ‬ͷ diﬀ data Λ Numpy ‫ࣜܗ‬ͷ 304 ࣍‫ݩ‬ͷ

1 ࣍‫ݩ‬഑ྻͷσʔλʹม‫͢׵‬ΔॲཧΛߦͬͨɽ·ͨɼ304 ࣍‫ݩ‬ͷ 1 ࣍‫ݩ‬഑ྻͷσʔλʹ͸ɼ೔෇ɼੜଘऀ਺ɼੜଘ͍ͯ͠Δ઎͍ࢣ਺ɼੜଘ͍ͯ͠Δྶഔࢣ਺ɼ઎͍ࢣ CO ঢ়‫گ‬ɼྶഔࢣ CO ঢ়‫گ‬ɼ઎͍݁Ռථɼߠఆൃ‫਺ݴ‬ɼ൱ఆൃ‫਺ݴ‬ɼ౤ථมߋ਺Λ֨ೲͨ͠ɽ
ΤʔδΣϯτͷߦಈܾఆͷॲཧͱͯ͠ɼඞཁͳ৘ใΛม਺ͱͯ͠ΤʔδΣϯτ಺΁ͷ༻ҙɼ᱐ΓɼCO ௚‫ޙ‬ͷ઎͍݁Ռɼྶഔ݁Ռͷද໌ɼover ͢Δલʹ 1 ౓ɼਪఆϞσϧͰࢉग़͞Εͨਓ࿛ͨͪ
Λո͠Ήൃ‫ݴ‬Λߦ͏ʢਓؒͷ৔߹ʣϓϩάϥϜͷ࣮૷Λߦͬͨɽඞཁͳ৘ใͱ͸ɼ௥์͞ΕͨΤʔδΣϯτͷ൪߸ʢ1 ʵ 15ɼ୭΋௥์͞Ε͍ͯͳ͍৔߹͸ 0ʣɼேऻܸ͞Εͨਓͷ൪߸ʢ1 ʵ 15ɼ୭΋ऻܸ͞Ε͍ͯͳ͍৔߹͸ 0ʣɼࣗ෼͕઎͍ࢣͷ৔߹ͷ઎͍݁Ռɼࣗ෼͕ྶഔࢣͷ৔߹ͷྶഔͷ݁ՌͰ͋Δɽ·ͨɼ᱐Γͷ۩ମతͳ಺༰ͱͯ͠͸ɼଜਓͷ৔߹͸᱐Γͳ͠ɼਓ࿛ɾ‫ڰ‬ਓͷ৔߹͸ߦಈϦετʮ3ʯͷ஋ʹΑͬͯɼ0 ͳΒ᱐Γͳ͠ɼ1 ͳΒ઎͍ࢣɼ2 ͳΒྶഔࢣʹ᱐Γɼ઎͍ͷର৅ͱ݁Ռ͸ͰͨΒΊʹͳΔΑ͏ʹͨ͠ɽʢ˞จ੹: ໦ଜߴ೭ʣ

3.2.2‫׆‬ಈͷ໰୊఺

‫Ͱظޙ‬ͷ‫׆‬ಈͷ໰୊఺ͱͯ͠͸ɼલ‫ظ‬ͷ࣌఺Ͱ‫ݒ‬೦͞Ε͍ͯͨɼεέδϡʔϧͷաີ͕‫͛ڍ‬ΒΕ
Δɽ‫Ͱظޙ‬͸ 1 िؒʹ 1 ౓ɼΦϑϥΠϯͰͷ‫׆‬ಈ͕ೝΊΒΕ͍ͯͨɽͦͷͨΊશ໘ΦϯϥΠϯ‫׆‬ಈͩͬͨલ‫ͱظ‬ൺ΂ɼ‫׆‬ಈ͕εϜʔζʹਐΉ͜ͱͰεέδϡʔϧͷաີ͕ղফ͞ΕΔͱߟ͑ΒΕ͍͕ͯͨɼ݁‫ہ‬ͷͱ͜ΖεέδϡʔϧͷաີΛղফ͢Δ͜ͱ͕Ͱ͖ͣɼ༷ʑͳ໰୊ΛҾ͖‫݁͢͜ى‬ՌͱͳͬͨɽεέδϡʔϧͷաີʹΑͬͯҾ͖‫͜͞ى‬Εͨ໰୊ͷҰͭͱͯ͠ɼ·ͣ༧ఆͷมߋ͕‫͛ڍ‬ΒΕΔɽલ‫ظ‬ͷ࣌఺Ͱ͸ɼϓϩτλΠϓͷ࡞੒΍ɼෳ਺ͷΤʔδΣϯτͷ։ൃɾൺֱΛߦ͏͜ͱ͕༧
ఆ͞Ε͍ͯͨɽ͔͠͠ɼεέδϡʔϧͷաີʹΑΓɼ࣌ؒతʹෳ਺ͷΤʔδΣϯτͷ࡞੒Λߦ͏͜ͱ͕ࠔ೉Ͱ͋ͬͨͨΊɼ1 ͭͷΤʔδΣϯτͷ։ൃͷΈΛߦ͏͜ͱͱͳͬͯ͠·ͬͨɽ·ͨɼ࡞੒ͨ͠ 1 ͭͷΤʔδΣϯτʹ͍ͭͯ΋ɼσόοΫ࡞‫ۀ‬΍ύϥϝʔλͷඍௐ੔ɼ࡞੒ͨ͠ਓ࿛ਪఆϞσGroup Report of 2020 SISP

-9-Group Number 12-A

AI Love Deep LearningϧɼߦಈܾఆϞσϧͷֶशͳͲɼϞσϧͷੑೳΞοϓʹඞཁͳ࡞‫ۀ‬ͷ࣌ؒΛ͋·ΓऔΔ͜ͱ͕Ͱ͖
ͳ͔ͬͨɽͦͷଞͷ໰୊఺ͱͯ͠͸ɼ൝෼͚ʹΑΔ໰୊఺͕͍͔ͭ͘‫͛ڍ‬ΒΕΔɽ‫Ͱظޙ‬͸Ϟσϧ൝ͱઃ‫ܭ‬൝ʹ෼͔Εͯ‫׆‬ಈΛߦͬͨɻ൝෼͚ʹΑΓɼ2 ͭͷ൝͕ͦΕͧΕΤʔδΣϯτઃ‫ͱۀ࡞ܭ‬ɼϞσϧߏங࡞‫ʹۀ‬ઐ೦͢Δ͜ͱ͕Ͱ͖͕ͨɼͦͷҰํͰɼ΋͏ยํͷ൝ͷίʔυͷཧղ͕ࠔ೉ʹͳΔͳͲɼΤʔδΣϯτ։ൃ࡞‫ۀ‬શମͷ೺ѲΛ͢Δ͜ͱ͕೉͘͠ͳΔͱ͍͏݁Ռʹͳͬͯ͠·ͬͨɽ·ͨɼ൝ͰผʑͷϥΠϒϥϦΛ࢖͍ͬͯΔ͜ͱ΍ม਺໊ͷ౷Ұ͕͞Ε͍ͯͳ͍͜ͱͳͲɼ2 ͭͷ൝͕ฒߦͯ͠ແடংʹ։ൃΛߦͬͨ͜ͱͰɼ౷߹ͷࡍʹগ͠खؒऔΔࣄʹͳͬͯ͠·ͬͨɽ൝෼͚ʹΑ
Δ໰୊఺ࣗମ΋࿩͠߹͍ʹΑͬͯղܾͰ͖Δ͸ͣͰ͋Δ͔Βɼ͜Εʹ͍ͭͯ΋εέδϡʔϧͷաີ͕‫ى‬Ҽ͢Δ͜ͱ͕ߟ͑ΒΕΔɽ
ʢ˞จ੹: ޻౻ޫ໼ʣ

3.3‫ڞ‬ಉ։ൃ‫ڥ؀‬લ‫ظ‬ɾ‫ظޙ‬ͷ‫׆‬ಈΛ௨ͯ͠ɼ‫ڞ‬ಉ։ൃ‫ڥ؀‬ͷߏஙͱπʔϧͷ࢖͍͔ͨͷशಘΛߦͬͨɽʢ˞จ੹: দా‫ݦ‬ʣ

3.3.1

Git

Git ͸෼ࢄ‫ܕ‬όʔδϣϯ؅ཧγεςϜͰ͋Γɼ‫ڞ‬ಉ։ൃʹ‫ݶ‬Βͣ։ൃͰ͸ඞਢͱͳΔγεςϜͰ
͋ΔɽGit ͸ϑΝΠϧͷߋ৽Λ‫ه‬࿥͢Δɽ͜ΕʹΑͬͯͳͥ͜ͷΑ͏ͳ࣮૷ʹͳͬͨͷ͔ɼ͍ͭͩ
Ε͕มߋͨ͠ͷ͔ͳͲ͕໌Β͔ͱͳΔɽ·ͨɼա‫ڈ‬ͷঢ়ଶʹ໭͢͜ͱ͕Ͱ͖ΔͨΊɼՃ͑ͨա‫ڈ‬ͷมߋΛ΍Γ௚͢ͳͲɼ։ൃʹ͓͍ͯൃੜ͢Δ໰୊ʹ͍ͭͯରॲ͢Δ͜ͱ͕Ͱ͖Δɽ·ͨɼʮϒϥϯνΛ੾Δʯ͜ͱͰιʔείʔυ͕ෳ੡͞Εɼಉ࣌ʹෳ਺ͷมߋΛՃ͑Δ͜ͱ͕ՄೳͱͳΔ఺͸‫ڞ‬ಉ։ൃʹ͓͍ͯେ͖ͳར఺ͱͳΔɽάϧʔϓϝϯόʔશһ͕ Windows ‫ڥ؀‬Λ࢖༻͍ͯͨͨ͠Ίɼ͜ͷγεςϜΛར༻͢ΔͨΊʹ Git bash for Windows Λಋೖͨ͠ɽ͜ΕʹΑΓɼWindows ‫Ͱڥ؀‬΋ Unix γΣϧͻ͍ͯ͸ Git Λར༻Ͱ͖ΔΑ͏ʹͳΔɽ
ʢ˞จ੹: দా‫ݦ‬ʣ

3.3.2

GitHub

GitHub ͸ɼιϑτ΢ΤΞ։ൃͷϓϥοτϑΥʔϜͰ͋Γɼલड़ͨ͠ Git ΛΠϯλʔωοτΛհͯ͠ෳ਺ਓͰར༻Ͱ͖ΔΑ͏ʹͨ͠αʔϏεͰ͋Δɽຊ೥౓͸‫ج‬ຊతʹΦϯϥΠϯͰͷ‫׆‬ಈͱͳͬͨͨΊɼ͜ͷΑ͏ͳΦϯϥΠϯͰ։ൃ͕ߦ͑ΔΑ͏ͳαʔϏεͷར༻͸ඞਢͰ͋ͬͨɽϓϩδΣΫ
τͱɼάϧʔϓ༻ͷϦϙδτϦΛ࡞੒͠ɼ͜ͷϦϙδτϦΛߋ৽͍ͯ͘͜͠ͱͰ։ൃΛਐΊͨɽʢ˞จ੹: দా‫ݦ‬ʣGroup Report of 2020 SISP

- 10 -

Group Number 12-A

AI Love Deep Learning

3.3.3

Anaconda3‫ʹظޙ‬͸ Python Λ༻͍ͯਓ࿛஌ೳΤʔδΣϯτΛ࡞੒͢Δ͜ͱ͕ܾఆͨ͠ɽ‫ڥ؀‬ͷҧ͍ʹΑΔ
໰୊͕ൃੜ͠ͳ͍Α͏ʹɼPythonɼͦͯ͠࢖༻͢ΔϥΠϒϥϦ͸άϧʔϓϝϯόʔ͕શһಉ͡‫؀‬‫͢༻࢖Ͱڥ‬Δ΂͖Ͱ͋ΔɽAnaconda3 ͸ͦͷ໰୊Λղܾ͢ΔɽAnaconda3 ͸ Python ͷσΟετ
ϦϏϡʔγϣϯͰ͋ΓɼPython ͷಋೖ͸΋ͪΖΜɼϥΠϒϥϦʹ͍ͭͯ΋όʔδϣϯΛࢦఆͯ͠Ͱͷಋೖ͕ՄೳͰ͋Δɽਓ࿛஌ೳϓϩδΣΫτ͕ެ։͍ͯ͠Δ Python ൛ͷ‫ج‬ຊΤʔδΣϯτʹ
͸ɼόʔδϣϯͷ‫͍ݹ‬ϥΠϒϥϦ͕ଘࡏ͠ɼόʔδϣϯͷࢦఆ͕Մೳͳ఺͸ඇৗʹ༗༻Ͱ͋ͬͨɽ
࢖༻͢ΔϥΠϒϥϦͳͲ͸ɼͦΕΒΛ‫ڥ؀‬ͷηοτͱͯ͠ઃఆͰ͖ࣗ༝ʹ͔ͭ؆୯ʹ੾Γସ͑Δ͜
ͱ͕Ͱ͖Δͷ΋ Anaconda3 ͷ‫ڧ‬ΈͰ͋Δɽ͜ΕΛ༻͍ͯ NumpyɼpandasɼKeras ͳͲͷಋೖΛߦͬͨɽʢ˞จ੹: দా‫ݦ‬ʣGroup Report of 2020 SISP

- 11 -

Group Number 12-A

AI Love Deep Learning

ୈ4ষ
4.1

ਓ࿛஌ೳͷৄࡉ

ਓ࿛஌ೳϓϩδΣΫτʹ͍ͭͯਓ࿛஌ೳϓϩδΣΫτ [1] ͱ͸ɼෆ֬ఆ৘ใίϛϡχέʔγϣϯήʔϜͰ͋Δʮೊ͸ਓ࿛ͳΓ΍ʁʢ௨শ, ਓ࿛ήʔϜʣʯΛ‫ػ‬ցֶशΛ༻͍ͯ, ғ‫ޟ‬΍Φηϩͱಉ౳ʹਓ޻஌ೳʹΑΔ੍‫ޚ‬Λ໨ࢦ͢‫ڀݚ‬෼໺Ͱ͋Δɽ·ͨ, ͜ͷϓϩδΣΫτͷ‫ۃڀ‬తͳ໨ඪ͸ʮਓؒͱࣗવͳίϛϡχέʔγϣϯΛͱΓͳ͕Βਓ࿛ΛϓϨΠͰ͖ΔΤʔδΣϯτͷߏஙʯͰ͋Δɽ͜ͷ໨ඪͷ࣮‫ݱ‬ͷͨΊʹɼΤʔδΣϯτٕज़ɼਓ޻஌ೳɼࣗવ‫ॲޠݴ‬ཧɼHAIʢΤʔδΣϯτͷΠϯλʔϑΣΠεͷ࣮૷ʣͱ͍ͬ
ٕͨज़͕ඞཁͱͳΔɽ
ʢ˞จ੹: ໦ଜߴ೭ʣ

4.2

ਓ࿛஌ೳେձʹ͍ͭͯਓ࿛஌ೳେձͱ͸ɼਓ࿛஌ೳϓϩδΣΫτ [1] ͕ਓ࿛ήʔϜΛϓϨΠ͢Δ͏͑Ͱ‫ٻ‬ΊΒΕ͍ͯΔਓ޻஌ೳٕज़ͷൃలΛ໨తͱͯ͠ɼՆͱ 3 ݄͝Ζʹ։࠵͞Ε͍ͯΔ‫ٕڝ‬ձͷ͜ͱͰ͋Δ. ਓ࿛஌ೳେձʹ͸, ձ࿩಺༰Λ‫ػ‬ցॲཧ͕༰қͳϓϩτίϧΛ༻͍Δϓϩτίϧ෦໳ͱɼձ࿩಺༰Λࣗવ‫ݴ‬‫ࣗ͏ߦͰޠ‬વ‫ޠݴ‬෦໳ͷ 2 छྨ͕͋Δɽάϧʔϓ಺ͰͲͪΒͷ෦໳ʹग़৔͢Δͷ͔‫ڠ‬ٞͨ݁͠Ռɼ
ࣗવ‫ޠݴ‬෦໳͸ࣗવ‫ॲޠݴ‬ཧΛߦ͏ඞཁ͕͋Γɼ࣌ؒతʹ‫ͱ͍͠ݫ‬൑அͨ͠ɽैͬͯɼຊάϧʔϓ͸ϓϩτίϧ෦໳ʹग़৔͢Δ༧ఆͰ͋Δɽ
ʢ˞จ੹: ໦ଜߴ೭ʣ

4.3

ϓϩτίϧ෦໳ʹ͍ͭͯϓϩτίϧ෦໳ͱ͸ɼਓ࿛஌ೳϓϩτίϧʹΑΔίϛϡχέʔγϣϯͷΈΛ‫ڐ‬Մͨ͠ਓ࿛஌ೳ
ʹΑΔେձͰ͋Δɽਓ࿛஌ೳϓϩτίϧͱ͸ɼਓ࿛ήʔϜͰͷൃ‫ݴ‬ΛʮCOMINGOUT Agent[15]SEERʯ(ΤʔδΣϯτ 15(ࣗ෼) ͕઎͍ࢣͰ͋ΔͱΧϛϯάΞ΢τ͠·͢) ͷΑ͏ʹϓϩτίϧͱ͍͏‫ݴൃͨͬ·ܾͯ͠ͱܗ‬ͷΈΛ‫ڐ‬Մ͢Δ͜ͱͰɼࣗવ‫ॲޠݴ‬ཧ͕Ͱ͖ͳͯ͘΋ਓ࿛஌ೳΛ࡞੒Ͱ
͖ΔϑΥʔϚοτͷ͜ͱͰ͋Δɽ ·ͨɼਓ࿛஌ೳϓϩτίϧΛॲཧ͢ΔϥΠϒϥϦ͸ JavaɼNETɼ

Python ͳͲͷ‫Ͱޠݴ‬ར༻͕ՄೳͰ͋Δɽ
ʢ˞จ੹: ໦ଜߴ೭ʣ

Group Report of 2020 SISP

- 12 -

Group Number 12-A

AI Love Deep Learning

4.4ਓ࿛ήʔϜͷৄࡉ

4.4.1

ਓ࿛ήʔϜͷ֓ཁਓ࿛ήʔϜͱ͸ɼଜਞӦͱਓ࿛ਞӦͷ 2 ͭʹ෼͔ΕͨϓϨΠϠʔ͕ͨͪɼ֤ʑͷউརΛ໨ࢦͯ͠ઓ͏ήʔϜͰ͋ΔɽήʔϜ͸னͷλʔϯͷ໷ͷλʔϯΛ‫܁‬Γฦ͢λʔϯ੍ͰߦΘΕΔɽனλʔϯʹ͸શһͰٞ࿦Λߦ͍ɼ౤ථʹΑͬͯո͍͠ϓϨΠϠʔΛҰਓબग़͠ɼબ͹ΕͨϓϨΠϠʔΛ௥์͢Δɽ໷λʔϯʹ͸ਓ࿛͕ਓؒΛऻܸͨ͠ΓɼಛघೳྗΛ࣋ͬͨ໾৬ͷϓϨΠϠʔ͕ೳྗΛ࢖ͬͨΓ
͢Δɽ͜ΕΛͲͪΒ͔ͷਞӦ͕উར৚݅Λຬͨ͢·Ͱ‫܁‬Γฦͯ͠ߦ͏ɽଜਞӦͷউར৚݅͸͢΂ͯͷਓ࿛Λ௥์ʢॲ‫ͱܐ‬ද‫ͨ͠ݱ‬Γ΋͢Δʣ͢Δ͜ͱͰ͋Γɼਓ࿛ਞӦͷউར৚݅͸ਓ࿛ͷ਺ͱਓؒͷ਺͕ಉ਺ʹͳΔ͜ͱͰ͋Δɽ
ʢ˞จ੹: খాதཛྷʣ

4.4.2

໾৬

֤ϓϨΠϠʔ͸ήʔϜ։࢝࣌ʹ͍ͣΕ͔ͷ໾৬Λ༩͑ΒΕΔɽͦΕͧΕʹ͍ͭͯड़΂ΔɽଜਞӦͷ໾৬
ଜਓಛघೳྗΛ࣋ͨͳ͍ͨΊɼձ࿩ͷΈΛώϯτʹͯ͠ਓ࿛Λ୳͠ग़͠௥์͍ͯ͘͠ɽ‫ج‬ຊతʹਓ࿛ήʔϜʹ͓͍ͯ࠷΋ਓ਺ͷଟ͍໾৬Ͱ͋Δɽ઎͍ࢣ໷ͷλʔϯͰ 1 ೔ 1 ਓΛࢦఆͯ͠ɼͦͷϓϨΠϠʔ͕ਓ࿛Ͱ͋Δ͔Ͳ͏͔Λௐ΂Δ͜ͱ͕
Ͱ͖Δɽਓ࿛ਞӦͷϓϨΠϠʔ͸ʮࣗ෼͕઎͍ࢣͰ͋ΔʯͱӕΛͭ͘͜ͱ͕ଟ͍ͨΊɼຊ෺ͷ઎͍ࢣͱͯ͠ଜਓਞӦ͔Β৴པΛಘΔ͜ͱ͕Ͱ͖ΔΑ͏ʹɼߴ౓ͳϓϨΠ͕ඞཁͰ͋Δɽྶഔࢣ ໷ͷλʔϯͰલ೔௥์͞ΕͨϓϨΠϠʔ͕ਓ࿛Ͱ͔͋ͬͨͲ͏͔Λௐ΂Δ͜ͱ͕Ͱ͖Δɽङਓ ໷ͷλʔϯʹϓϨΠϠʔ 1 ਓΛࢦఆͯ͠ɼਓ࿛ͷऻܸ͔Β‫ޢ‬Ӵ͢Δ͜ͱ͕Ͱ͖Δɽ‫ޢ‬Ӵ͞ΕͨϓϨΠϠʔ͕ऻܸ͞Εͨ৔߹ɼऻܸ͸ࣦഊ͠ɼͦͷϓϨΠϠʔ͸ੜ͖ԆͼΔ͜ͱ͕Ͱ͖Δɽਓ࿛ਞӦͷ໾৬ਓ࿛ ໷ͷλʔϯͰଞͷϓϨΠϠʔΛऻܸ͢Δ‫ݖ‬རΛ࣋ͭɽ઎͍ࢣͳͲͷॏཁͳ໾৬Λ্ख͘ऻܸ
͢Δ͜ͱ͕ॏཁͰ͋Δɽਓ࿛͕શͯ௥์͞ΕΔͱਓ࿛ਞӦͷഊ๺ͱͳΔͷͰɼʮࣗ෼͸઎͍
ࢣͰ͋ΔʯͷΑ͏ͳӕΛ‫ͯ͠Ͳͳ͏ݴ‬ɼਖ਼ମ͕͹Εͳ͍Α͏ʹಈ͘ඞཁ͕͋Δɽਓ࿛͸‫͍ޓ‬ʹ୭͕ਓ࿛Ͱ͋Δ͔͕෼͔͍ͬͯΔͨΊɼਓ࿛ಉ࢜Ͱ‫ྗڠ‬΋ඞཁͰ͋Δɽ‫ڰ‬ਓ ಛघೳྗΛ࣋ͨͳ͍ਓ࿛ਞӦͷ໾৬Ͱ͋Δɽ୭͕ਓ࿛Ͱ͋Δ͔Λਪଌ͠ɼਓ࿛Λखॿ͚͢Δ
Α͏ʹৼΔ෣͏ඞཁ͕͋Δɽਓ࿛ਞӦͰ͸͋Δ͕ɼ઎͍ࢣ΍ྶഔࢣʹ͸ʮਓؒʯͱ൑ఆ͞ΕΔɽ‫ڰ‬ਓࣗ਎͕ࢮΜͰ͍ͯ΋ਓ࿛ਞӦ͕উར͢Ε͹উར൑ఆʹͳΔɽਓ࿛ήʔϜʹ͸༷ʑͳϩʔΧϧϧʔϧ͕ଘࡏ͠ɼ໾৬ͷ໊લ΍ೳྗ͕ଟগҟͳΔ৔߹΍ɼͦͷଞͷ໾৬͕௥Ճ͞Ε͍ͯΔ৔߹͕͋Δ͕ɼຊߘͰ͸্‫ه‬ͷ௨Γ౷Ұ͢Δ͜ͱͱ͢Δɽ
ͳ͓ɼਓ࿛஌ೳେձͰ͸ɼ5 ਓਓ࿛ͱ 15 ਓਓ࿛͕࠾༻͞Ε͓ͯΓɼ഑໾͸ද 4.1 ͷΑ͏ʹͳ͍ͬͯΔɽʢ˞จ੹: খాதཛྷʣ

Group Report of 2020 SISP

- 13 -

Group Number 12-A

AI Love Deep Learning
ද 4.1

4.4.3

ਓ࿛஌ೳେձͷ഑໾

໾৬

5 ਓਓ࿛

15 ਓਓ࿛

ଜਓ

2ਓ

8ਓ

઎͍ࢣ

1ਓ

1ਓ

ྶഔࢣ

0ਓ

1ਓ

ङਓ

0ਓ

1ਓ

ਓ࿛

1ਓ

3ਓ

‫ڰ‬ਓ

1ਓ

1ਓ

߹‫ܭ‬

5ਓ

15 ਓ

ήʔϜͷྲྀΕ

ਓ࿛ήʔϜ͸ҎԼͷΑ͏ͳྲྀΕͰਐߦ͍ͯ͘͠ɽ

0 ೔໨ɹ֤ϓϨΠϠʔʹ໾৬͕ৼΓ෼͚ΒΕΔɽ઎͍ࢣͷΈ͕ೳྗΛ࢖༻͢Δ͜ͱ͕Ͱ͖Δɽ1 ೔໨னɹήʔϜ͔Β௥์͢ΔϓϨΠϠʔΛٞ࿦ʹΑܾͬͯΊΔɽࣗ෼ͷ໾৬ΛΧϛϯάΞ΢τʢCO ͱ΋‫͏ݴ‬ʣͨ͠Γલ೔ʹ࢖༻ͨ͠ೳྗͷ݁ՌΛൃ‫ͨ͠ݴ‬Γ͢Δ͜ͱͰਓ࿛ͩͱࢥΘΕΔո͍͠ਓ෺
Λ౤ථʹΑͬͯ 1 ਓબͼɼͦͷϓϨΠϠʔΛ௥์͢Δɽ࣮ࡍͷը໘Ͱ͸ਤ 4.1 ͷΑ͏ʹਐߦͯ͠
͍͘ɽ

ਤ 4.1

Group Report of 2020 SISPήʔϜͷਐߦը໘

- 14 -

Group Number 12-A

AI Love Deep Learning

1 ೔໨໷ɹಛघೳྗΛ࣋ͬͨϓϨΠϠʔ͕ೳྗΛ࢖༻͢Δɽ15 ਓਓ࿛Ͱ͸ਓ࿛ಉ࢜Ͱձ࿩Λ͢Δ͜ͱ͕
Ͱ͖ɼऻܸઌΛ૬ஊ͢Δ͜ͱ͕Ͱ͖Δɽਓ࿛ͷऻܸઌ͕ङਓͷ‫ޢ‬ӴઌͱඃΒͳ͔ͬͨ৔߹ɼऻܸ͸੒ޭ͠ɼऻܸ͞ΕͨϓϨΠϠʔ͸࣍ͷ೔ͷனλʔϯͷॳΊʹ௥์ѻ͍ͱͳΔɽ

2 ೔໨Ҏ߱
ɹ 1 ೔໨ͱಉ͡Α͏ʹήʔϜΛਐΊ͍ͯ͘ɽ͜ΕΛଜਞӦ͔ਓ࿛ਞӦͷͲͪΒ͔͕উར৚݅Λຬ
ͨ͢·Ͱଓ͚͍ͯ͘ɽ
ήʔϜதͷൃ‫಺ݴ‬༰΍౤ථઌɼ઎͍݁ՌͳͲ͸͢΂ͯϩάσʔλͱͯ͠ਤ 4.2 ͷΑ͏ͳ‫Ͱࣜܗ‬อଘ͞ΕΔɽຊάϧʔϓͰ͸͜ͷϩάσʔλΛ΋ͱʹχϡʔϥϧωοτϫʔΫͷϞσϧΛߏஙͨ͠ɽ

ਤ 4.2

ϩάσʔλ

ʢ˞จ੹: ੢ଜ࿨അʣ

Group Report of 2020 SISP

- 15 -

Group Number 12-A

AI Love Deep Learning

ୈ5ষ
5.1

ΤʔδΣϯτͷ֓ཁ֓ཁզʑ͸ʮਓ࿛ΛϓϨΠͰ͖ΔΤʔδΣϯτʯΛ‫ط‬ଘͷΤʔδΣϯτͱ͸ҧͬͨΞϓϩʔν͔Βߏங͢Δ͜ͱΛ໨తͱ͍ͯ͠Δɽਓ࿛ΛϓϨΠͰ͖ΔΤʔδΣϯτͷલྫͱͯ͠͸ɼਓ࿛஌ೳϓϩδΣΫτ͕ओ࠵͢Δਓ࿛஌ೳେձʹࢀՃͨ͠ΤʔδΣϯτ͕‫͛ڍ‬ΒΕΔɽͦΕΒ‫ط‬ଘͷΤʔδΣϯτ͸໾৬ਪఆͱߦಈܾఆͷ 2 ͭͷߏ੒ʹ෼͚ΒΕ͓ͯΓɼ໾৬ਪఆ͸‫ػ‬ցֶशɼߦಈܾఆ͸ϧʔϧϕʔεͰߦ͏͜ͱ͕ओྲྀͳํ๏Ͱ͋Δɽ͕ͨͬͯ͠ɼ໨తΛୡ੒͢ΔͨΊʹ͸ɼ͜ͷΑ͏ͳैདྷͷํ๏ͱ͸ҧͬͨํ๏Λ‫ݕ‬౼͢Δඞཁ͕͋ΓɼάϧʔϓͰ࿩͠߹ͬͨ݁Ռɼ໾৬ਪఆ͔Βߦಈܾఆ·ͰΛ‫ػ‬ցֶशͰߦ͏͜ͱͱ͠ɼͦΕΛߦ͏ͨΊͷ‫ػ‬ցֶशͷϞσϧʹ͸χϡʔϥϧωοτϫʔΫΛ
༻͍Δ͜ͱ͕࠷దͰ͋Δͱ൑அͨ͠ɽલ‫Ͱظ‬ͷϞσϧͷΞΠσΞͱͯ͠͸ɼશͯΛ 1 ͭͷϞσϧͰߦ͏ɼࣗ෼ͷ໾৬͝ͱʹϞσϧΛ࡞੒͢ΔɼଞϓϨΠϠʔ͝ͱʹϞσϧΛ༻͍Δɼͱ͍ͬͨ΋ͷ͕‫ݕ‬౼͞Εͨɽ‫Ͱظޙ‬͸ɼલ‫ظ‬ͷΞΠσΞʹ͍ͭͯ͞Βʹ‫ݕ‬౼ͨ݁͠Ռɼ໾৬ਪఆ͔Βߦಈܾఆ·ͰΛχϡʔϥϧωοτϫʔΫͰߦ͏ͱ͍͏ΞΠσΞ͸ɼχϡʔϥϧωοτϫʔΫ͕෼ྨ໰୊ͱճ‫ؼ‬໰୊Λѻ͏ͱ͍͏ੑ্࣭ɼߦಈܾఆΛߦ͏ͷ͕ࠔ೉Ͱ͋Δͱ͍͏݁࿦ʹࢸͬͨͨΊɼ໾৬ਪఆ·ͰΛχϡʔϥϧωοτϫʔΫͰߦ͍ɼߦಈܾఆΛ‫ڧ‬Խֶशख๏ͷҰͭͰ͋ΔɼDQN(Deep Q-Network) Ͱߦ͏ͱ͍͏ΞΠσΞ͕ఏҊ͞Εͨɽ‫͘͠৽Ͱظޙ‬ఏҊ͞Εͨख๏ʹ͍ͭͯ΋ɼ‫ط‬ଘͷΤʔδΣϯτͱ͸ҧͬͨख๏Ͱ͋Δͱ͍͑ΔͨΊɼ໾৬ਪఆʹχϡʔϥϧωοτϫʔΫɼߦಈܾఆʹ DQN Λ༻͍ͯɼPython ‫Ͱޠݴ‬։ൃΛߦ͍ͬͯ͘͜ͱʹܾఆͨ͠ɽ
‫׆‬ಈͷ݁Ռ‫׬‬੒ͨ͠ΤʔδΣϯτ͸ʮFUN Wolfʯͱ໋໊͞Εɼ࠷ऴతʹਤ 5.1 Ͱࣔ͞ΕͨΑ͏ͳ֓‫ͨͬͳͱܗ‬ɽຊষΛ௨ͯ͠ߏ଄͓Αͼ‫ػ‬ೳͷৄࡉΛड़΂͍ͯ͘ɽਤ 5.1

ΤʔδΣϯτʮFUN Wolfʯͷ֓‫ܗ‬ʢ˞จ੹: ޻౻ޫ໼ʣ

Group Report of 2020 SISP

- 16 -

Group Number 12-A

AI Love Deep Learning

5.2χϡʔϥϧωοτϫʔΫʹ͍ͭͯຊઅͰ͸ɼຊ೥౓ͷϓϩδΣΫτ‫׆‬ಈͰ࢖༻ٕͨ͠ज़΍༻‫͍ͯͭʹޠ‬ղઆΛߦ͏ɽχϡʔϥϧωοτϫʔΫ (Neural Network) ͱ͸ɼ೴಺Ͱ‫ܗ‬੒͞ΕΔχϡʔϩϯͷωοτϫʔΫΛ໛ͨ͠਺ֶϞσϧͰ͋Δɽχϡʔϩϯͱ͸೴Λߏ੒͢Δࡉ๔Ͱ͋Γɼೖྗ෦Ͱ͋Δथঢ়ಥ‫ى‬ɼग़ྗ෦Ͱ͋Δγφϓεɼ఻ૹ෦Ͱ͋Δ࣠ࡧʹΑͬͯߏ੒͞ΕΔɽ͜ͷχϡʔϩϯ͸थঢ়ಥ‫͔ى‬Βి‫ؾ‬৴߸Λೖྗͱͯ͠ड͚औΓɼͦͷిҐ͕Ұఆ஋Λ௒͑Δͱ࣠ࡧΛ௨ͯ͠ग़ྗͱͯ͠γφϓεΛհͯ࣍͠ͷχϡʔϩϯʹి‫ؾ‬৴߸ΛૹΔɽ͜ͷχϡʔϩϯͷ;Δ·͍Λ਺ֶϞσϧͱͯ͠දͨ͠΋ͷͷҰͭʹίωΫγϣχετϞσϧ͕͋Δɽ͜ͷϞσϧ͸ඇৗʹ؆ུԽ͞Εͨ΋ͷͰ͋Δ͕ɼ͜Ε͸͋
͘·Ͱ΋χϡʔϥϧωοτϫʔΫΛ‫ܗ‬੒͢ΔཁૉͷҰͭͰ͋ΔͨΊɼҰൠతʹχϡʔϩϯͷ਺ֶϞσϧͱͯ͠࢖༻͞ΕΔɽίωΫγϣχετϞσϧ͸ҎԼͷΑ͏ʹχϡʔϩϯͷ;Δ·͍Λද‫ͯ͠ݱ‬
͍Δɽͨͩ͠ɼy ͸ग़ྗɼxi ͸ୈ i ൪໨ (i = 1, 2, · · · , n) ͷೖྗɼwi ͸ xi ʹର͢Δγφϓε݁߹ͷ‫͞ڧ‬ɼθ ͸ᮢ஋ɼf ͸‫׆‬ੑԽؔ਺΍఻ୡؔ਺ͱ‫ݺ‬͹Εɼ֊ஈؔ਺΍γάϞΠυؔ਺ͳͲͷඇઢ‫ܗ‬ؔ਺͕࠾༻͞ΕΔɽ

y = f(n

wi xi − θ)i=1Ҏ্Ͱઆ໌ͨ͠χϡʔϩϯ͕ଟ਺݁߹͋ͬͯ͠ి‫ؾ‬৴߸ͷωοτϫʔΫΛ‫ܗ‬੒͢Δͷ͕χϡʔϥϧωοτϫʔΫͰ͋Δɽ਺ֶϞσϧͱͯ͠ͷχϡʔϩϯΛ݁߹͢Δࡍ͸ɼ૚ঢ়ωοτϫʔΫɼ૬‫݁ޓ‬߹ωοτϫʔΫͳͲͦͷ݁߹‫ܗ‬ଶʹΑͬͯछྨ͕ଘࡏ͢Δɽ͜ͷχϡʔϥϧωοτϫʔΫ͸‫ػ‬ցֶशͷ෼໺Ͱ‫͞༻׆‬Ε͓ͯΓɼσΟʔϓϥʔχϯάͳͲ࠷৽ͷ‫ڀݚ‬෼໺Ͱ΋Ԡ༻͞Ε͍ͯΔɽσΟʔϓϥʔχϯά͸χϡʔϥϧωοτϫʔΫʹ͓͍ͯɼωοτϫʔΫΛਂͨ͘͠΋ͷͰ͋Γɼ۩ମతʹ͸ೖྗ૚ͱग़ྗ૚Λআ͍ͨӅΕ૚ͱ‫ݺ‬͹ΕΔ૚Λ 2 ૚Ҏ্ʹͨ͠΋ͷΛࢦ͢ɽχϡʔϥϧωοτϫʔΫͷֶशͱ͸ɼwi ,θ ͷύϥϝʔλΛௐઅ͠ཧ૝తͳग़ྗΛ࣮‫ͤ͞ݱ‬Δ͜ͱ
Ͱ͋Δɽύϥϝʔλͷௐઅʹ͸ɼ‫ࢣڭ‬σʔλͱ‫ݺ‬͹ΕΔཧ૝తͳೖྗͱग़ྗͷू߹Λ༻͍ͯߦ͏ɽ
ֶशʹ͸༷ʑͳΞϧΰϦζϜ΍ख๏͕ଘࡏ͢Δɽ͜ͷΑ͏ͳΞϧΰϦζϜ͸࠷దԽΞϧΰϦζϜ΍
ΦϓςΟϚΠβ (Optimizer) ͱ‫ݺ‬͹ΕΔɽֶशʹ͸ΞϧΰϦζϜҎ֎ʹ΋‫׆‬ੑԽؔ਺ͷબ୒΋େ͖ؔ͘Θͬͯ͘Δɽ
ଛࣦؔ਺ͱ͸ɼ࣮ࡍʹग़ྗ͞Εͨ஋ͱ‫ظ‬଴͞ΕΔग़ྗͷ஋ͷ‫ࠩޡ‬Λࣔؔ͢਺Ͱ͋Δɽ͜ͷ஋͕খ͚͞Ε͹খ͍͞΄ͲͦͷϞσϧ͸༏लͰ͋Δͱ͍͑Δ͕ɼաֶशʹ͍ͭͯ΋ߟྀ͢Δඞཁ͕͋Δɽ
աֶशͱ͸ɼͦͷϞσϧ͕‫ࢣڭ‬σʔλʹա৒ʹద߹͗ͨ͢͠ঢ়ଶͰ͋Δɽ͜ΕʹΑΓ‫ࢣڭ‬σʔλʹରͯ͠͸ਖ਼֬ͳճ౴Λग़͢͜ͱ͸Ͱ͖Δ͕ɼະ஌ͷσʔλʹରͯ͠ਖ਼౴཰͕େ͖͘ѱ͘ͳΔɽա
ֶश͕ൃੜ͢Δ‫ݪ‬Ҽ͸͍͔ͭ͋͘ΓɼͦΕͷରࡦ΋ෳ਺ଘࡏ͢Δɽຊ೥౓ͷ‫׆‬ಈͰ࢖༻ͨ͠աֶश
ͷରࡦ͸υϩοϓΞ΢τͰ͋ΔɽυϩοϓΞ΢τͰ͸ɼ͋Δߋ৽ʹ͍ͭͯϞσϧͷ૚͝ͱʹϊʔυͷ͍͔ͭ͘Λͳ͍΋ͷͱֶͯ͠शΛਐΊΔɽ͜ΕʹΑΓ֤ύϥϝʔλͷߋ৽੍͕‫͞ݶ‬Εɼ݁Ռͱ͠
ͯաֶशΛ๷͙͜ͱ͕Ͱ͖Δɽ
ʢ˞จ੹: দా‫ݦ‬ʣGroup Report of 2020 SISP

- 17 -

Group Number 12-A

AI Love Deep Learning

5.3ΤʔδΣϯτͷৄࡉຊઅͰ͸ɼͲͷΑ͏ʹͯ͠‫ػ‬ցֶशϞσϧΛਓ࿛஌ೳΤʔδΣϯτ಺Ͱӡ༻͍ͯ͠Δ͔ʹ͍ͭͯղઆΛߦ͏ɽਤ 5.2 ʹ͓͓·͔ͳॲཧͷྲྀΕΛࣔ͢ɽ

ਤ 5.2

ॲཧભҠਤ

ΤʔδΣϯτ͸ެ͕ࣜ༻ҙ͍ͯ͠Δ Python ༻ϓϥοτϑΥʔϜͷ AIWolfPy[8] Λ‫ߏʹݩ‬੒͞Ε͍ͯΔɽAIWolfPy ͸ɼJava Ͱಈ࡞͍ͯ͠Δਓ࿛஌ೳαʔόʔͱͷ઀ଓ΍ɼσʔλ‫ࣜܗ‬ͷม‫׵‬Λ୲͍ͬͯΔɽৄ͘͠͸ 3.2.1 ͷઃ‫ܭ‬൝Ͱղઆͨ͠ͱ͓ΓͰ͋Δɽ৽ͨʹ௥Ճͨ͠Ϋϥεͱͯ͠ɼfeature maker ͕͋Δɽfeature maker ͸֤Ϟσϧ͕ཁ‫͢ٻ‬Δಛ௃ྔΛ‫ٻ‬ΊΔɽ໾৬ਪఆϞσϧͷͨΊʹಛ௃ྔΛ࡞੒͢Δࡍ͸ɼ‫ج‬ຊతʹ diﬀ data Λ update ϝιουͰਓ࿛஌ೳαʔόʔ͔Βड͚औΓɼಉ͡ϝιου಺Ͱ feature maker ͷηολʔʹҾ਺ͱͯ͠౉͢͜ͱͰಛ௃ྔͷ࡞੒Λߦͬ
͍ͯΔɽηολʔͰ͸༩͑ΒΕͨ৘ใΛ೔ʹͪ͝ͱʹɼ৘ใ͕ެ։͞Εͨॱ൪Ͱ஝ੵ͢ΔΑ͏ͳ‫ܗ‬Ͱಛ௃ྔΛ࡞੒͢ΔΑ͏ʹ͍ͯ͠Δɽηολʔ಺Ͱ͸·ͣ Pandas ͷ DataFrame ‫Ͱࣜܗ‬ଟ࣍‫ݩ‬తʹ֨ೲ͍ͯ͠Δ͕ɼ࠷ऴతʹ͸ 1 ೔Λ 1 ྻͷ Numpy ͷ ndarray ‫ʹࣜܗ‬ม‫͍ͯ͠ܗ‬Δɽͦͷಛ௃ྔ͸ update ϝιου಺ͰήολʔΛ௨ͯ͠‫ͼݺ‬ग़͞Εɼͦͷ௚‫ʹޙ‬໾৬ਪఆϞσϧʹ౉͞Ε͍ͯΔɽ
໾৬ਪఆϞσϧͷ݁Ռ͸ͦͷ··ߦಈܾఆϞσϧͷಛ௃ྔͱͯ͠࢖༻͞ΕΔɽ໾৬ਪఆϞσϧ͸‫ڧ‬ԽֶशΛ࢖༻͓ͯ͠Γɼ࠷৽ͷ৘ใ͕‫ٻ‬ΊΒΕΔ৔߹͕͋ΔɽͦͷͨΊ update ϝιου಺Ͱஞ࣍ߋ৽͢ΔॲཧΛ௥Ճ͍ͯ͠Δ৔߹͕͋Δɽ͜Εʹؔͯ͠͸ɼΑΓ෼͔Γ΍͘͢ޮ཰తͳ࣮૷͕ߟ
ྀͰ͖Δ෦෼Ͱ͋Δɽͦͷ΄͔ʹؔͯ͠͸ɼ৽ͨʹ feature maker Ϋϥεʹ৽ͨͳηολʔͱήολʔΛ࡞੒͍ͯ͠Δɽ໾৬ਪఆϞσϧʹ࡞੒ͨ͠ಛ௃ྔͷҰ෦ΛऔΓग़͍ͯ͠Δಛ௃ྔ΋ଘࡏ͢
ΔɽߦಈܾఆϞσϧ͸ͦͷग़ྗͱͯ͠౤ථର৅΍ߦಈ‫ج‬४Λฦ͢ɽΤʔδΣϯτ಺Ͱ͸ͦͷग़ྗʹ߹ͬͨߦಈΛߦ͏Α͏ʹ֤ߦಈϝιου಺Ͱௐ੔͍ͯ͠Δɽߦಈϝιου͸ɼ΋ͱ΋ͱ AIWolfPyʹ༻ҙ͞Ε͍ͯΔ΋ͷͰɼtalkɼvoteɼattackɼdivineɼguard ͳͲɼਓ࿛ήʔϜ಺Ͱ૝ఆͰ͖Δ͢΂ͯͷߦಈʹରͯ͠༻ҙ͞Ε͍ͯΔɽࣗ෼ͷ໾৬ͰͱΕΔߦಈϝιου͕ਓ࿛஌ೳαʔόʔʹΑͬͯ‫ͼݺ‬ग़͞Εͯɼਖ਼͍͠໭Γ஋Λฦ͢͜ͱͰߦಈ͕੒ཱ͢Δɽ
ʢ˞จ੹: দా‫ݦ‬ʣGroup Report of 2020 SISP

- 18 -

Group Number 12-A

AI Love Deep Learning

5.4‫ػ‬ցֶशϞσϧͷৄࡉ

5.4.1

։ൃ‫ڥ؀‬

ຊάϧʔϓͰਓ࿛஌ೳΤʔδΣϯτͷ։ൃΛߦ͏ʹࡍͯ͠ɼPython ͷϥΠϒϥϦɾ‫ڥ؀‬Λ౷߹
؅ཧ͢ΔπʔϧͰ͋Δ Anaconda3 Λ༻͍ͨɽҎԼ͸ͦͷओཁͳߏ੒Ͱ͋Δɽ

• Keras (version 2.3.1)• TensorFlow (version 2.1.0)• NumPy (version 1.19.1)• pandas (version 1.1.3)• ਓ࿛஌ೳϓϥοτϑΥʔϜ (version 0.6.2)• AIWolfPy (version 0.4.9)
Keras ͸χϡʔϥϧωοτϫʔΫϞσϧͷߏஙΛൺֱత༰қʹ͢ΔϥΠϒϥϦͰ͋Γɼຊάϧʔϓʹ͓͍ͯɼओཁͳϞσϧߏஙखஈͱͳͬͨɽ

TensorFlow ͸ Python Ͱ‫ػ‬ցֶशΛߦ͏ͨΊͷϥΠϒϥϦ‫͋Ͱ܈‬ΓɼKeras ͸͜ͷϥΠϒϥϦ
ʹ‫͘ڧ‬ґଘ͍ͯ͠ΔͨΊɼಋೖ͕ඞཁͰ͋Δɽ

NumPy ͸ओʹߦྻ౳ʹ͓͚Δ਺஋σʔλΛߴ଎ʹॲཧ͢ΔͨΊͷ‫ࢧࢉܭ‬ԉϥΠϒϥϦͰ͋Δɽ
pandas ͸σʔλղੳΛࢧԉ͢ΔϥΠϒϥϦͰ͋Γɼ‫ޙ‬ड़ͷਓ࿛஌ೳϓϥοτϑΥʔϜ‫ͼٴ‬
AIWolfPy ͱͷ࿈‫ʹܞ‬ར༻͢Δɽ
ਓ࿛஌ೳϓϥοτϑΥʔϜ͸ɼਓ࿛஌ೳϓϩδΣΫτެࣜαΠτͰެ։͞Ε͍ͯΔΤʔδΣϯτ։ൃΛࢧԉ͢Δ‫ج‬൫ͱͳΔιϑτ΢ΣΞͰ͋ΔɽαϯϓϧϓϨΠϠʔͷΫϥε͕ೖͬͨϑΝΠϧ΍
ਓ࿛஌ೳήʔϜαʔόΛ࣮ߦ͢ΔϑΝΠϧɼήʔϜͷઃఆϑΝΠϧͳͲ͕‫·ؚ‬Ε͓ͯΓɼ͜ΕΒ͸͢΂ͯ Java Ͱ։ൃ͞Ε͍ͯΔɽ

AIWolfPy ͸ Java ϓϩάϥϜͰ͋Δਓ࿛஌ೳϓϥοτϑΥʔϜʹɼPython ϓϩάϥϜ͔Β઀ଓ͢ΔͨΊͷ‫ͳͱ͠౉ڮ‬Διϑτ΢ΣΞͰ͋Δɽ
ʢ˞จ੹: ੢ଜ࿨അʣ

5.4.2

ਓ࿛ਪఆϞσϧ

ਓ࿛ΤʔδΣϯτ͸ɼ໾৬ਪఆͱߦಈܾఆͷ 2 ͭͷߏ੒ʹ෼͚ΒΕ͍ͯΔɽզʑ͸໾৬ਪఆͷ෦෼ʹ͓͍ͯɼ઎͍݁Ռ΍ϓϨΠϠʔͷൃ࿩ͳͲͷࢼ߹ͷ৘ใ͔Βɼ୭͕ਓ࿛Ͱ͋Δ͔Λਪఆ͢Δਓ
࿛ਪఆϞσϧΛߏஙͨ͠ɽຊ߲Ͱ͸ɼਓ࿛ਪఆϞσϧΛߏங͢Δ·ͰͷखॱΛड़΂Δɽ
·ͣɼਓ࿛ਪఆϞσϧΛߏங͢Δʹ౰ͨΓɼϩάσʔλͷಡΈग़͠ΛߦͬͨɽಡΈग़͠ʹ༻͍ͨσʔλ͸ɼୈ̐ճਓ࿛஌ೳେձͷϩάσʔλ (CEDEC2018) Ͱ͋Δɽୈ̐ճਓ࿛஌ೳେձͷϩάσʔλ͸ɼ5 ਓਓ࿛ͱ 15 ਓਓ࿛ͷࢼ߹σʔλ͕ 100 ࢼ߹͝ͱʹ 204 ͷϑΥϧμͰ෼͚ΒΕ͓ͯΓɼͦΕΒϩάσʔλΛϓϩάϥϜ্Ͱѻ͑ΔΑ͏ʹɼPython ͷจࣈྻϦετʹಡΈग़͠Λߦͬͨɽ࣍ʹɼಡΈͩͨ͠ϩάσʔλ͔Βಛ௃ྔͷநग़Λߦͬͨɽಛ௃ྔͱ͸ಛ௃Λ਺஋Խͨ͠΋ͷͷ͜ͱΛࢦ͠ɼ‫͋ࢣڭ‬Γͷ‫ػ‬ցֶशͷϞσϧΛߏங͢ΔͨΊʹ͸๲େͳྔͷಛ௃ྔΛֶशͤ͞Δඞཁ͕
͋Δɽࠓճͷਓ࿛ਪఆϞσϧͰ‫͑ݴ‬͹ಛ௃ྔͱ͸ɼ೔෇ɼ઎͍݁ՌɼϓϨΠϠʔಉ࢜ͷൃ࿩ͳͲɼ
ਓ࿛Λਪఆ͢Δͷʹඞཁͳಛ௃Λ਺஋Խͨ͠΋ͷͷ͜ͱͰ͋Δɽͳ͓ಛ௃ྔͷબఆ͸ɼઌߦ‫Ͱڀݚ‬Group Report of 2020 SISP

- 19 -

Group Number 12-A

AI Love Deep Learning
͋Δֿ‫ݪ‬ɼௗւɼҴ༿ɼେᖒɼย্ɼࣰాɼদ‫ݪ‬ɼङ໺ (2016) ͓Αͼେ઒ɼ٢஥ɼࣰ‫( ݪ‬2017) ͕࢖༻ͨ͠΋ͷΛ౿·্͑ͨͰߦΘΕͨ [9][10]ɽ͜ΕΒ΍ͦͷଞඞཁͦ͏ͳಛ௃ྔΛɼPython Λ༻͍ͯࢼ߹ͷ೔͝ͱʹநग़ͨ͠ɽநग़ͨ͠ಛ௃ྔͷৄࡉΛද 5.1 ʹࣔ͢ɽ·ͨɼσʔλΛ Keras Ͱߏங͢ΔχϡʔϥϧωοτϫʔΫϞσϧͰѻ͑ΔΑ͏ʹɼநग़ͨ͠ࢼ߹ͷ೔͝ͱͷಛ௃ྔΛ 304 ࣍‫ݩ‬ͷσʔλͱͳΔΑ͏ʹཁૉ਺ 304 ͷ 1 ࣍‫ ݩ‬NumPy ഑ྻͱͯ͠੔‫ͨ͠ܗ‬ɽ

ද 5.1

ಛ௃ྔ

આ໌

೔෇

ϩάσʔλ͔Βநग़ͨ͠ಛ௃ྔ

σʔλߏ଄

σʔλ਺

ࠓ೔͕Կ೔໨Ͱ͋Δ͔

1

1

ੜଘऀ਺

ੜଘ͍ͯ͠ΔΤʔδΣϯτͷ਺

1

1

઎͍ࢣ਺

ੜଘ͍ͯ͠Δ઎͍ࢣͷ਺

1

1

ྶഔࢣ਺

ੜଘ͍ͯ͠Δྶഔࢣͷ਺

1

1

1 × 1515

1 × 1515

15 × 15225

઎͍ࢣ CO ঢ়‫گ‬ͲͷΤʔδΣϯτ͕Ͳͷॱ൪Ͱ઎͍ࢣ

CO Λ͔ͨ͠ͷ৘ใ
ྶഔࢣ CO ঢ়‫گ‬ͲͷΤʔδΣϯτ͕Ͳͷॱ൪Ͱྶഔࢣ

CO Λ͔ͨ͠ͷ৘ใ઎͍݁ՌͲͷ઎͍ࢣ͕ͲͷΤʔδΣϯτΛ઎ͬͯͲͷΑ͏ͳ݁Ռ͔ͩͬͨͷ৘ใߠఆൃ࿩਺͋ΔΤʔδΣϯτͷߠఆͷൃ࿩ͷճ਺

1 × 1515൱ఆൃ࿩਺͋ΔΤʔδΣϯτͷ൱ఆͷൃ࿩ͷճ਺

1 × 1515౤ථมߋ਺͋ΔΤʔδΣϯτͷனʹߦͬͨ౤ථએ‫ݴ‬

1 × 15

15

߹‫ܭ‬

304

ͱ࣮ࡍͷ౤ථઌ͕ҧ͍ͬͯͨճ਺

ϩάσʔλͷಡΈग़͠ͱಛ௃ྔͷநग़Λߦͬͨ‫ޙ‬͸ɼਓ࿛ਪఆϞσϧͷຊମͷߏஙΛߦͬͨɽਓ
࿛ਪఆϞσϧ͸ɼ೔෇ɼ઎͍݁ՌɼϓϨΠϠʔಉ࢜ͷൃ࿩ͳͲɼਓ࿛Λਪఆ͢Δͷʹඞཁͳಛ௃͔
ΒɼͩΕ͕ਓ࿛Ͱ͋Δ͔Λਪఆ͢ΔχϡʔϥϧωοτϫʔΫϞσϧͰ͋Δɽߏஙʹ͸ɼPython ͷχϡʔϥϧωοτϫʔΫͷϥΠϒϥϦͰ͋Δ Keras Λ༻͍ͨɽϞσϧͷΞʔΩςΫνϟ (ද 5.2)
ͱͯ͠͸ɼೖྗ૚ͱग़ྗ૚Λ‫ؚ‬Ίͯશ 4 ૚Ͱߏ੒͞Ε͓ͯΓɼग़ྗ૚Ҏ֎͸ ReLU ؔ਺ʹΑΓɼ0ҎԼͷ஋Λ 0ɼ0 Ҏ্ͷ৔߹͸஋Λͦͷ··఻ୡ͢Δख๏Λͱ͍ͬͯΔɽ·ͨɼաֶशΛ๷͙ͨΊʹதؒ૚Ͱ͸υϩοϓΞ΢τΛద༻͓ͯ͠Γɼ‫܇‬࿅࣌ͷߋ৽ʹ͓͍ͯ 0.2 ͷ֬཰ͰϥϯμϜʹೖྗϢχοτΛ 0 ͱ͍ͯ͠Δɽೖྗ͸நग़ͨ͠ 304 ࣍‫ݩ‬ͷಛ௃ྔͷσʔλͱ͠ɼग़ྗ͸ࣄલʹ‫ٻ‬Ί͓͍ͯͨ૊Έ߹Θͤ ID(ද 5.3) Λग़ྗ͢Δ΋ͷͱͨ͠ɽ૊Έ߹Θͤ ID ͱ͸ɼ1 ਓͷਓ࿛͕͍Δ 5 ਓਓ࿛ͱɼ3 ਓͷਓ࿛͕͍Δ 15 ਓਓ࿛Ͱߟ͑ΒΕΔਓ࿛ͷ૊Έ߹ΘͤΛશͯྻ‫͠ڍ‬ɼྻ‫ͨ͠ڍ‬૊Έ߹Θͤʹઌ಄͔ΒॱʹׂΓ౰ͯͨɼ0ʙ459 ͷ஋Ͱ͋Δɽྫͱͯ͠ɼೖྗͨ͠৘ใ͔ΒϓϨΠϠʔ 11,

14, 15 ͕ਓ࿛Ͱ͋ΔͱਪఆͰ͖ΔͳΒ૊Έ߹Θͤ ID ͷ 455 Λग़ྗ͢Δͱ͍͏΋ͷͰ͋Δɽ͜ͷΑ͏ͳ૊Έ߹Θͤ ID Λग़ྗ૚Ͱ͸ SoftMax ؔ਺Λ༻͍ͯग़ྗ͢ΔɽSoftMax ؔ਺ͱ͸ෳ਺ͷग़ྗ஋ͷ߹‫ ͕ܭ‬1.0 ʹͳΔΑ͏ͳؔ਺Ͱ͋Γɼग़ྗ݁Ռ͕ͲͷΑ͏ͳ஋ΛऔΖ͏ͱ΋ 0.0ʙ1.0 ͷؒʹਖ਼‫ن‬ԽΛߦ͏໾ׂΛ࣋ͭɽ·ͨɼଛࣦؔ਺ʹ͸ cross entropy Λ༻͍ͨɽ͜Ε͸ग़ྗ૚ͷ‫׆‬ੑԽؔ
਺͕ SoftMax ؔ਺Ͱ͋Δ৔߹ʹ‫ج‬ຊతʹ༻͍ΒΕΔɽΦϓςΟϚΠβʹ͸ɼRMSprop Λ༻͍ͨɽGroup Report of 2020 SISP

- 20 -

Group Number 12-A

AI Love Deep Learning
RMSProp ͸ֶशঢ়‫ʹگ‬ΑͬͯมԽ͢Δಈతͳֶश཰Λ࣋ͭ͜ͱͰɼֶश݁Ռͷ҆ఆԽΛଅਐ͢Δ
ੑ࣭Λ࣋ͭؔ਺Ͱ͋Δɽ

ද 5.2

ਓ࿛ਪఆϞσϧΞʔΩςΫνϟ

Ϣχοτ਺
ೖྗ૚

‫׆‬ੑԽؔ਺

304
1840

ReLU
Dropout(0.2)

920

ReLU
Dropout(0.2)

ग़ྗ૚

460

SoftMax

Optimizer

RMSpropଛࣦؔ਺

categorical crossentropy

ද 5.3૊Έ߹Θͤ ID

ਓ࿛ਪఆϞσϧͷग़ྗਓ࿛ͱਪఆ͞ΕΔϓϨΠϠʔ

0

1

1

2

2

3

3

4

4

5

5

1

2

3

6

1

2

4

7

1

2

5

ʜ

ʜ

455

11

14

15

456

12

13

14

457

12

13

15

458

12

14

15

459

13

14

15

࠷‫׬ʹޙ‬੒ͨ͠ਓ࿛ਪఆϞσϧʹɼೖྗʹ 304 ࣍‫ݩ‬ͷಛ௃ྔͷσʔλɼਖ਼ղʹਓ࿛ͷ૊Έ߹ΘͤID Ͱ͋Δֶश༻σʔλΛ༻ֶ͍ͯशΛߦ͍ɼධՁσʔλΛ༻͍ͯϞσϧͷਫ਼౓Λ֬ೝ͢Δ͜ͱͰɼਓ࿛ਪఆϞσϧΛߏங͢Δ·Ͱͷશߦఔ͕ऴྃͱͳΔɽ
ʢ˞จ੹: ޻౻ޫ໼ʣ

Group Report of 2020 SISP

- 21 -

Group Number 12-A

AI Love Deep Learning

5.4.3

ߦಈܾఆϞσϧ

ߦಈܾఆϞσϧΛ࣮૷͢Δʹ͋ͨͬͯɼDeep Q-NetworkʢDQNʣϞσϧΛ࠾༻ͨ͠ɽDQN Ϟσϧ͸ Q-Leraning ͱ͍͏‫ڧ‬ԽֶशͷҰछʹχϡʔϥϧωοτϫʔΫͷ࢓૊ΈΛಋೖ͢Δ͜ͱͰɼΑΓෳࡶͳର৅ʹదԠͤ͞Δ͜ͱΛՄೳʹֶͨ͠शϞσϧͰ͋Δɽຊ࣮૷ʹ͓͚Δ۩ମతͳϑϩʔΛड़΂Δɽͳ͓ DQN Ϟσϧͷֶशʹࡍ͠ ReNom ࣾ࡞ͷཧ࿦આ໌Λར༻ͨ͠ [11]ɽ
ॳΊʹϞσϧʹΑΓܾఆ͢Δ͜ͱͷͰ͖ΔߦಈͷछྨΛઃఆͨ͠ʢද 5.4ʣɽશ 4 छผͷߦಈΛఆΊɼͦΕͧΕʹෳ਺ͷύλʔϯΛͱΔ͜ͱ͕ՄೳͰ͋Δɽ
ʮ໾৬ΧϛϯάΞ΢τͷλΠϛϯάʯ͸઎͍ࢣ΍ྶഔࢣ͕ࣗ෼ͷ໾৬Λެද͢Δ࣌ͷλΠϛϯά
Λࣔ͢ɽձ࿩ͷ։࢝௚‫ޙ‬ɼࣗ෼Ҏ֎͕ࣗ෼ͷ໾৬Λએ‫࣌ͨ͠ݴ‬ɼࣗ෼͕ਓ࿛Ͱ͋Δͱ઎ΘΕͨ࣌ɼࣗ෼͕ਓؒͰ͋Δͱ઎ΘΕͨ࣌ɼࣗ෼ʹ౤ථ͕ूத͍ͯ͠Δ࣌ͷ 5 ύλʔϯʹ۠෼͞ΕΔɽ
ʮಛघߦಈͷର৅ʯʮ౤ථߦಈͷର৅ʯ͸ͦͷߦಈͷର৅ͱ͢ΔϓϨΠϠʔͷ൪߸ʹΑͬͯද͞ΕΔɽࣗ෼ࣗ਎΋ൣғʹ‫·ؚ‬Εͯ͠·͏ͨΊɼ‫ޙ‬ड़ͷใुઃఆͰௐ੔Λࢪ͍ͯ͠Δɽ
ʮਓ࿛ɾ‫ڰ‬ਓͷੑ֨ʯ͸ਓ࿛ɾ‫ڰ‬ਓʹͳͬͨࡍɼଞͷ໾৬΁ͷͳΓ͢·͠ʢઐ໳༻‫Ͱޠ‬᱐Γͱ‫ݴ‬͏ʣΛߦ͏͔Ͳ͏͔ΛܾΊΔɽ᱐ΓΛ͠ͳ͍ɼ઎͍ࢣΛ᱐ΔɼྶഔࢣΛ᱐Δͷ 3 ύλʔϯʹ۠෼͞
ΕΔɽ᱐ΓΛ͢Δ৔߹ɼલड़ͷʮ໾৬ΧϛϯάΞ΢τͷλΠϛϯάʯʹैͬͯɼຊ෺ͱಉ༷ͷखॱͰߦಈ͢Δɽ
࣮ࡍʹߦΘΕΔߦಈ͸ɼ[2 5 3 1] ͷΑ͏ʹύλʔϯͷ૊Έ߹ΘͤʹΑͬͯද‫͞ݱ‬ΕΔɽ

ද 5.4

ߦಈύλʔϯछผύλʔϯ਺໾৬ΧϛϯάΞ΢τͷλΠϛϯά

5ಛघߦಈͷର৅

15౤ථߦಈͷର৅

15ਓ࿛ɾ‫ڰ‬ਓͷੑ֨

3࣍ʹߦಈɾήʔϜঢ়‫ʹگ‬ରͯ͠ใुΛಋೖͨ͠ɽใु͸ήʔϜͷ༗རɾෆརΛ਺஋తʹࣔͨ͠΋ͷͰ͋Γɼ஋͕େ͖͘ͳΕ͹ͳΔ΄Ͳ༗རͰ͋Γɼ஋͕খ͘͞ͳΕ͹ͳΔ΄ͲෆརͰ͋ΔͱఆΊ͍ͯΔɽ༗རͳߦಈɾήʔϜঢ়‫ͱگ‬͸ओʹɼಛघߦಈʢ઎͍ɾऻܸʣΛఢର͢Δೳྗऀʹରͯ͠࢖༻
͢Δ͜ͱɼࣗ෼ͷਞӦ͕উར͢Δ͜ͱΛࢦ͢ɽ͜ΕΒͷߦಈɾήʔϜঢ়‫گ‬ΛͱΔ͜ͱͰਖ਼ͷใुΛಘΔ͜ͱ͕Ͱ͖Δɽ൓ରʹͦΕΒͷߦಈɾήʔϜঢ়‫گ‬ΛͱΒͳ͍৔߹ʹ͸஋͕૿Ճ͢Δ͜ͱ͸ͳ͘ɼ஋͸௿͍··ͱͳΔɽ·ͨ૝ఆ͞Ε͍ͯͳ͍ߦಈʢࣗ෼ࣗ਎ʹಛघߦಈɾ౤ථΛߦ͏ɾ͢Ͱʹऻܸ͞Ε͍ͯΔϓϨΠϠʔΛऻܸ͢ΔͳͲʣʹରͯ͠͸ෛͷใुΛ༩͑Δ΋ͷͱͨ͠ɽ

DQN Ϟσϧͷຊମ͸ใुͷ஋ΛγϛϡϨʔτ͢ΔɽϞσϧͷΞʔΩςΫνϟʢද 5.5ʣ͸ೖग़ྗ૚Λ‫ؚ‬Ίશ 7 ૚Ͱߏ੒͞Ε͓ͯΓɼग़ྗ૚Ҏ֎͸ ReLU ؔ਺ʹΑΓ 0 ҎԼͷ஋Λ 0ɼͦΕҎ֎ͷ஋ΛॏΈΛֻ͚Δૢ࡞Λআ͖ͦͷ··఻ୡ͢Δख๏Λͱ͍ͬͯΔɽॏΈͱ͸༩͑ΒΕͨೖྗ஋ΛγϛϡϨʔτ͍ͨ͠஋ʹमਖ਼͢ΔͨΊͷม਺ͷ͜ͱΛࢦ͢ɽೖྗ͸ਓ࿛஌ೳϞσϧͰར༻ͨ͠ಛ௃

Group Report of 2020 SISP

- 22 -

Group Number 12-A

AI Love Deep Learningྔɼࣗ‫ݾ‬ϓϨΠϠʔ৘ใɼߦಈύλʔϯͷ૊Έ߹Θͤɼਓ࿛ਪఆϞσϧͷग़ྗɼ͜ΕΒΛ݁߹ͨ͠΋ͷͱͨ͠ɽग़ྗ͸લड़ͷ௨Γใुͷ஋ͷγϛϡϨʔτͰ͋ΓɼՄೳͳ‫ݶ‬Γใुͷ஋Λ໛฿͢Δ͜ͱΛ‫ظ‬଴͍ͯ͠Δɽͨͩ͠ɼ͜͜Ͱͷใु͸લड़ͨ͠ใु஋ͦͷ··Ͱ͸ͳ͘ɼ‫ޙ‬ड़ͷม‫ܗ‬Λߦͬͨ‫ޙ‬ͷ஋Ͱ͋Δɽೖྗͷߦಈύλʔϯͷ૊Έ߹ΘͤΛෳ਺‫͢ূݕ‬Δ͜ͱʹΑΓɼ࠷΋ߴ͍ग़ྗ஋Λ
ࢉग़͢Δߦಈύλʔϯͷ૊Έ߹ΘͤΛ‫ٻ‬ΊΔɽͦͷ૊Έ߹Θ͕ͤ࠷ऴతͳߦಈ༧ଌͱͳΔɽ·ͨϞσϧ಺ͷ‫͍͓ͯʹࢉܭ‬ɼ֤਺஋͕‫ࢉܭ‬ՄೳൣғΛ௒͑ͳ͍Α͏ʹ͢ΔͨΊɼଛࣦؔ਺ʹ Huber ؔ਺Λઃఆͨ͠ɽHuber ؔ਺͸ग़ྗ஋ͱ࣮ใुͷ஋ͱͷฏ‫ۉ‬ೋ৐‫͖ͮجʹࠩޡ‬ɼ2 ͭͷ਺ֶతؔ਺Λ੾Γସ͑Δಈ࡞Λߦ͏ɽ͜ͷಈ࡞ʹΑΓɼ਺஋͕ҰఆΑΓେ͖͍৔߹͸؇΍͔ͳؔ਺ɼখ͍͞৔߹
͸܏͖ 1 ͷҰ࣍ؔ਺ͱͳΓɼ਺஋ͷҟৗͳมԽΛ๷͙͜ͱ͕ՄೳͰ͋Δɽಉ༷ʹ Optimizer ͱͯ͠ઃఆͨ͠ Adam ʹ͸ RMSprop ͷੑ࣭ʹՃ͑ͯɺҟৗ஋͕Ϟσϧʹ༩͑ΔӨ‫ڹ‬Λ཈੍͢ΔޮՌ͕͋ΓɺϞσϧͷҰൠԽʹߩ‫͍ͯ͠ݙ‬Δɻ

ද 5.5

ߦಈܾఆϞσϧΞʔΩςΫνϟ

Ϣχοτ਺
ೖྗ૚

ग़ྗ૚

‫׆‬ੑԽؔ਺

347
347

ReLU

347

ReLU

347

ReLU

347

ReLU

347

ReLU

1

LinearOptimizer

Adam

ଛࣦؔ਺

Huber

࠷‫ֶʹޙ‬श‫ߦͼٴ‬ಈܾఆΛ֬ఆ͢Δૢ࡞Λ࡞੒ͨ͠ɽֶशਐߦ౓Λࣔ͢ύϥϝʔλͱͯ͠ ε(0.1 < ε < 1.0) Λઃఆ͠ɼ(1 − ε) ͷ֬཰ͰϞσϧʹ‫ߦͮ͘ج‬ಈܾఆΛߦ͏ɽͦΕҎ֎ͷ৔߹͸ύλʔϯൣғͷத͔ΒϥϯμϜͰߦಈΛߦ͏ɽ͜Ε͸ֶशͷߗ௚Λආ͚ΔͨΊͰ͋Γɼະ஌ͷߦಈΛແࢹ͠ʹ͘͘ͳΔ͜ͱ͕ޮՌͱͯ͠ߟ͑ΒΕΔɽ
ֶशʹؔͯ͠ɼήʔϜதͷ৘ใߋ৽Λड͚औΔͨͼʹ‫ࡏݱ‬ͷήʔϜঢ়‫گ‬ʢਓ࿛஌ೳϞσϧͰར༻ͨ͠ಛ௃ྔɼࣗ‫ݾ‬ϓϨΠϠʔ৘ใɼਓ࿛ਪఆϞσϧͷग़ྗʣɼ‫ࡏݱ‬ͷใुɼ‫ܾࡏݱ‬ΊΒΕ͍ͯΔߦಈͷ૊Έ߹Θͤɼ͜ΕΒΛͦΕͧΕ‫ࢉܭ‬ɾॲཧ͠ 1 ͭͷཁૉʹ·ͱΊͨ‫ޙ‬ɼ‫ه‬ԱྖҬελοΫʹ஝ੵ
͢Δɽ࠷ऴతʹ 1 ήʔϜͷऴྃ࣌ɼ͜ͷཁૉΛͦΕͧΕϞσϧʹֶशͤ͞Δૢ࡞Λߦ͍ͬͯΔɽֶशͷࡍɼ‫ࡏݱ‬ͷཁૉͱͦͷ࣍ͷཁૉΛؔ࿈෇͚ͨ஋Λϥϕϧͱͯ͠༩͍͑ͯΔʢ࠷ऴߦಈΛআ͘ʣɽ

R = γ × rnext + rreal
ϥϕϧ R ͸Ϟσϧʹରͯ͠༩͑Δʮਖ਼౴ʯͰ͋Γɼ͜ͷ஋ΛϞσϧ͸γϛϡϨʔτ͢Δɽrreal͸‫ࡏݱ‬ͷ࣮ใु஋Ͱ͋ΓɼϞσϧʹΑΒͳ͍‫ࡏݱͨ͠ࢉܭ‬ͷใुͦͷ··͕୅ೖ͞ΕΔɽrnext ͸࣍ͷใु༧ଌͰ͋Γɼ‫ࡏݱ‬ͷ࣍ͷཁૉʹରͯ͠ϞσϧΛదԠͨ࣌͠ɼ΋ͬͱ΋༏Εͨߦಈͷใु༧

Group Report of 2020 SISP

- 23 -

Group Number 12-A

AI Love Deep Learningଌ஋Λ୅ೖ͢Δʢ‫ࡏݱ‬ͷ࣍ͷཁૉʹ֨ೲ͞Ε͍ͯΔ࣮ใु஋͸࢖༻͠ͳ͍ʣ
ɽγ (γ = 0.8) ͸ׂҾ཰Ͱ͋ΓɼະདྷͷߦಈʹͲΕ͚ͩॏ͖Λஔ͔͘ΛఆΊ͍ͯΔʢେ͖͍΄Ͳॏࢹʣɽ͜ͷࣜʹΑΓɼ‫ݱ‬ࡏͷΈʹ͓͚Δ༏लߦಈ͚ͩͰͳ͘ɼະདྷʢ࣍ͷঢ়‫گ‬ɾߦಈʣΛߟྀͨ͠༏लߦಈΛબ୒͢Δ͜ͱ͕‫ظ‬଴Ͱ͖Δɽ
ϥϕϧ R ͓Αͼ‫ࡏݱ‬ͷήʔϜঢ়‫گ‬ɼ‫ܾࡏݱ‬ΊΒΕ͍ͯΔߦಈͷ૊Έ߹Θͤɼਓ࿛ਪఆϞσϧͷग़ྗɼ͜ΕΒΛϞσϧʹֶशͤ͞ɼֶश޻ఔ͸ऴྃͱͳΔɽ
ʢ˞จ੹: ্ࠜथʣ5.5

ධՁ࣮‫ݧ‬

ਓ࿛ਪఆϞσϧͱߦಈܾఆϞσϧʹ͓͍ͯͦΕͧΕֶशɾӡ༻࣮‫ݧ‬Λߦͬͨɽ࣮‫ݧ‬೔͸ 2020 ೥

12 ݄ 2 ೔Ͱ͋Γɼ࢖༻Ϟσϧͷৄࡉɾֶशʹར༻͢Δϩάσʔλ౳ʹؔͯ͠͸લड़ͷ௨ΓͰ͋Δɽ
·ͨߦಈܾఆϞσϧ͕ਓ࿛ࢦఆϞσϧͷग़ྗΛࢀর͢Δ౎߹্ɼਓ࿛ਪఆϞσϧɼߦಈܾఆϞσϧͷॱʹ࣮‫ݧ‬Λߦͬͨɽਓ࿛ਪఆϞσϧ
ֶशΛ 2 ͭͷࢼߦʹ෼͚࣮ͯࢪͨ͠ɽୈ 1 ֶशʹ͓͍ͯ͸ɼֶश༻σʔλ 8000 ήʔϜɼ‫ূݕ‬༻σʔλ 2000 ήʔϜʹ͍ͭͯ 100 ճֶशΛߦΘͤͨɽୈ 2 ֶशʹ͓͍ͯ͸ɼֶश༻σʔλ 8000ήʔϜɼ‫༻ূݕ‬σʔλ 2300 ήʔϜʹ͍ͭͯ 100 ճֶशΛߦΘͤͨɽ݁Ռͱͯ͠ɼֶश༻σʔλʹରͯ͠ 75%ɼධՁ༻σʔλʹରͯ͠ 63% ͷਫ਼౓Ͱਖ਼͍͠ਓ࿛ͷ૊Έ߹ΘͤΛࢉग़͢Δ͜ͱ͕Ͱ͖ͨɽਖ਼͍͠ਓ࿛ͷ૊Έ߹Θͤ͸શ 460 ௨Γͷ͏ͪ 1 ͭͷΈͰ͋ΓɼϥϯμϜͳબ୒ʹରͯ͠͸໌֬ͳ͕ࠩ͋Δͱߟ͑ΒΕΔɽ
ߦಈܾఆϞσϧ

5 ਓϓϨΠϠʔʹΑΔਓ࿛ 1500 ήʔϜɼ15 ਓϓϨΠϠʔʹΑΔਓ࿛ 150 ήʔϜʹ͍ͭͯ 1 ճֶͣͭशΛߦΘͤͨɽֶश‫ޙ‬ɼ5 ਓϓϨΠϠʔʹΑΔਓ࿛ 30 ήʔϜɼ15 ਓϓϨΠϠʔʹΑΔਓ࿛ 30 ήʔϜΛ߹‫͠ܭ‬
ͨ 60 ήʔϜʹ͍ͭͯͷউ཰Λࢉग़ͨ݁͠Ռɼ43.3% ͱͳΓɼϥϯμϜͰͷಉࢼߦճ਺ʹ͓͚Δ݁
Ռɼ43% ͱ༗ҙͳࠩ͸ແ͔ͬͨɽ·ͨߦಈύλʔϯ͕গͳ͍छྨʹऩଋͯ͠͠·͍ͬͯΔ͜ͱ͕
֬ೝͰ͖ͨɽ
ʢ˞จ੹: ্ࠜथʣ

5.6

ߟ࡯

ࠓճɼ‫ػ‬ցֶशϞσϧΛ༻͍ͯਓ࿛ͷਪఆͱߦಈͷܾఆΛߦ͏ΤʔδΣϯτͷ࡞੒Λߦͬͨɽਓ࿛ͷਪఆ͸ɼϥϯμϜʹਓ࿛Λਪఆͨ͠৔߹ͱൺֱ͢Δͱɼ໌֬ͳ͕ࠩ͋ΓɼϥϯμϜʹਓ࿛Λਪఆ͢ΔΤʔδΣϯτΑΓ΋ɼߴ͍ਫ਼౓ͰͷਪఆΛߦ͏ΤʔδΣϯτ͕‫׬‬੒ͨ͠ͱ͍͑Δɽ͔͠
͠ɼֶशճ਺Λ૿Ճͤ͞ΔͳͲͷࡉ͔ͳௐ੔Λߦ͏͜ͱ΍ɼਓ࿛ਪఆϞσϧʹೖྗ͢Δಛ௃ྔΛ૿΍͢͜ͱͳͲɼվมΛՃ͑Δ͜ͱʹΑΓɼਫ਼౓Λ͞Βʹ޲্ͤ͞Δ͜ͱ͕ՄೳͰ͋Δͱߟ͑ΒΕΔɽ

Group Report of 2020 SISP

- 24 -

Group Number 12-A

AI Love Deep LearningҰํͰɼߦಈͷܾఆʹ͍ͭͯ͸ɼϥϯμϜͰߦಈΛܾఆ͢ΔΤʔδΣϯτͱউ཰Λൺֱ͢Δͱɼ༗ҙͳࠩ͸ແ͔ͬͨɽ͜ͷ‫ݪ‬Ҽͱͯ͠ɼߦಈܾఆϞσϧʹೖྗ͢Δಛ௃ྔ͕ෆ଍͍ͯͨ͜͠ͱɼϞσϧͷֶशճ਺͕ෆ଍͍ͯͨ͜͠ͱ͕‫͛ڍ‬ΒΕΔɽ·ͨɼߦಈύλʔϯ͕ɼʮΤʔδΣϯτ A ͕ੜ
ଘ͍ͯ͠Δ‫ݶ‬ΓɼͦͷΤʔδΣϯτʹຖճ౤ථ͢Δʯͱ͍ͬͨ۩߹ʹɼগͳ͍ύλʔϯʹऩଋͯ͠͠·ͬͨɽ͜ͷ‫ݪ‬Ҽ͸ɼߦಈͱͦΕʹର͢Δใुͷଟ༷Խʹ͋Δͱߟ͑ΒΕΔɽ͜ΕΒͷ‫ݪ‬Ҽ͔ΒɼߦಈܾఆϞσϧͷվળҊͱͯ͠ɼϞσϧͷࠜຊతͳઃ‫ܭ‬Λ‫ݟ‬௚͢͜ͱɼϞσϧͷֶशճ਺Λ૿
Ճͤ͞Δ͜ͱɼຖճಉ͡ର৅ʹಉ͡ߦಈΛ͍ͯ͠Δ͜ͱʹରͯ͠ෛͷใुΛ༩͑Δɼͱ͍͏Α͏ʹใुΛ‫ݟ‬௚͢͜ͱ͕‫͛ڍ‬ΒΕΔɽ
ʢ˞จ੹: ੢ଜ࿨അʣ

Group Report of 2020 SISP

- 25 -

Group Number 12-A

AI Love Deep Learningୈ6ষ‫׆‬ಈ݁Ռ

6.1

ৄࡉͳ‫׆‬ಈ݁Ռ

6.1.1

લ‫ظ‬

લ‫ظ‬ͷ‫׆‬ಈͱͯ͠ɼ‫׆ظޙ‬ಈͷ։࢝ͱ‫ʹڞ‬ΤʔδΣϯτͷ։ൃ͕ਐΊΒΕΔΑ͏ʹ։ൃ‫ڥ؀‬Λ੔͑ɼਓ࿛஌ೳͷ֓ཁΛֶͼɼཧղΛਂΊΔ͜ͱͱͨ͠ɽதؒൃදͰ͸ɼ‫ֶͰ఺࣌ݱ‬Μͩ஌ࣝΛ·ͱΊɼͦΕΛൃදͨ͠ɽ۩ମతͳ‫׆‬ಈͱͯ͠ɼ·ͣ͸ྠಡΛߦͬͨɽਓ࿛஌ೳͷઐ໳ॻ [3] Λ෼୲ͯ͠ಡΈɼਓ࿛஌ೳ͕ͲͷΑ͏ʹߏ੒͞ΕΔ͔ΛֶΜͩɽ‫ج‬ຊతͳϧʔϧ΍ॳ‫ظ‬ઃఆͳͲ͔ΒͦΕͧΕͷ໾৬͝ͱͷ‫ج‬ຊతͳಈ͖·Ͱɼਓ࿛஌ೳͷ‫ૅج‬Λཧղ͢Δ͜ͱ͕Ͱ͖ͨɽ·ͨɼ‫ػ‬ցֶशͷ‫ج‬ຊʹ͍ͭͯ΋ྠಡΛߦ͍ɼ࣮ࡍʹ libSVM Λ༻͍‫ػ‬ցֶशΛ‫ͨ͠༻׆‬ਓ࿛஌ೳΤʔδΣϯτͷྫΛֶΜͩɽ‫ػ‬ցֶशʹؔͯ͠͸ɼࠓ‫ޙ‬΋஌ࣝΛਂΊ͍ͯͨ͘Ίʹɼ‫ܧ‬ଓͯ͠ྠಡΛଓ͚͍ͯ͘ඞཁ͕
͋Δɽɹ
·ͨɼ2020 ೥ 7 ݄ 5 ೔ʹߦΘΕͨΦϯϥΠϯͰ։࠵͞Εͨਓ࿛஌ೳηϛφʔ 2020 ʹࢀՃͨ͠ɽ
͜͜Ͱ͸‫ج‬ຊతͳਓ࿛஌ೳΤʔδΣϯτͷ࡞੒ํ๏ʹֶ͍ͭͯͿ͜ͱ͕Ͱ͖ͨɽηϛφʔͷ಺༰ʹؔͯ͠͸ɼ͢ͰʹྠಡͰѻͬͨ಺༰ͱඃΔ෦෼΋ଟ͔͕ͬͨɼ͜Ε·Ͱ Java Ͱͷ։ൃΛ༧ఆ͍ͯͨ͠ΤʔδΣϯτͷ Python Λ༻͍ͨ։ൃํ๏ΛֶͿ͜ͱ͕Ͱ͖ͨɽ͜ΕʹΑΓɼJava ΑΓ΋‫ػ‬ցֶशϥΠϒϥϦͷ๛෋ͳ Python Ͱ։ൃΛਐΊ͍ͯ͘ํ਑ʹมߋͨ͠ɽ
൓ল఺ͱͯ͠‫͛ڍ‬ΒΕΔ఺͸ɼ։ൃ‫ڥ؀‬ͷߏஙʹ͕͔͔࣌ؒͬͨ఺Ͱ͋Δɽಛʹɼࠓ೥౓ͷϓϩδΣΫτ͸ΦϯϥΠϯͰߦΘΕͨ͜ͱ΋͋ΓɼͦΕͧΕ͕։ൃ‫ڥ؀‬Λ੔͑Δඞཁ͕͕͋ͬͨɼԻ
੠ͱը໘‫ڞ‬༗͚ͩͰ৘ใΛ‫ڞ‬༗͢Δඞཁ͕͋Γɼ૝ఆҎ্ʹ͕͔͔࣌ؒͬͯ͠·ͬͨɽલ‫Ͱظ‬͸

GitɼGitHubɼJavaɼPythonɼlibSVM Λར༻͕ͨ͠ɼ͍ͣΕ΋ಋೖʹ͕͔͔࣌ؒΓɼ࡞‫͕ۀ‬खؒऔͬͯ͠·ͬͨɽ‫ظޙ‬͸ର໘ͷ‫ػ‬ձ͕૿͑ΔͨΊɼલ‫ظ‬ͷ൓ল఺Λ‫͔͠׆‬ɼಋೖΛεϜʔζʹߦ͏ඞཁ͕͋Δɽʢ˞จ੹: খాதཛྷʣ

6.1.2

‫ظޙ‬

‫ظޙ‬ͷ‫׆‬ಈͱͯ͠ɼਓ࿛ͷਪఆͱߦಈͷܾఆΛɼ‫ػ‬ցֶशʹΑ࣮ͬͯ‫ͤ͞ݱ‬ΔΤʔδΣϯτͷ։ൃΛߦͬͨɽ੒ՌൃදձͰ͸ɼ‫׬‬੒ͨ͠Ϟσϧͷߏஙͷखॱ΍ɼΤʔδΣϯτͷಈ࡞Λൃදͨ͠ɽ
۩ମతͳ‫׆‬ಈͱͯ͠ɼϞσϧ൝ͱઃ‫ܭ‬൝ʹ෼͔Εͯ‫׆‬ಈΛߦͬͨɽϞσϧ൝͸ɼχϡʔϥϧωοτ
ϫʔΫΛ༻͍ͯਓ࿛Λਪଌ͢Δɼਓ࿛ਪఆϞσϧͷ੍࡞ͱɼਓ࿛ਪఆϞσϧͷग़ྗ΍‫ݧܦ‬ɼήʔϜͷ৘ใ͔Β DQN(Deep Q-Network) Λ༻͍ͯ࠷దͳߦಈΛܾఆ͢ΔɼߦಈܾఆϞσϧͷ੍࡞Λߦͬͨɽઃ‫ܭ‬൝͸ɼϞσϧʹద੾ͳಛ௃ྔΛ౉͠ɼͦͷϞσϧͷग़ྗ͔ΒߦಈͳͲͷॲཧΛߦ͏ϓϩάϥϜͷߏஙΛߦͬͨɽϞσϧͷ੍࡞ͱϓϩάϥϜͷߏங͕‫ͨྃ͠׬‬ͷͪɼͦΕͧΕͷ൝ͷ੍࡞෺Λ౷߹͠ɼΤʔδΣϯτ͕‫׬‬੒ͨ͠ɽͦͷ‫ޙ‬ɼ‫׬‬੒ͨ͠ΤʔδΣϯτʹରֶͯ͠शɾӡ༻࣮‫ݧ‬Λߦͬͨɽࠓ೥౓ʹ։࠵͞Εͨਓ࿛஌ೳେձ͸ 1 ճͷΈͰ͋ΓɼΤʔδΣϯτͷఏग़‫ ͕ݶظ‬8 ݄ͱૣ͔ͬͨͨΊɼਓ࿛஌ೳେձ΁ग़৔͢Δ͜ͱ͸Ͱ͖ͳ͔ͬͨɽ

Group Report of 2020 SISP

- 26 -

Group Number 12-A

AI Love Deep Learning൓ল఺ͱͯ͠‫͛ڍ‬ΒΕΔ఺͸ɼεέδϡʔϧͷաີͰ͋Δɽ1 िؒʹ 1 ౓ɼର໘Ͱ‫׆‬ಈ͢Δ͜ͱʹΑΓɼεϜʔζʹ‫׆‬ಈ͕ਐΈɼεέδϡʔϧͷաີ͕ղফ͞ΕΔ͔ͱࢥΘΕ͕ͨɼղফ͞Εͳ͔ͬͨɽ݁Ռͱͯ͠ɼલ‫ظ‬ऴྃ࣌ʹ༧ఆ͍ͯͨ͠ɼෳ਺ͷ‫ࣜܗ‬ͷΤʔδΣϯτΛ੍࡞͠ɼൺֱ͢Δ
͜ͱ͕Ͱ͖ͣɼ1 ͭͷΤʔδΣϯτͷΈͷ੍࡞ʹཹ·ͬͯ͠·ͬͨɽͦͷ͏͑ɼϞσϧͷੑೳΞοϓ͕Ͱ͖ͳ͔ͬͨ͜ͱ΍ɼ࿩͠߹͏͕࣌ؒे෼ʹऔΕͣɼ΋͏ยํͷ൝ͷίʔυͷཧղ͕ࠔ೉ʹͳΔ౳ʹΑΓɼΤʔδΣϯτ։ൃ࡞‫ۀ‬શମͷ೺Ѳ͕೉͘͠ͳͬͨɼͱ͍ͬͨߋͳΔ໰୊ΛҾ͖‫͢͜ى‬͜ͱʹͳͬͯ͠·ͬͨɽʢ˞จ੹: ੢ଜ࿨അʣ

6.2

தؒൃද

6.2.1

தؒൃදͷ४උ

தؒൃදͷ४උͱͯ͠ɼϙελʔͱ΢ΣϒαΠτɼൃද༻εϥΠυΛ࡞੒ͨ͠ɽࠓ೥౓ͷϓϩδΣΫτதؒൃද͸ϓϩδΣΫτ঺հಈը͔΢ΣϒαΠτͷબ୒Ͱ͕͋ͬͨɼຊάϧʔϓͰ͸΢ΣϒαΠτΛબ୒ͨ͠ɽϙελʔ͸άϧʔϓ B ͱάϧʔϓ C ͱ‫ڞ‬ಉͰ࡞੒͠ɼ1 ຕʹ·ͱΊͨɽ΢ΣϒαΠτ͸ Google αΠτͰ࡞੒ͨ͠ɽਓ࿛஌ೳΛ஌Βͳ͍ਓ͕‫ͯݟ‬΋ཧղͰ͖ΔΑ͏ɼਓ࿛ͷഎ‫͔ܠ‬ΒϧʔϧΛઆ໌͠ɼจষ͚ͩͰ͸఻ΘΓʹ͍͘ΤʔδΣϯτ͸ਤΛ༻͍ͯද‫ͨ͠ݱ‬ɽൃද༻εϥΠυ͸ɼ࣭ٙԠ౴ͷࡍʹ࢖༻͢ΔͨΊʹ࡞੒ͨ͠ɽ୲౰‫ڭ‬һ͔Β͸ᐆດͳද‫ݱ‬΍఻ΘΓʹ͍͘‫ݴ‬͍ճ͠ʹ͍ͭͯमਖ਼ͷΞυόΠεΛ͍͍ͨͩͨɽ
ࠓ೥౓ͷதؒൃද͸ɼલ‫ޙ‬൒ʹ෼͔Εɼ͞ΒʹͦͷதͰ 3 ճʹ෼͚ͨ 1 ճ 15 ෼ͷ࣭ٙԠ౴ΛɼࢀՃऀΛೖΕସ͑ͳ͕ΒߦΘΕͨɽࢀՃऀ͸ࣄલʹಈը·ͨ͸΢ΣϒαΠτΛࢀরͨ͠͏͑Ͱ࣭໰
Λ͢Δ‫͕ͨͬ͋Ͱࣜܗ‬ɼ਺͕ଟ͘಺༰͕ࠞཚ͢Δ‫ڪ‬Ε͕͋ͬͨͨΊɼ౰೔͸ॳΊͷ 5 ෼ఔ౓ͰຊϓϩδΣΫτ͓Αͼ֤άϧʔϓͷ֓ཁΛઆ໌ͨ͠‫ޙ‬ɼ࣭ٙԠ౴Λߦ͏ελΠϧͰਐΊͨɽͦͷͨΊɼεϥΠυΛ༻͍࣭ͨٙԠ౴ͷϦϋʔαϧΛߦ͍ɼ࣌ؒ಺ʹൃදͰ͖ΔΑ͏‫ߘݪ‬Λ؆ܿʹ·ͱΊɼଞάϧʔϓ΁࣮ࡍʹ૝ఆ͞ΕΔ࣭໰Λ͢Δ͜ͱͰड͚౴͑ͷ࿅शΛߦͬͨɽ·ͨɼ౰೔ʹԁ‫ʹ׈‬ਐΊΒΕΔΑ͏ɼZoom ͷૢ࡞ʹ͍ͭͯͷ֬ೝΛ೦ೖΓʹߦͬͨɽʢ˞จ੹: খాதཛྷʣ

6.2.2

ධՁ݁Ռ

தؒൃද͸ 2020 ೥ 7 ݄ 17 ೔ʹΦϯϥΠϯ্ͰߦΘΕͨɽൃද‫ޙ‬ɼࢀՃऀʹ Google ϑΥʔϜͰൃද಺༰ͷධՁΛͯ͠΋ΒͬͨɽධՁ߲໨͸ɼશମͷൃදٕज़ͱ֤άϧʔϓͷൃද಺༰ʹ͍ͭͯͰ͋ΔɽͦΕͧΕ 1 ఺͔Β 10 ఺·Ͱͷ 10 ஈ֊Ͱ఺਺Λ͚ͭͯ΋Β͍ɼͦͷཧ༝΍ΞυόΠεΛ‫ه‬ೖͯ͠΋ΒͬͨɽதؒൃදͰಘΒΕͨධՁ఺ͱίϝϯτΛҎԼʹ‫͢ه‬ɽ• ΢ΣϒαΠτ͕‫ݟ‬΍͘͢Θ͔Γ΍͔ͬͨ͢• ಈը͕ͳ͍ͱ‫׆‬ಈ಺༰͕Θ͔Γʹ͍͘• ‫ڞ‬༗͞Εͨը໘͕‫͔ͨͬ͘ʹݟ‬• ࣭໰ऀ͕͍ͳ͍৔߹ʹิ଍આ໌Λߦ͍ɼૉૣ͘ରԠͰ͖͍ͯͨ
Group Report of 2020 SISP

- 27 -

Group Number 12-A

AI Love Deep Learning• ࣭໰ʹ͔ͬ͠Γͱ౴͑ΒΕ͍ͯͨ• ਐߦ͕εϜʔζͰΑ͔ͬͨ• ‫׆‬ಈ಺༰͕Θ͔Γʹ͔ͬͨ͘• ਓ࿛஌ೳେձʹ͍ͭͯͷઆ໌͕΄͔ͬͨ͠• ໨ඪ͕໌֬ʹઃఆ͞Ε͍ͯΔͷ͕Α͍• ண‫͓͕఺؟‬΋͠Ζ͍
ද 6.1

தؒൃදͷධՁ

ධՁ

ൃදٕज़

ൃද಺༰

10

5

5

9

12

10

8

11

12

7

6

8

6

2

3

5

4

2

4

0

1

3

0

0

2

0

0

1

0

0

ฏ‫ۉ‬

8

7.9

߹‫ܭ‬

40

41

ʢ˞จ੹: খాதཛྷʣ

6.2.3

ධՁͷߟ࡯

ද 6.1 ΑΓฏ‫఺ۉ‬͸ൃදٕज़͕ 8 ఺ɼൃද಺༰͕ 7.9 ఺Ͱ͋ͬͨɽίϝϯτʹ΋͋Δ௨Γɼ࣭ٙԠ౴ͷਐߦͱड͚౴͑ࣗମ͸ೖ೦ʹϦϋʔαϧΛߦͬͨ੒Ռ͕ग़͍ͯΔͱߟ͑ΒΕΔɽ·ͨɼ΢ΣϒαΠτ΋Θ͔Γ΍͔ͬͨ͢ͱ͍͏ίϝϯτ͕͋Γɼൃදࣗମ͸੒ޭͰ͋ͬͨͱ‫͑ݴ‬ΔͩΖ͏ɽ͔͠͠ɼ൓ল఺ͱͯ͠ɼը໘‫ڞ‬༗͕͏·͍͔͘ͳ͔ͬͨ఺ɼಈը͕ͳ͍ͨΊ۩ମతͳΠϝʔδ͕͠ʹ͔ͬͨ͘఺ɼਓ࿛஌ೳେձͷઆ໌͕ৄ͘͠͞Ε͍ͯͳ͔ͬͨ఺ɼ‫׆‬ಈ಺༰͕Θ͔Γʹ͔ͬͨ͘఺ͳ
Ͳ͕‫͛ڍ‬ΒΕͨɽલ൒ͷ 2 ఺ʹؔͯ͠͸ࠓ‫ޙ‬ΦϯϥΠϯͰͷൃද͕͋Δࡍʹ‫ݕ‬౼͍ͨ͠ɽ‫ޙ‬൒ͷ 2఺ʹؔͯ͠͸ɼ‫ظ‬຤ൃදͰ͸Θ͔Γ΍͘͢఻͑ΒΕΔΑ͏ҙ͍ࣝͨ͠ɽ
ʢ˞จ੹: খాதཛྷʣ

Group Report of 2020 SISP

- 28 -

Group Number 12-A

AI Love Deep Learning

6.3

࠷ऴ੒Ռൃද

6.3.1

࠷ऴ੒Ռൃදͷ४උ࠷ऴ੒Ռൃදͷ४උͱͯ͠ɼϙελʔɼ΢ΣϒαΠτɼൃද༻ͷεϥΠυΛ࡞੒ͨ͠ɽൃදํ๏
͸ϓϩδΣΫτશମͰεέδϡʔϧ͕஗Ε‫ؾ‬ຯͰ͋Δ͜ͱΛ౿·͑ɼதؒൃදͰ࡞੒ͨ͠ͻͳ‫ܗ‬Λͦͷ··ྲྀ༻Ͱ͖Δ΢ΣϒαΠτΛબ୒ͨ͠ɽશମతͳߏ੒Λ‫ݟ‬௚͠ɼΑΓ෼͔Γ΍͍͢આ໌͕Ͱ
͖ΔΑ͏ʹ޻෉ͨ͠ɽ۩ମతʹ͸ɼਤ΍දΛ༻͍ͨՄࢹతͳઆ໌Λ௥Ճ͠ɼϙελʔͰ͸จྔΛ‫ݮ‬Β͢͜ͱͰ࠷΋ॏཁͳ఺͕఻ΘΔΑ͏ʹ࡞੒ͨ͠ɽ΢ΣϒαΠτͰ͸ɼৄࡉͳϞσϧߏஙͷखॱ΍ΤʔδΣϯτͷಈ͖ͳͲʹ͍ͭͯઆ໌͠ɼϙελʔ͚ͩͰઆ໌͖͠Εͳ͍಺༰Λิ͏‫ͨ͠ʹܗ‬ɽ࠷ऴ੒Ռൃද͸தؒൃදͱಉ༷ʹΦϯϥΠϯ্Ͱ։࠵͞ΕͨɽதؒൃදͰ͸ϓϩδΣΫτ͝ͱʹϛʔςΟϯάΛ։͖ɼϓϩδΣΫτؒͷҠಈͷࡍʹ͸ͦͷ౎౓ϛʔςΟϯάΛೖୀࣨ͢Δඞཁ͕
͕͋ͬͨɼࠓճ͸ϓϩδΣΫτֶश WG ͕։͘ϛʔςΟϯάϧʔϜͷதʹ֤ϓϩδΣΫτͷϒϨ
ΠΫΞ΢τϧʔϜׂ͕Γ౰ͯΒΕΔ‫ʹࣜܗ‬มߋ͞Εͨɽൃද‫͍ͯͭʹࣜܗ‬͸தؒൃදͱಉ͡Ͱ͋ͬ
ͨ. ൃදʹ޲͚ͯάϧʔϓ B ͱάϧʔϓ C ͱ߹ಉͰϦϋʔαϧΛߦ͍ɼ ‫ޱ‬಄ൃදͱͦΕͧΕͷάϧʔϓʹରͯ͠ͷ࣭ٙԠ౴Λߦ͏͜ͱͰɼຊ൪Λ૝ఆͨ͠ϦϋʔαϧΛߦ͏͜ͱ͕Ͱ͖ͨ. ϦϋʔαϧΛ௨ͯ͠ɼଞͷάϧʔϓ͔ΒಘΒΕ࣭ͨ໰Λࢀߟʹɼ΢ΣϒαΠτʹ৽ͨʹઆ໌ΛՃ͑ɼҰ෦ᐆດͩͬͨද‫ݱ‬ͷमਖ਼Λߦͬͨɽ·ͨɼ࣭ٙԠ౴ͷࡍɼ࣭໰͕ͳ͔ͬͨ৔߹ʹ࢘ձ͔Β௥Ճͷઆ໌Λଅ͢Α͏ͳ࣭໰Λ༻ҙ͠ɼ௜໧ͷ͕࣌ؒଓ͔ͳ͍Α͏ͳ஫ҙΛ৺ֻ͚ͨɽશମΛ௨ͯ͠ɼ‫ݶ‬ΒΕͨ࣌ؒͷதͰ೦ೖΓʹ४උ͕Ͱ͖ͨͱ‫͍ͯ͡ײ‬Δɽ
ʢ˞จ੹: খాதཛྷʣ

6.3.2

ධՁ݁Ռ

࠷ऴ੒Ռൃද͸ 2020 ೥ 12 ݄ 4 ೔ʹΦϯϥΠϯ্ͰߦΘΕͨɽൃද‫ޙ‬ɼࢀՃऀʹ Google ϑΥʔϜͰൃද಺༰ͷධՁΛͯ͠΋ΒͬͨɽධՁ߲໨͸ɼશମͷൃදٕज़ͱൃද಺༰ʹ͍ͭͯͰ͋Δ. ͦΕͧΕ 1 ఺͔Β 10 ఺·Ͱͷ 10 ஈ֊Ͱ఺਺Λ͚ͭͯ΋Β͍ɼͦͷཧ༝΍ΞυόΠεΛ‫ه‬ೖͯ͠΋Βͬͨɽ࠷ऴ੒ՌൃදͰಘΒΕͨධՁ఺ͱίϝϯτΛҎԼʹࣔ͢ɽ• ‫׆‬ಈ಺༰ͱ੒Ռ͕Θ͔Γ΍͘͢఻Θ͖ͬͯͨ• ΢ΣϒαΠτͷσβΠϯΛ΋͏গ͠޻෉ͨ͠΄͏͕Α͔ͬͨͱࢥ͏
• ࢘ձɺ࣭ٙԠ౴͕͸͖ͬΓͱ͍ͯͯ͠Α͔ͬͨ• ख୹ͳઆ໌͕͋Γ͕͔ͨͬͨ
• આ໌͕؆ܿͰΘ͔Γ΍͔ͬͨ͢• ࣭໰ͷͳ͍͕࣌ؒͳ͍Α͏ʹ޻෉͞Ε͍ͯͨ• ਐߦ΍ൃද͕ฉ͖औΓ΍͔ͬͨ͢• ࣮ࡍʹಈ͘σϞಈըͷ঺հͳͲ͕͋Δͱ੒Ռ෺ͷงғ‫͔͕ͭؾ‬Έ΍͍͢ͱࢥͬͨ
• ࣭໰͠΍͍͢‫͕ڥ؀‬੔͑ΒΕ͍ͯΔͱࢥͬͨ• Ұ໨ͰΠϝʔδ͕ͭ͘Α͏ʹ΋ͬͱΠϥετ΍ࣸਅ͕ଟͯ͘΋Α͔ͬͨͱࢥ͏• આ໌͸ஸೡͰ͕͋ͬͨɼ΋͏গ͠಺༰Λ·ͱΊΔͱΑ͍ͱࢥͬͨ
Group Report of 2020 SISP

- 29 -

Group Number 12-A

AI Love Deep Learning• ΢ΣϒαΠτͷσβΠϯΛ౷Ұͨ͠΄͏͕Α͍• ઐ໳༻‫ޠ‬ͷղઆ͕΄͔ͬͨ͠• ༻͍ͨ AI ͷઃఆ΍ɼ࣮‫ݧ‬ઃఆͳͲɼදʹͯ͠ఏࣔͯ͋͠Δͱ෼͔Γ΍͔ͬͨ͢• ਂ૚ֶशʹର͢Δৄࡉͳ࣭໰ʹ΋ճ౴Ͱ͖͓ͯΓɼ͔ͬ͠Γͱษ‫͍ͯ͠ڧ‬Δ͜ͱ͕ྑ͘Θ
͔ͬͨ
ද 6.2

࠷ऴ੒ՌൃදͷධՁ

ධՁ

ൃදٕज़

ൃද಺༰

10

3

3

9

8

9

8

8

9

7

9

11

6

4

3

5

1

1

4

0

0

3

0

0

2

0

0

1

0

0

ฏ‫ۉ‬

7.8

7.9

߹‫ܭ‬

36

36

ʢ˞จ੹: খాதཛྷʣ

6.3.3

ධՁͷߟ࡯

දΑΓฏ‫఺ۉ‬͸ൃදٕज़͕ 7.8 ఺ɼൃද಺༰͕ 7.9 ఺Ͱ͋ͬͨɽ͍ͣΕ΋தؒൃදΑΓ఺਺Λ৳͹͢͜ͱ͕Ͱ͖ͳ͔ͬͨɽͦͷ‫ݪ‬Ҽͱͯ͠ɼಛʹ΢ΣϒαΠτʹ໰୊͕͋ͬͨͱߟ͑ΒΕΔɽ΢ΣϒαΠτ͸ϙελʔ΍‫ޱ‬಄Ͱ͸Χόʔ͖͠Εͳ͍ৄࡉͳ৘ใΛ·ͱΊ͍ͯΔ͕ɼຊϓϩδΣΫτ͕

3 άϧʔϓ͋Δ͜ͱ΍ࢿྉΛӾཡͰ͖Δ͕࣌ؒ‫ݶ‬ΒΕ͍ͯΔ͜ͱͳͲΛߟྀ͢ΔͷͰ͋Ε͹ɼ΋͏গ͠จྔΛ߇͑ɼ͞Βʹਤ΍දΛ૿΍ͯ͠؆ܿʹ·ͱΊΔ΂͖ͩͬͨͷ͔΋͠Εͳ͍ɽઐ໳༻‫ޠ‬ͷղઆ΍σϞͷಈը͕΄͍͠ͱ͍͏ίϝϯτ͕ଟ͘‫ݟ‬ΒΕΔͷ΋ɼզʑ͸Θ͔͍ͬͯΔͭ΋ΓͰઆ໌ΛਐΊ͍ͯΔ಺༰͕ɼ࣮ࡍ͸͏·͘఻Θ͍ͬͯͳ͍ɼ఻ΘΓʹ͍͘಺༰Ͱ͋ͬͨͨΊͰ͋ΔΑ͏ʹ‫͡ײ‬ΒΕΔɽͭ·ΓɼಡΈखͷ഑ྀ͕͞Ε͍ͯͳ͔ͬͨ఺͕͜ͷΑ͏ͳ݁ՌΛҾ͖‫ݪ͢͜ى‬Ҽʹͳͬͨͱߟ͑ΒΕΔɽจষͰͷઆ໌Λඞཁ࠷খ‫ݶ‬ͷൣғʹࢭΊɼσϞಈը΍ΠϥετͳͲͰ੒Ռ෺
͕࣮ࡍʹಈ͍͍ͯΔ༷ࢠΛࣔ͢͜ͱͰɼҰ໨‫ͯݟ‬ΠϝʔδͰ͖ΔΑ͏ͳ޻෉͕ඞཁͰ͋ͬͨͱߟ
͑Δɽ͔͠͠ɼ։ൃεέδϡʔϧͷ஗ΕΛ౿·͑੒Ռ෺Λ‫͢ʹܗ‬Δ͜ͱΛ༏ઌͨ݁͠ՌɼಈըΛ࡞Δ·Ͱख͕ճΒͳ͔ͬͨͷ͸൓ল͢΂͖఺Ͱ͋ΔɽҰํͰɼதؒൃදͰͷ൓ল఺Ͱ͋ͬͨ‫׆‬ಈ಺༰ͷΘ͔Γʹ͘͞ʹ͍ͭͯ͸վળͰ͖ͨɽ·ͨɼൃදʹؔͯ͠΋ϦϋʔαϧΛॏͶͨ੒Ռ͕͏·͘ൃ‫͖ͨͰش‬ɽಛʹɼ࣭໰͕ग़ͳ͔ͬͨͱ͖ʹ࢘ձ͔Βิ଍ͷઆ໌Λଅ͢Α͏ʹ֤άϧʔϓʹର࣭ͯ͠໰Λߦͬͨ͜ͱʹΑΓɼۭനͷ͕࣌ؒແ͘ͳͬͨ͏͑ʹ௥Ճͷ৘ใΛఏࣔ͢Δ͜ͱ΋Ͱ͖ɼ࣭ٙԠ
౴͕ΑΓ‫ͨͬͳͱؒ࣌ͳൃ׆‬ɽ͜Εʹ͍ͭͯ͸ίϝϯτʹ΋͋ΔΑ͏ʹ޷ධͰ͋ͬͨͨΊɼ੒ޭͰGroup Report of 2020 SISP

- 30 -

Group Number 12-A

AI Love Deep Learning͋ͬͨͱ‫͑ݴ‬Δɽ૯ͯ͡ɼલ‫ظ‬ͷ൓ল‫͖͔͠׆‬Εͳ͍෦෼΋͕͋ͬͨɼ൓লΛ‫͔͠׆‬վળͰ͖ͨ఺
΋͋ͬͨɽʢ˞จ੹: খాதཛྷʣ

Group Report of 2020 SISP

- 31 -

Group Number 12-A

AI Love Deep Learning

ୈ7ষ
7.1

দా‫ݦ‬

7.1.1

લ‫ظ‬

‫ݸ‬ਓ‫׆‬ಈࢲ͸ϓϩδΣΫτϦʔμʔΛ຿ΊɼϓϩδΣΫτશମͷ·ͱΊΛߦ͖ͬͯͨɽதؒൃදͳͲͷϓϩδΣΫτશମͱͯ͠‫׆‬ಈ͢ΔͨΊͷ࠷௿‫ݶ‬ͷ໾ׂ͸Ռͨͨ͠ͱࣗෛ͍ͯ͠ΔɽάϧʔϓͰ͸ɼಛʹ‫ڞ‬ಉ։ൃ‫ڥ؀‬ͷߏஙʹߩ‫ͨ͠ݙ‬ɽࢲ͸ GitɼGitHub ͷ࢖༻‫͕͋ݧܦ‬Γɼάϧʔϓ‫׆‬ಈͷং൫Ͱ͸ Git ͷಋೖ͔Β࢖͍͔ͨͷղઆΛߦ͍ɼGitHub ͷϦϙδτϦͷ࡞੒ͱ࣮ફ·ͰΛ୲౰ͨ͠ɽ࢖
༻‫ޠݴ‬Λ Python ʹܾఆͨ͠ࡍʹ͸ɼPython ͷσΟετϦϏϡʔγϣϯͰ͋Δ Anaconda ͷಋೖͱ࢖͍͔ͨͷղઆ΋ߦͬͨɽ‫׆‬ಈதʹ͸ੵ‫ۃ‬తʹҙ‫ݟ‬Λग़͢Α͏ʹͯ͠ɼྫ͑͹࢖༻͢Δ‫ػ‬ցֶशϞσϧͰ࿩͠߹͍͕ߦ͖٧ͬͨͱ͖͸औಘՄೳͳೖྗ৘ใɼཉ͍͠ग़ྗ৘ใ͔Βχϡʔϥϧωοτ
ͷ࢖༻ΛఏҊͨ͠ɽਓ࿛஌ೳηϛφʔͰ͸ Python ͷίʔεʹࢀՃ͠ɼͦ͜ͰֶΜͩ͜ͱΛ‫ڞ‬༗ͨ͠ɽͦͷ݁Ռਓ࿛஌ೳΤʔδΣϯτͷ࡞੒͸ Python Ͱߦ͏͜ͱ͕ܾఆ͞ΕͨɽதؒൃදͰ͸ϙελʔͷ࡞੒Λ୲౰ͨ͠ɽจষͷ࡞੒΍ಘҙͷӳ‫ޠ‬Λੜ͔ͨ͠ӳจͷ࡞੒ʹਚྗͨ͠ɽதؒൃද౰೔
ʹ͸࣭ٙԠ౴Λ຿Ίͨɽਓ࿛஌ೳʹ͍ͭͯͷௐࠪ΋‫ݸ‬ਓతʹߦ͍ɼ࿦จΛಡΈ·ͱΊͨ΋ͷΛ‫ڞ‬༗͢ΔͳͲ‫׆‬ಈʹඞཁͳ৘ใΛऩू͍ͯ͠Δɽ
ʢ˞จ੹: দా‫ݦ‬ʣ

7.1.2

‫ظޙ‬

‫ظޙ‬͸લ‫ͱظ‬ಉ͡Α͏ʹϓϩδΣΫτϦʔμʔͱͯ͠ͷ‫׆‬ಈΛଓ͚ͨɽಛʹ‫ظޙ‬͸άϧʔϓ͝ͱʹର໘Ͱͷ‫׆‬ಈ͕։࢝͞ΕͨͨΊɼͲͷάϧʔϓ͕ొߍ͢Δ͔ͱ͍ͬͨ؅ཧ΋ߦͬͨɽάϧʔϓͰֶशΛߦ͏ࡍʹ͸ Pandas ΍ Numpy ͷࢿྉΛఏ‫ͨ͠ڙ‬ɽColaboratory Λ࢖༻ͨ͠‫͔ݧܦ‬Βɼֶश΍։ൃʹ͓͍ͯͦΕΛ࢖༻͢ΔఏҊΛߦͬͨɽ͜ΕΒʹΑΓޮ཰తͳֶशͱ࣮ફ΁ͷద༻Λଅ͢͜ͱ͕Ͱ͖ͨͱࣗෛ͍ͯ͠ΔɽάϧʔϓͰ͸ઃ‫ܭ‬൝ʹॴଐͯ͠։ൃΛߦͬͨɽ։ൃதʹ͸લ‫ʹظ‬΋ߦͬͨ GitɼGitHub ͷ࢖͍͔ͨΛ‫͑ڭ‬ɼ݁Ռ൝һ͕͜ΕΒͷ࢖͍͔ͨΛशಘ͍ͯͬͨ͠ɽ։ൃͰ
͸ΤʔδΣϯτΛޮ཰త͔ͭਖ਼֬ʹಈ࡞͢ΔΑ͏ʹ৺͕͚ͨɽ͜ΕΛ࣮‫͢ݱ‬ΔͨΊʹɼϞσϧ൝ͱͷίϛϡχέʔγϣϯΛ૿΍͠ɼཁ‫͞ٻ‬Ε͍ͯΔಛ௃ྔΛஞҰ֬ೝͨ͠ɽ·ͨɼϞσϧ൝͕࡞੒͠
ͨϞσϧʹ͍ͭͯ‫׆‬ੑԽؔ਺ͳͲৄࡉͳઃ‫͍ͯͭʹܭ‬΋೺Ѳ͢ΔΑ͏ʹ৺ֻ͚ͨɽ‫ݸ‬ਓతͳ൓লͱ
ͯ͠ɼΤʔδΣϯτͷ։ൃʹ͍ͭͯϧʔϧΛઃ͚ͳ͔ͬͨ͜ͱ͕͋Δɽ௨ৗ 2 ਓɼ࠷େͰ΋ 6 ਓͰ‫׆‬ಈ͢ΔͷͰ௨ৗͷձ࿩Ͱे෼ʹಉௐͰ͖ΔͩΖ͏ͱ‫͕͍ͨͯ͡ײ‬ɼ݁Ռͱͯ͠ϓϩάϥϜͷ৑௕ͳ෦෼΍౷Ұੑͷͳ͍෦෼͕ൃੜͯ͠͠·ͬͨɽ͜ΕΛ൓লͱ͠ɼࠓ‫ޙ‬ͷ՝୊ͱ͍ͨ͠ɽ
ʢ˞จ੹: দా‫ݦ‬ʣGroup Report of 2020 SISP

- 32 -

Group Number 12-A

AI Love Deep Learning

7.2

খాதཛྷ

7.2.1

લ‫ظ‬

લ‫ظ‬ͷ‫׆‬ಈΛ௨ͯ͡άϧʔϓϦʔμʔΛ຿Ίͨɽ‫׳‬Εͳ͍໾৬Ͱ͸͕͋ͬͨɼϝϯόʔͱ‫ྗڠ‬͠ɼ౰ॳͷ‫ܭ‬ըΑΓେ෯ʹ஗ΕΔ͜ͱͳ͘ਐߦ͢Δ͜ͱ͕Ͱ͖ͨɽॳΊ͸ਓ࿛஌ೳΛ։ൃ͢Δ͏͑
Ͱඞཁͳ஌ࣝͷशಘɼ‫ߏڥ؀‬ஙʹ౒Ίͨɽ͜ͷ࣌఺Ͱ Java ΍ GitɼGitHub ʹॳΊͯ৮Εɼಋೖʹ͔ͳΓۤઓͨ͠ɽ࣌ؒ͸͔͔͕ͬͨɼάϧʔϓϝϯόʔʹॿ͚ͯ΋Β͍ͳ͕Βಋೖ͢Δ͜ͱ͕Ͱ͖ͨɽͦͷ‫ޙ‬ɼྠಡΛ௨ͯ͡ਓ࿛஌ೳͷΞϧΰϦζϜ΍ਓ࿛஌ೳʹ࢖ΘΕΔ‫ػ‬ցֶशʹֶ͍ͭͯΜͩɽதؒൃදͷ४උͰ͸ɼϓϩδΣΫτͷ֓ཁΛ঺հ͢Δ঺հจΛ࡞੒ͨ͠ɽಉ࣌ฒߦͰਐΊͨϙελʔ൝΍΢ΣϒαΠτ൝ΑΓ΋ૣ͘‫׬‬੒ͨͨ͠Ίɼͦͷ‫ޙ‬͸ Google ϑΥʔϜΛ༻͍ͨධՁαΠτͷ࡞੒΍ɼධՁ୲౰ͷׂΓৼΓΛ͠ɼதؒൃදʹ޲͚ͯ४උʹੵ‫ۃ‬తʹ‫׆‬ಈ͢Δ͜ͱ͕Ͱ͖ͨɽத
ؒൃදͰ͸ɼ࣭ٙԠ౴Λ୲౰ͨ͠ɽධՁʹ͸ɼ࣭໰΁ͷड͚౴͕͑Α͔ͬͨͱͷίϝϯτ΋͋ΓɼϦϋʔαϧͰ࿅शͨ͠௨Γ͔ͬ͠Γͱड͚౴͕͑Ͱ͖ͨͱࢥ͏ɽ
લ‫ظ‬ͷ‫׆‬ಈΛৼΓฦΔͱɼ஌ࣝͷशಘ͕ϝΠϯʹͳͬͯ͠·͍ɼ࣮ࡍʹखΛಈ͔͠ͳ͕Β։ൃ·ͰਐΊΔ͜ͱ͕Ͱ͖ͳ͔ͬͨɽ‫͚ͯ޲ʹظޙ‬։ൃΛਐΊ͍ͯ͘͏͑Ͱɼ͞Βʹϓϩάϥϛϯάͱ‫ػ‬ցֶशʹ͍ͭͯͷཧղΛਂΊ͍ͯ͘ඞཁ͕͋Δɽ
ʢ˞จ੹: খాதཛྷʣ

7.2.2

‫ظޙ‬

‫ظޙ‬΋Ҿ͖ଓ͖άϧʔϓϦʔμʔΛ຿ΊɼϞσϧ൝ͱͯ͠Ϟσϧߏஙͷ࡞‫ۀ‬Λߦͬͨɽ‫ػ‬ցֶशͷϥΠϒϥϦͱͯ͠ Keras Λ࠾༻͠ɼKeras ʹ͍ͭͯͷ஌ࣝΛਂΊͨɽϩάσʔλͷղੳͰ͸ɼ઎͍ࢣ͓Αͼྶഔࢣͷੜଘਓ਺Λൃ‫಺ݴ‬༰΍ࢮ๢ϩά͔ΒಡΈऔͬͯฦ͢ϓϩάϥϜΛ࡞੒ͨ͠ɽ·ͨɼߦಈܾఆϞσϧͰ͸֤ߦಈʹର͢ΔใुͷઃఆΛ‫ݕ‬౼͠ɼҰ෦ϓϩάϥϜΛ࡞੒ͨ͠ɽ͜ΕΒͷ‫׆‬ಈΛ௨ͯ͠ɼχϡʔϥϧωοτϫʔΫ΍‫ڧ‬ԽֶशͳͲσΟʔϓϥʔχϯάʹ͍ͭͯͷ஌ࣝΛਂΊΔ͜ͱ͕Ͱ͖ͨɽ
੒ՌൃදձͰ͸ධՁ୲౰ͷ໊฽࡞੒ɼ౰೔ͷάϧʔϓ֓ཁͷ‫ޱ‬಄ൃද͓Αͼͦͷࢿྉ࡞੒Λ୲౰ͨ͠ɽ೦ೖΓʹϦϋʔαϧΛॏͶɼ౰೔͸໰୊ͳ͘ൃද͢Δ͜ͱ͕Ͱ͖ͨɽ
ϓϩδΣΫτ‫׆‬ಈΛ௨ͯ͡ɼ2 ͭϞσϧΛ‫ͯ͠࢖ۦ‬ઓ͏ΤʔδΣϯτΛ࡞੒͢Δ͜ͱ͸Ͱ͖͕ͨɼࢥ͏Α͏ͳ݁Ռ͕ಘΒΕͣɼνʔϜͰ։ൃ͢Δ͜ͱͷ೉͠͞Λ‫ͨ͡ײ‬ɽ2 ͭͷ൝Ͱಉ࣌ʹ࡞‫ۀ‬ΛਐΊΔ͜ͱʹΑͬͯ͢Εҧ͍͕‫ͱͨͬ͜͜ى‬ɼϝϯόʔؒͷೳྗࠩʹΑͬͯ࡞‫͕ࠩʹྔۀ‬ग़ͯ͠·ͬͨ͜ͱɼ͜ΕΒʹՃ͑εέδϡʔϧ͕஗Ε‫ؾ‬ຯͰ͋ͬͨͱ͍͏શମతͳ‫ݟ‬௨͠ͷ‫ͱ͔ͨͬ͜؁‬ͳͲ͕໰୊఺ͱͯ͠‫͛ڍ‬ΒΕΔɽ͜ΕΒʹର͠ɼϝϯόʔؒͰ΋ͬͱ໖ີͳ৘ใ‫ڞ‬༗΍஌ࣝ‫ڞ‬༗ΛߦͬͨΓɼ͏·͘λεΫΛ෼ࢄͤͨ͞Γ͢ΔͳͲɼάϧʔϓϦʔμʔͱͯ͠ྟ‫ػ‬ԠมʹରԠ͠‫׆‬ಈ͍ͯ͘͠΂͖Ͱ͋ͬͨ͜ͱ͕൓ল఺ͱͯ͠‫͛ڍ‬ΒΕΔɽ։ൃͱͯ͠͸ٕज़తʹࢸΒͳ͍෦෼͕ଟ
͘ɼਐߦखॱ΍‫ܭ‬ըʹ͍ͭͯ։ൃ‫ݧܦ‬΍ٕज़ྗͷ͋Δଞͷϝϯόʔʹ೚ͤΔ͜ͱ͕ଟ͔͕ͬͨɼͦ
ΕͧΕͷϝϯόʔ͕։ൃ୲౰ɼ‫ܭ‬ը୲౰ɼࡶ຿୲౰ͷΑ͏ʹҟͳΔ໾ׂΛ୲౰͠ɼ໾ׂ͕‫ݸ‬ਓʹूத͢Δ͜ͱΛආ͚ɼ࢓ࣄΛ෼ࢄͤ͞Δͱ͍͏‫͔఺؍‬Β͢Ε͹ɼ͜ͷํ๏͸༗༻ͳਐߦํ๏ͷͻͱͭͰ͋ͬͨͱ‫͑ݴ‬Δɽ͔͠͠ɼͦΕ͸౷཰ऀ͋Γ͖ͷ࿩ͰɼϦʔμʔʹ͸͢΂ͯΛ೺Ѳ͠ɼ·ͱΊ্Group Report of 2020 SISP

- 33 -

Group Number 12-A

AI Love Deep Learning͛ΔεΩϧ͕‫ٻ‬ΊΒΕΔͱ‫ͨ͡ײ‬ɽࠓ‫͜ޙ‬ͷΑ͏ͳνʔϜͰ։ൃΛߦ͏Α͏ͳ‫׆‬ಈ͕͋Δࡍʹ͸ɼ͜ͷ൓লΛ‫͍͔ͨ͠׆‬ɽʢ˞จ੹: খాதཛྷʣ

7.3

੢ଜ࿨അ

7.3.1

લ‫ظ‬

Git ΍ Python ͳͲɼ։ൃʹඞཁͳ‫ڥ؀‬ͷߏஙΛߦͬͨɽલ‫ظ‬ͷ‫׆‬ಈ‫ؒظ‬Λ௨͠ɼࢀߟਤॻ [3]ͷྠಡΛߦ͍ɼΤʔδΣϯτ։ൃͷखॱ΍ɼαϙʔτϕΫτϧϚγϯͷֶशΛߦͬͨɽͦΕʹฒߦ͠ɼա‫ڈ‬ͷେձʹग़৔ͨ͠ΤʔδΣϯτͷ໾৬ਪఆ΍ߦಈܾఆʹ࢖ΘΕΔΞϧΰϦζϜͷௐࠪɼ։ൃʹར༻͢Δ‫ػ‬ցֶशͷख๏ͷ‫ݕ‬౼Λߦͬͨɽ7 ݄ʹ͸ɼਓ࿛஌ೳϓϩδΣΫτ͕ओ࠵͢Δਓ࿛஌ೳηϛφʔ 2020 ʹࢀՃͨ͠ɽͦ͜Ͱ໛ٖେձ͕ߦΘΕΔͱ͍͏͜ͱͰɼͦΕ·Ͱʹֶशͨ͜͠ͱ
Λ‫͔͠׆‬ɼগ͠Ͱ΋ࣗ෼ͷΦϦδφϧཁૉ͕‫·ؚ‬ΕͨΤʔδΣϯτΛ։ൃ͠Α͏ͱ͕ͨ͠ɼࣗ෼ͷதͰೲಘ͢Δ΋ͷ͸࡞Εͣɼ݁Ռ΋ৼΔΘͳ͔ͬͨɽͦͷ‫ޙ‬ɼηϛφʔͰֶशͨ͜͠ͱ΍ɼ໛ٖେձͷ݁ՌΛ΋ͱʹɼࠓ‫ޙ‬։ൃΛ͢ΔΤʔδΣϯτͷΞϧΰϦζϜͷ‫ݕ‬౼ΛߦͬͨɽՆ‫ٳق‬Ջऴྃલͷஈ֊Ͱ͸ΞϧΰϦζϜ͕ܾఆ͍ͯ͠ͳ͍ͷͰɼ͔ͬ͠Γͱ‫ݕ‬౼͍͖͍ͯͨ͠ɽதؒൃදͰ͸ɺ΢ΣϒαΠτͷ࡞੒ͱɺ‫ޙ‬൒ͷεϥΠυൃදΛ୲౰ͨ͠ɽલ‫ظ‬Λ௨͠ɼ஌ࣝ΍ٕज़ͷशಘ͕‫׆‬ಈͷओମͰ͋ͬͨɽࣗ෼͸ҙ‫ݟ‬Λड़΂Δ͜ͱ΍ఏҊΛ͢Δ͜ͱ͕গͳ͘ɼάϧʔϓ‫׆‬ಈʹ͋·Γߩ‫Ͱݙ‬͖͍ͯͳ͔ͬͨͷͰ͸ͳ͍͔ɼͱ௧‫͍ͯ͠ײ‬Δɽ‫͔ظޙ‬Β։ൃ͕ओମͱͳΔͷͰɼͦ͜Ͱ͸άϧʔϓΛҾͬு͍͚ͬͯΔΑ͏ɼੵ‫ۃ‬తͳ‫׆‬ಈΛ͍ͨ͠ɽʢ˞จ੹: ੢ଜ࿨അʣ

7.3.2

‫ظޙ‬

‫ظޙ‬͸ɼϞσϧ൝ʹॴଐ͠ɼओʹϞσϧߏஙͷ࡞‫ܞʹۀ‬ΘͬͨɽϩάσʔλͷղੳͰ͸ɼߠఆൃ‫ͱݴ‬൱ఆൃ‫ݴ‬ɼ౤ථมߋ਺ΛಡΈऔΓɼͦΕΒͷ਺ΛϦετʹ֨ೲ͢ΔϓϩάϥϜΛ࡞੒ͨ͠ɽߦ
ಈܾఆϞσϧͰ͸ɼใुͷ‫ݕ‬౼Λߦͬͨଞɼ᱐Γͷ࣮૷ͳͲɼҰ෦ͷϓϩάϥϜͷ࡞੒Λߦͬͨɽ‫ظޙ‬ͷ‫׆‬ಈΛ௨͠ɼ‫ػ‬ցֶशͷ੍࡞ʹؔ͢Δ஌ࣝΛशಘ͢Δ͜ͱ͕Ͱ͖ͨɽ·ͨɼ࿩͠߹͍ͷࡍɼલ‫ͱظ‬ൺ΂ɼൃ‫͢ݴ‬Δ͜ͱ͕ଟ͘ͳΓɼҎલΑΓੵ‫ۃ‬తʹ‫׆‬ಈ͢Δ͜ͱ͕Ͱ͖ΔΑ͏ʹͳͬͨͱ‫ײ‬ͨ͡ɽͦͷҰํͰɼνʔϜͰͷ։ൃͷ‫ͱ͔ͨͬ͜ͳ͕ݧܦ‬ɼ‫ػ‬ցֶशΛ༻͍ͨϓϩάϥϜΛ੍࡞ͨ͠‫͔ͱ͔ͨͬ͜ͳ͕ݧܦ‬Βɼ࿩͠߹͍ͷਐߦ΍ɼ࣠ͱͳΔ෦෼ͷ੍࡞Λଞͷϝϯόʔʹ೚ͤͯ͠·͏͜ͱ͕ଟ͘ͳͬͯ͠·ͬͨɽ·ͨɼཧղ͕௥͍͔ͭͣɼԿ౓΋ಉ͡Α͏ͳ࣭໰Λͯ͠࿩͠߹͍ͷਐߦΛ๦͛ͯ͠·ͬͨ͜ͱ΍ɼPython ͷϓϩάϥϜΛॻ͘͜ͱʹ‫׳‬Ε͓ͯΒͣɼϓϩάϥϜͷ੍࡞ͷࡍɼଞͷϝϯόʔΑΓ΋ଟ͘ͷ࣌ؒΛඅ΍ͯ͠͠·ͬͨ͜ͱͳͲɼνʔϜશମʹ໎࿭Λ͔͚Δ͜ͱ͕ଟ͘ͳͬͯ͠·ͬͨɽ࠷ऴ੒ՌൃදձͰ͸ɼલ൒ύʔτͷ࣭ٙԠ౴Λ୲౰ͨ͠ɽࣄલ४උͱͯ͠૝ఆ࣭໰ΛԿ‫༻͔ݸ‬ҙͨ͠ɽ͔͠͠ɼຊάϧʔϓʹରͯ͠ͷ࣭໰͸૝ఆ֎ͷ΋ͷͰ͋ͬͨɽͦͷࡍɼ͏·ࣗ͘෼Ͱ͸·ͱΊΔ͜ͱ͕Ͱ͖ͣɼଞͷϝϯόʔʹॿ͚सΛग़ͯ͠΋Β͏͜ͱʹͳͬͯ͠·ͬͨɽࠓ‫ޙ‬ɼྟ‫ػ‬ԠมʹରԠ͢ΔྗΛ਎ʹண͚Δ͜ͱ͕ɼඞཁͰ͋Δͱ‫ͨ͡ײ‬ɽ

Group Report of 2020 SISP

- 34 -

Group Number 12-A

AI Love Deep Learning
ʢ˞จ੹: ੢ଜ࿨അʣ

7.4

޻౻ޫ໼

7.4.1

લ‫ظ‬

લ‫ظ‬ͷ‫׆‬ಈͰ͸ྠಡਐߦ୲౰Λ౒Ίͨɽ·ͣɼ஌ࣝ‫ڞ‬༗ͷͨΊʹྠಡ͢ΔࢀߟਤॻΛશһͰ࿩͠߹͍ɼʰਓ࿛஌ೳͰֶͿ AI ϓϩάϥϛϯάʱ[3] Λࢀߟਤॻʹܾఆͨ͠ɽͦͷ‫ޙ‬ɼྠಡͷ୲౰ΛܾΊΔࡍʹ͸ɼ‫׆‬ಈ‫ܭ‬ըͷ೔ఔ΍ɼࢀߟਤॻͷϖʔδͷ·ͱ·ΓΛߟ͑ͳ͕Βɼແཧͷͳ͍ൣғͰྠಡͷ୲౰ΛܾΊɼྠಡΛਐΊΔ͜ͱͰ‫ػ‬ցֶशɼਓ࿛஌ೳʹ͍ͭͯͷ஌ࣝΛਂΊΔ͜ͱ͕Ͱ͖ͨɽ
άϧʔϓશһͰࢀՃͨ͠ਓ࿛஌ೳηϛφʔ 2020 Ͱ͸ɼ࣮ࡍͷϓϩάϥϛϯάΛ௨ͯ͠ɼjava Ͱͷਓ࿛஌ೳͷ։ൃํ๏ΛֶΜͩɽͦͷࡍɼྠಡͰֶΜͩ஌ࣝΛ‫͖ͨͰ͕ͱ͔͜͢׆‬ɽ·ͨɼηϛφʔͷ࠷‫ߦʹޙ‬ΘΕͨ໛ٖઓͰ͸ɼ‫੻ح‬తʹͰ͸͋Δ͕޷੒੷Λ࢒͢͜ͱ͕Ͱ͖ͨɽͦͷଞͷ‫׆‬ಈͱͯ͠ɼதؒൃදձͷ४උͰ͸ɼ΢ΣϒαΠτͷ࡞੒ΛߦͬͨɽGoogleSite ͱ͍͏ Google ͷఏ‫͢ڙ‬ΔαʔϏεΛ༻͍ͯάϧʔϓΛ঺հ͢Δ΢ΣϒϖʔδΛ࡞੒͠ɼσβΠϯͷ໘Ͱͩ͜ΘΔ͜ͱ͕Ͱ͖
ͳ͔͕ͬͨɼάϧʔϓͷ಺༰ɼਓ࿛ήʔϜɼਓ࿛஌ೳϓϩδΣΫτ [1] ʹ͍ͭͯ·ͱΊΔ͜ͱ͕Ͱ͖ͨɽલ‫ظ‬͸৽‫ܕ‬ίϩφ΢ΠϧεͷӨ‫ڹ‬΋͋Γɼશ໘తʹΦϯϥΠϯͰͷ‫׆‬ಈͰ࡞‫͕ۀ‬εϜʔζʹਐ·ͳ͍৔໘͕͍͘Β͔͋ͬͨɽલ‫ظ‬͸஌ࣝ‫ڞ‬༗΍‫ߏڥ؀‬ஙͳͲͷ࡞‫͕ۀ‬ओͰ͕͋ͬͨɼ‫ظޙ‬͸࣮ࡍʹ։ൃͱͳΔɽϓϩάϥϛϯάʹ͸ࣗ਎͕͋ΔͷͰɼ։ൃʹੵ‫ۃ‬తʹऔΓ૊Έɼ஗ΕΛऔΓ໭͍͖͍ͯͨ͠ɽʢ˞จ੹: ޻౻ޫ໼ʣ

7.4.2

‫ظޙ‬

‫Ͱظޙ‬͸Ϟσϧ൝Λ୲౰͠ɼϞσϧߏஙʹؔ͢Δ࡞‫ۀ‬Λߦͬͨɽ࡞‫಺ۀ‬༰ͱͯ͠ɼϩάσʔλͷநग़Ͱ͸ɼPython Λ༻͍ͯ઎͍݁Ռɼඃ઎͍݁ՌͳͲͷ৘ใΛϩάσʔλ͔Βநग़͢Δϓϩάϥ
ϜΛ࡞੒ͨ͠ɽਓ࿛ਪఆϞσϧͷߏஙͰ͸ɼKeras ʹ͍ͭͯͷ஌ࣝΛਂΊͳ͕ΒϞσϧͷߏங࡞‫ۀ‬Λߦ͍ɼͦͷ΄͔ʹਓ࿛ਪఆϞσϧͷग़ྗ෦Ͱඞཁͳਓ࿛૊Έ߹Θͤ ID ͷੜ੒΍ɼ‫׬‬੒ͨ͠ਓ࿛
ਪఆϞσϧͷֶशΛ࣮ߦ͢Δ࡞‫Ͳͳۀ‬΋ߦͬͨɽ·ͨɼ࣮‫ݧ‬తʹ؆қతͳ໾৬ਪఆϞσϧͷ࡞੒΍ɼϝιουͷ࡞੒ͳͲΛߦͬͨɽχϡʔϥϧωοτϫʔΫ΍ Python Λར༻͢Δͷ͸ॳΊͯͩͬͨͨΊɼ࢝Ίͷ͏ͪ͸ίʔυͷ‫ه‬ड़΍ɼχϡʔϥϧωοτϫʔΫͷֶशʹۤ೰͍͕ͯͨ͠ɼঃʑʹ‫͖Ͱ͕ͱ͍ͯ͘͜͠༻׆‬ΔΑ͏ʹͳͬͨɽ‫׬‬੒ͨ͠ΤʔδΣϯτͷউ཰͸͋·Γྑ͍݁ՌΛ࢒͢͜ͱ͕Ͱ͖ͳ͔͕ͬͨɼ͜ͷϓϩδΣΫτ‫׆‬ಈΛ௨ͯ͠ɼάϧʔϓ։ൃ΍ɼ‫ػ‬ցֶशɼχϡʔϥϧωοτϫʔΫͳͲͷ஌ࣝΛਂΊΔ͜ͱ͕Ͱ͖ͨͷͰɼ༗ҙٛͳ‫׆‬ಈͰ͋ͬͨͱ‫͡ײ‬Δɽ
੒ՌൃදձͰ͸ɼ̴̬̱αΠτͷ࡞੒Λ४උͰߦ͍ɼ౰೔ͷ੒ՌൃදձͰ͸εϥΠυΛ༻͍ͯɼൃදΛߦͬͨɽ౰೔͸໰୊ͳ͘ൃද͢Δ͜ͱ͕Ͱ͖͕ͨɼWeb αΠτʹ͍ͭͯ͸‫ݟ‬қ͕͞ߟྀग़
དྷ͍ͯͳ͔ͬͨͱߟ͑Δɽਤ΍ৄࡉͳ৘ใͳͲΛ෼͔Γ΍͘͢·ͱΊ͍ͯͨͭ΋ΓͰ͕͋ͬͨɼ࠷
ऴൃදձͷධՁʹ͓͍ͯɼWeb αΠτ͕‫ͮݟ‬Β͍ɼ಺༰Λ΋ͬͱ·ͱΊͨ΄͏͕ྑ͍ͳͲͷධՁΛड͚ͨɽࠓ‫ޙ‬ͷ՝୊ͱͯ͠ɼWeb αΠτ΍ͦͷଞͷ‫ࣔܝ‬෺Λ࡞੒͢Δࡍʹ͸ɼಡΈखʹߟྀ͠ͳ͕Β࡞੒Ͱ͖ΔΑ͏ʹ౒ྗ͍ͨ͠ɽ

Group Report of 2020 SISP

- 35 -

Group Number 12-A

AI Love Deep Learning‫ظޙ‬͸ɺશ໘ΦϯϥΠϯ‫׆‬ಈͩͬͨલ‫ͱظ‬͸ҧ͍ɺਫ༵೔͸ΦϑϥΠϯɺ༵ۚ೔͸ΦϯϥΠϯͷ
‫׆‬ಈͩͬͨɻલ‫ظ‬ͷ࣌఺Ͱεέδϡʔϧͷաີͱ͍ͬͨ໰୊͕‫ݒ‬೦͞Ε͍͕ͯͨɺશ໘ΦϯϥΠϯ
‫׆‬ಈͩͬͨલ‫ͱظ‬ൺ΂ɼ‫ظޙ‬͸ΦϑϥΠϯ‫׆‬ಈ͕͋ΔͨΊɺεϜʔζʹਐΈεέδϡʔϧͷաີ͕ղফ͞ΕΔͱߟ͑ΒΕ͍ͯͨɻ͔͠͠ɺεέδϡʔϧͷաີΛղফ͢Δ͜ͱ͸Ͱ͖ͳ͔ͬͨͷͰɺΑΓ໖ີͳεέδϡʔϧ؅ཧ͕Ͱ͖Ε͹Α͍ͱࢥͬͨɻ
ʢ˞จ੹: ޻౻ޫ໼ʣ

7.5

্ࠜथ

7.5.1

લ‫ظ‬

લ‫׆ظ‬ಈͷશฤΛ௨ͯ͠ॻ‫ه‬Λ୲౰ͨ͠ɽ‫ه‬࿥ΛͱΔ্Ͱଞऀͷൃ‫ݴ‬ཧղ΍ٕज़ͷ಺༰ཧղΛૉૣ͘ߦ͏ඞཁ͕͋Γɼਂٞ͘࿦ʹूத͢Δ͜ͱ͕Ͱ͖ͨɽ·ͨՄೳͳ‫ݶ‬Γٞ࿦ͷਐߦ͕଺Δ͜ͱΛ๷͙ͨΊɼҙ‫ݟ‬΍ํ޲ੑͷ֬ೝΛൃ͢ΔΑ͏ʹ৺͕͚ͨɽಛʹ‫ݱ‬ঢ়ͷ໰୊఺΍ղܾࡦΛఏࣔ͢Δ͜ͱʹॏ͖Λஔ͍͍ͯͨɽ7 ݄ҎલʹߦΘΕٕͨज़ௐ͓ࠪΑͼशಘʹؔͯ͠͸ɼଞάϧʔϓϝϯόʔͷख͕ಧ͖ʹͦ͘͏ͳ෦෼Λத৺ʹߦͬͨɽ·ͨ Java ΍ Git ͷ‫ߏڥ؀‬ஙʹ͍ͭͯ͸ࣄલ஌ࣝΛ࠷௿‫ݶ‬อ͍࣋ͯͨͨ͠ΊɼαϙʔτʹճΔ͜ͱ͕Ͱ͖ͨɽPython ʹؔͯ͠΋Ն‫ٳق‬ՋΛ௨ͯ͠ɼཧ
ղΛਂΊΔ͜ͱ͕Ͱ͖ͨɽͨͩɼਓ࿛஌ೳηϛφʔ 2020 ʹࢀՃͨ͠ࡍʹɼ։ൃεϐʔυͷ஗͞Λ࣮‫ͨ͠ײ‬ɽ‫׆ظޙ‬ಈΛ௨ͯ͠վળ͍͖͍ͯͨ͠ͱߟ͍͑ͯΔɽଞͷ‫׆‬ಈͱͯ͠ɼதؒൃදͷࡍʹ͸࢘ձਐߦΛߦͬͨɽλΠϜΩʔϐϯάͷࣦഊ͕௧खͰ͕͋ͬͨɼͦΕҎ֎ͷਐߦ͸εϜʔζʹߦ͏͜ͱ͕Ͱ͖ͨɽ
‫ݱ‬ঢ়ͷϓϩδΣΫτਐߦ଎౓͸࣌੎ͷ໰୊͕͋ΕͲɼ΍΍஗Ε‫ؾ‬ຯͰ͋Δͱߟ͓͑ͯΓɼ‫ʹظޙ‬͸ੵ‫ۃ‬తͳ։ൃ࡞‫ۀ‬Λਪ͠ਐΊ͍ͨɽಛʹ۩ମతͳϞσϧબఆ‫ޙ‬ͷௐ੔࡞‫ʹۀ‬ॏ͖Λஔ͘͜ͱΛߟ
͍͑ͯΔɽ࡞‫ͱۀ‬ฒߦͯ͠ɼ༗ޮʹར༻Ͱ͖Δ֤ٕज़ͷߋͳΔशಘʹ΋౒Ί͍ͨɽʢ˞จ੹: ্ࠜथʣ

7.5.2

‫ظޙ‬

‫Ͱظޙ‬͸Ϟσϧ൝ʹׂΓ౰ͯΒΕɼओʹϞσϧͷίʔσΟϯάΛ୲౰ͨ͠ɽಛʹϓϩάϥϜͷॱং෇͚΍෦඼෼ղɼϞσϧຊମ෦Ͱ͋Δ‫ػ‬ցֶश޻ఔͷௐ੔ɼશମͷσόοάΛߦͬͨɽ·֤ͨछϞσϧͷߏஙʹ͓͍ͯɼཧ࿦ͷௐࠪɾϓϩάϥϜͷਖ਼౰ੑͷ‫ྗʹূݕ‬ΛೖΕͨɽϝϯόʔʹର͢ΔϓϩάϥϜ಺༰ͷղઆɾ‫ڞ‬༗΍ɼઃ‫ܭ‬൝ͱͷ࿈‫׆ܞ‬ಈ΋ߦͬͨɽ

5 ਓҎ্ͰͷνʔϜ։ൃͷ‫ݧܦ‬ΛͦΕ΄Ͳ͍࣋ͬͯͳ͔ͬͨ͜ͱ΋͋Γɼଞϝϯόʔͷ‫ه‬ड़ͨ͠ίʔυͱͷॏෳ΍ɼґଘੑͷղܾʹൺֱతେׂ͖͍߹ͷ࣌ؒΛඅ΍ͯ͠͠·ͬͨɽ·ͨಡΈ΍͍͢ίʔσΟϯάΛ৺ֻ͚Δඞཁੑʹؔͯ͠΋ɼ਎Λ΋ͬͯମ‫͢ײ‬Δ͜ͱͱͳͬͨɽߦಈܾఆϞσϧͷ࡞੒ʹ͓͍ͯɼ༗ҙͳ݁ՌΛಋ͖ग़ͤͳ͔ͬͨ͜ͱ͸৺࢒ΓͰ͋Δ͕ʢಛʹྗΛೖΕͯ੡࡞͍ͯ͠
ͨ‫ػ‬ೳͰ͋Δ෼༨‫ʹܭ‬ʣɼਓ࿛ਪఆϞσϧ΍ߦಈܾఆϞσϧͷ࡞੒Λ௨ͯ͠ɼ‫ػ‬ցֶशΛར༻ɾ։
ൃ͢ΔͨΊͷٕज़Λशಘ͢Δ͜ͱ͕Ͱ͖ɼ༗ҙٛͳ‫ͯ͠ͱݧܦ‬஝ੵ͞Εͨͱ‫͡ײ‬Δɽ
੒Ռൃදձʹ͓͍ͯ͸Ϟσϧʹؔ͢Δ࣭ٙԠ౴Λ୲౰ͨ͠ɽࣄલ४උʹ͍ͭͯ͸ൺֱతे෼ʹͰ͖͍ͯͨͱߟ͑Δ͕ɼ૝ఆΛ֎Ε࣭ͨ໰ʹର͢Δྟ‫ػ‬Ԡม͞ʹ͚͍ܽͯͨͱ‫͡ײ‬Δɽࣗ෼ͷதͷ஌ࣝɾཧղΛ҆ఆͯ͠Ҿ͖ग़ͨ͢Ίͷྫྷ੩͞ͷ֫ಘ΍ɼࣄલ૝ఆͷߋͳΔ࿅Γ͜Έ͕՝୊Ͱ͋Δɽ

Group Report of 2020 SISP

- 36 -

Group Number 12-A

AI Love Deep Learning
ʢ˞จ੹: ্ࠜथʣ

7.6

໦ଜߴ೭

7.6.1

લ‫ظ‬

5ɼ6 ݄͸ϓϩδΣΫτΛߦ͏ͨΊͷ‫ߏڥ؀‬ஙʢGitɼGitHubɼJavaɼPython), ࢀߟਤॻͱ͠ʰਓ࿛஌ೳͰֶͿ AI σΟʔϓϥʔχϯάʱ[3] ͷྠಡɾ஌ࣝ‫ڞ‬༗Λߦͬͨ. ‫ߏڥ؀‬ஙͷࡍɼࢲ͸ Git ΍

GitHub ʹ͍ͭͯॳΊͯ஌ͬͨͷͰɼΘ͔Βͳ͍෦෼͸άϧʔϓϝϯόʔʹฉ͍ͯ࡞‫ۀ‬Λߦͬͨɽ
7 ݄ʹ͸ਓ࿛஌ೳηϛφʔʹάϧʔϓશһͰࢀՃ͠ɼJava Ͱͷਓ࿛஌ೳͷ࡞੒ํ๏ͱ Pyhton Ͱͷਓ࿛஌ೳͷ࡞੒ํ๏ΛֶΜͩɽͦͷ‫ޙ‬, ຊάϧʔϓͰ͸ɼPython ͰϓϩάϥϜΛॻ͍͍ͯ͘͜ͱ
͕ܾ·ͬͨɽͦͷͱ͖ɼࢲ͸ Python ʹ͍ͭͯͷ஌͕ࣝͳ͔ͬͨͷͰɼϓϥΠϕʔτͰ Python ͷຊΛҰ࡭ങͬͯษ‫ڧ‬Λ͢Δ͜ͱʹͨ͠ɽࠓ·ͰେֶͰֶश͖ͯͨ͠ϓϩάϥϛϯά‫ڞͱޠݴ‬௨఺΋ଟ͔ͬͨͷͰɼҰिؒ΄ͲͰ Python ͷ಺༰Λ͍͍ͩͨཧղ͢Δ͜ͱ͕ग़དྷͨɽ·ͨ 7 ݄ʹ͸ɼࢀߟਤॻͷྠಡ‫ܧ‬ଓɾա‫ڈ‬ͷਓ࿛஌ೳେձͷϓϩάϥϜΛௐ΂ͨɽલ‫ظ‬͸ίϩφͷӨ‫ڹ‬΋͋Γɼ͢΂ͯͷ‫׆‬ಈ͕ΦϯϥΠϯͰߦΘΕɼ࡞‫͕ۀ‬εϜʔζʹਐ·ͳ͍͜ͱ΋ଟ͍Α͏ʹ‫ͨ͡ײ‬ɽ‫ظޙ‬͸͢΂͕ͯΦϯϥΠϯͱ͍͏Θ͚Ͱͳ͘ɼू·Δ‫ػ‬ձ͕ଟগ͸͋Δͱͷ͜ͱͰɼͦͷ‫ػ‬ձΛ‫͔͠׆‬ɼຊάϧʔϓͷ࠷ऴతͳ໨ඪͰ͋ΔେձͰ͍͍੒੷Λ࢒ͤΔΑ͏ʹ౒Ί͍͖͍ͯͨͱࢥ͏ɽ
ʢ˞จ੹: ໦ଜߴ೭ʣ

7.6.2

‫ظޙ‬

‫Ͱظޙ‬͸ɼલ‫ֶͰظ‬शͨ͜͠ͱΛ‫ʹݩ‬Ϟσϧ൝ͱઃ‫ܭ‬൝ʹ෼͔Εͯɼਓ࿛஌ೳΤʔδΣϯτΛ࣮
૷͢Δ࡞‫ʹۀ‬औΓֻ͔ͬͨɽͦͷࡍɼࢲ͸ઃ‫ܭ‬൝ʹॴଐ͠ɼϞσϧ൝͕࡞੒ͨ͠‫ػ‬ցֶशͷϞσϧΛਓ࿛ΤʔδΣϯτʹదԠͤ͞Δ࡞‫ۀ‬Λߦͬͨɽ͜ͷ࡞‫ۀ‬ͷ۩ମతͳ಺༰ͱͯ͠͸ɼਓ࿛ήʔϜΛߦ͏αʔόʔ͔ΒૹΒΕͯ͘Δൃ‫ݴ‬ɾߦಈͳͲͷϩάσʔλͷऩूɼऩूͨ͠ϩάσʔλ͔Βੜଘਓ਺΍ؔ܎ੑͳͲͷղੳɼղੳ݁ՌΛಛ௃ྔͱͯ͠ਓ࿛ਪఆϞσϧ͕ಡΈࠐΊΔ‫΁ࣜܗ‬ͷม‫׵‬ɼߦಈܾఆϞσϧʹ౉͢ಛ௃ྔͷऩूɾղੳɾม‫׵‬ɺߦಈܾఆϞσϧͷग़ྗ͔Β࣮ࡍʹߦಈΛߦ͏ॲཧͰ͋ͬͨɽ͜ΕΒͷ࡞‫ۀ‬Λߦ͏લʹɼpandas ΍ Keras ʹ͍ͭͯͷ஌͕ࣝͳ͔ͬͨͷͰɼpandas ͱ

Keras ͷษ‫ڧ‬Λߦͬͨɽ‫ظޙ‬ͷ੒ՌൃදͰ͸ɺ࢘ձΛ୲౰ͨ͠ɽલ‫Ͱظ‬΋࢘ձΛ΍͍ͬͯͨ͜ͱ΋͋Γɺ͍͍ͩͨউख͕
෼͔͍ͬͯͨͷͰ໰୊ͳ͘ਐߦग़དྷ͍ͯͨͱࢥ͏ɽ
·ͨɼࢲ͸ϓϩάϥϛϯά͕͋·ΓಘҙͳํͰ͸ͳ͔ͬͨͷͰɼϓϩάϥϜΛॻ͘ͷʹ͕͔͔࣌ؒΓɼ‫׆‬ಈ࣌ؒ಺ʹऴΘΒͳ͍͜ͱ΋ଟʑ͋ͬͨɽͦΕΛิ͏ͨΊʹ౔೔ʹ࡞‫ۀ‬Λߦ͍ͬͯͨɽࠓ
ճͷઃ‫ܭ‬൝Ͱͷ࡞‫ۀ‬Λ௨ͯ͠ɼͲͷΑ͏ͳաఔͰϓϩάϥϜΛॻ͍ͯߦ͚͹Α͍ͷ͔Λཧղ͢Δ͜
ͱ͕Ͱ͖ɼࠓճͷ‫ݧܦ‬͸ࠓ‫͍͖ͯ͘׆ʹޙ‬΋ͷͩͱ‫ͨ͡ײ‬ɽʢ˞จ੹: ໦ଜߴ೭ʣ

Group Report of 2020 SISP

- 37 -

Group Number 12-A

AI Love Deep Learning

ୈ8ষ
8.1

·ͱΊ

ϓϩδΣΫτ‫׆‬ಈͷ੒Ռલ‫ظ‬ͷϓϩδΣΫτ‫׆‬ಈͰ͸ɼਓ࿛஌ೳΤʔδΣϯτͷߏ੒ͷ࢓ํ΍‫ػ‬ցֶशશൠͷ‫ૅج‬஌ࣝΛࢀߟਤॻʢʰਓ࿛஌ೳͰֶͿ AI ϓϩάϥϛϯάʱ[3]ʣͷྠಡͰͷ஌ࣝ‫ڞ‬༗ɼਓ࿛஌ೳΛ࡞੒͢Δ͏
͑ͰඞཁͱͳΔ‫ߏڥ؀‬ஙʢJava ‫ޠݴ‬ɺPython ‫ޠݴ‬ɼGitɺGitHub ͷಋೖʣΛߦͬͨɽ·ͨɼਓ࿛஌ೳϓϩδΣΫτ [1] ओ࠵ͷਓ࿛஌ೳηϛφʔ 2020 ʹࢀՃ͠ɼ‫ج‬ຊతͳਓ࿛஌ೳΤʔδΣϯτͷ
࡞੒ํ๏ɼJava ͱ Python Ͱͷ։ൃํ๏ΛֶΜͩɽͦ͜Ͱɼ‫ࡏݱ‬͸໾৬ਪఆʹ‫ػ‬ցֶशΛ౥ࡌͨ͠ɼߦಈܾఆΛϧʔϧϕʔεͰߦ͏ΤʔδΣϯτ͕ओྲྀͰ͋Δ͜ͱΛ஌ͬͨɽࠓ‫ޙ‬ͷํ਑ͱͯ͠ɼ
ΤʔδΣϯτ࡞੒ʹ࢖༻͢Δ‫ ͯ͠ͱޠݴ‬Python ‫ޠݴ‬Λ༻͍Δ͜ͱɼΤʔδΣϯτͷߦಈܾఆʹ‫ػ‬ցֶशͷ൑அΛಋೖ͢Δ͜ͱ‫ػͼٴ‬ցֶशϞσϧʹ͸χϡʔϥϧωοτϫʔΫΛ༻͍Δ͜ͱΛܾఆͨ͠ɽதؒൃදͰ͸൓ল఺ͱͯ͠ɼZoom Ͱͷը໘‫ڞ‬༗͕͏·͍͔͘ͳ͔ͬͨ఺ɼಈը͕ͳ͍ͨΊ۩ମతͳΠϝʔδ͕͠ʹ͔ͬͨ͘఺ɼਓ࿛஌ೳେձͷઆ໌͕ৄ͘͠͞Ε͍ͯͳ͔ͬͨ఺ɼ‫׆‬ಈ಺༰͕Θ͔Γʹ͔ͬͨ͘఺ͳͲ‫ൃظޙ‬දͰ‫͔ͤ׆‬Δଟ਺ͷϑΟʔυόοΫΛ΋Βͬͨɽ‫ظޙ‬ͷϓϩδΣΫτ‫׆‬ಈͰ͸ɼϞσϧ൝ͱઃ‫ܭ‬൝ʹ෼͔Εɼਓ࿛஌ೳΤʔδΣϯτͷ࣮૷ʹऔΓֻ͔ͬͨɽϞσϧ൝͸ɼχϡʔϥϧωοτϫʔΫΛ༻͍ͨਓ࿛ਪఆϞσϧ΍ DQN(Deep ɹ

Q-Network) Λ༻͍ͨߦಈܾఆϞσϧͷ࣮૷Λߦͬͨɽͦͷ۩ମతͳ‫׆‬ಈͱͯ͠͸ϩά͔Βֶशσʔλͷநग़ɼਓ࿛ਪఆϞσϧͷ࣮૷ɼߦಈܾఆϞσϧͷ࣮૷Ͱ͋Δɽϩά͔Βֶशσʔλͷநग़͸ɼա‫ʹڈ‬։࠵͞Εͨਓ࿛஌ೳେձͷϩάσʔλ͔Βɼֶशʹඞཁͦ͏ͳಛ௃ྔͱͯ͠ɼ೔෇ɼ
ੜଘऀ਺ɼ઎͍ࢣ਺ɼྶഔࢣ਺ɼ઎͍ࢣ CO ঢ়‫گ‬ɼྶഔࢣ CO ঢ়‫گ‬ɼ઎͍݁Ռɼߠఆൃ࿩਺ɼ൱
ఆൃ࿩਺ɼ౤ථมߋ਺ͷநग़Λߦͬͨɽਓ࿛ਪఆϞσϧ͸ Python ͷ‫ػ‬ցֶशϥΠϒϥϦͰ͋Δ

Keras Λ༻͍ͯχϡʔϥϧωοτϫʔΫͷϞσϧΛߏங͠ɼͦͷ‫׬‬੒ͨ͠χϡʔϥϧωοτϫʔΫʹɼϩά͔Βநग़ֶͨ͠शσʔλͱਖ਼ղσʔλʢ୭͕ਓ࿛Ͱ͋Δ͔ʣΛར༻ֶͯ͠शΛߦͬͨɽͦ
ͷ݁Ռͱͯ͠ɼ࠷େ 15 ਓͷਓ࿛ήʔϜʹ͓͍ͯɼਓ࿛ਪఆͷਫ਼౓͕ 63 ˋఔ౓ͷ΋ͷ͕‫׬‬੒ͨ͠ɽߦಈܾఆϞσϧ͸ɼਓ࿛ਪఆϞσϧ΍αʔόʔ͔ΒૹΒΕͯ͘ΔήʔϜͷ৘ใ͔Β DQN(Deep ɹ

Q-Network) Λ༻͍ͯ࠷దͳߦಈΛܾఆ͢ΔΤʔδΣϯτΛ࡞੒͕ͨ͠ɼͦͷΤʔδΣϯτ͸উ཰43.3 ˋͱϥϯμϜʹߦಈΛબ୒ͨ͠΋ͷͱେࠩͳ͍݁Ռʹͳͬͨɽͦͷ‫ݪ‬Ҽͱͯ͠ɼಛ௃ྔͷෆ଍ɼֶशճ਺ͷෆ଍ɼߦಈͱͦΕʹର͢Δใुͷଟ༷Խ͕‫͛ڍ‬ΒΕɼͦͷվળҊͱͯ͠ɼϞσϧͷઃ‫ܭ‬ͷ‫ݟ‬௚͠ɼຖճಉ͡ର৅ʹಉ͡ߦಈΛ͍ͯ͠Δ͜ͱʹରͯ͠ෛͷใुΛ༩͑ͯվળͷࢼΈɼֶशճ਺ͷ૿Ճ͕ඞཁͰ͋Δͱߟ࡯ͨ͠ɽ·ͨɼઃ‫ܭ‬൝͸ࣄલ४උͱͯ͠ɼpandasɼKeras ͳͲͷPython ͱ‫ػ‬ցֶशʹ͍ͭͯͷௐࠪͱֶशΛߦ͍ɼͦͷ‫ޙ‬ɼਓ࿛ΤʔδΣϯτʹ‫ػ‬ցֶशΛద༻͞
ͤΔ࡞‫ۀ‬Λߦͬͨɽͦͷ۩ମతͳ࡞‫ͯ͠ͱۀ‬ɼਓ࿛ήʔϜΛߦ͏αʔόʔ͔ΒૹΒΕͯ͘Δൃ‫ݴ‬ɾߦಈͳͲͷϩάσʔλͷऩूɼऩूͨ͠ϩάσʔλ͔Βੜଘਓ਺΍ؔ܎ੑͳͲͷղੳɼղੳ݁ՌΛಛ௃ྔͱͯ͠ਓ࿛ਪఆϞσϧ͕ಡΈࠐΊΔ‫΁ࣜܗ‬ͷม‫׵‬ɼߦಈܾఆϞσϧʹ౉͢ಛ௃ྔͷऩूɾղੳɾม‫׵‬ɼߦಈܾఆϞσϧͷग़ྗ͔Β࣮ࡍʹߦಈΛͱΔॲཧΛߦͬͨɽʢ˞จ੹: ໦ଜߴ೭ʣ

Group Report of 2020 SISP

- 38 -

Group Number 12-A

AI Love Deep Learning

8.2

վળ఺

9 ݄‫Ͱࡏݱ‬ͷ໰୊఺͸ɼPython ͰͷΤʔδΣϯτ࡞੒ͷ࡞‫΅΄͕ۀ‬શ͘ਐߦ͍ͯ͠ͳ͍͜ͱͰ
͋Δɽ‫ظޙ‬͸͜Ε͕ओͳ‫׆‬ಈ಺༰ͱͳΔ͕ɼ࢒͍ͬͯΔ‫׆‬ಈ‫ؒظ‬͸͋·Γ௕͘ͳ͍͜ͱɼࡉ͔ͳௐ
੔Λߦ͏ඞཁ͕͋Δ͜ͱΛߟ͑Δͱɼ‫ٸ‬଎ʹϓϩτλΠϓ࡞੒ͷ࡞‫ۀ‬ΛਐΊΔඞཁ͕͋Δɽεέδϡʔϧͷ޻෉ɾվળ΍ɼٙ໰఺ͷ‫ڞ‬༗΍લఏͷ͢Γ߹Θͤɼపఈͨ͠໾ׂ෼୲Λߦ͏͜ͱʹΑΓɼεϜʔζʹ࡞‫ۀ‬ΛਐΊΔ͜ͱ͕๬·ΕΔɽ࣌ؒʹ༨༟͕Ͱ͖࣍ୈɼΤʔδΣϯτͷಈ࡞Λࢹ֮తʹप஌ͤ͞Δ͜ͱͷͰ͖Δ࢓૊Έ΍ਤղͷ࡞੒Λߦ͏͜ͱ΋๬·͍͠ɽ·ͨɼ‫ػ‬ցֶशϞσϧʹ͸ɼχϡʔϥϧωοτϫʔΫ͕༻͍ΒΕΔ͜ͱ͕ܾఆ͍ͯ͠Δ͕ɼ౰ॳͷ‫ʹࣜܗ‬नΘΕͣɼྟ‫ػ‬ԠมʹϞσϧΛબ୒͢Δ༧ఆͰ͋Δɽ‫ʹظޙ‬͸ΤʔδΣϯτ͕‫׬‬੒ͨ͠ɽਓ࿛ͷਪఆʹ͍ͭͯ͸ɼࡉ͔͍ௐ੔΍ɼೖྗͷಛ௃ྔΛ૿΍͢͜ͱͰ͞Βʹਫ਼౓ͷ޲্͕‫·ࠐݟ‬ΕΔɽߦಈܾఆʹ͍ͭͯ͸ɼϥϯμϜʹߦಈΛબ୒ͨ͠΋ͷͱউ཰͕େࠩͳ͔ͬͨɽ‫ݪ‬Ҽͱͯ͠ɼಛ௃ྔͷෆ଍ɼֶशճ਺ͷෆ଍ɼߦಈͱͦΕʹର͢Δใुͷଟ༷Խ͕‫͛ڍ‬ΒΕͨɽͦΕΛ΋ͱʹɼϞσϧͷઃ‫ܭ‬ͷ‫ݟ‬௚͠ɼຖճಉ͡ର৅ʹಉ͡ߦಈΛ͍ͯ͠Δ͜ͱʹରͯ͠ෛͷใुΛ༩͑Δɼֶशճ਺Λ૿΍͢ͳͲͷվળ͕ඞཁͰ͋Δͱߟ࡯ͨ͠ɽ
‫ظޙ‬ͷάϧʔϓ‫׆‬ಈʹ͓͚Δ໰୊఺ͱͯ͠ɼ։ൃεέδϡʔϧͷաີ͕‫͛ݓ‬ΒΕΔɽલ‫ʹظ‬։ൃ‫ڥ؀‬ͷߏஙʹ૝ఆҎ্ͷ࣌ؒΛඅ΍ͯ͠͠·ͬͨ͜ͱ͕ओͳ‫ݪ‬ҼͰ͋Δͱߟ͑ΒΕΔɽલ‫ظ‬͸શ໘ΦϯϥΠϯͰͷ‫׆‬ಈͰ͋ΓɼεϜʔζʹ࡞‫ۀ‬ΛਐΊΔͷ͸ൺֱతࠔ೉ͳঢ়‫ͱͨͬ͋Ͱگ‬͸͍͑ɼஞҰ֤ϝϯόʔͷਐߦঢ়‫گ‬Λ֬ೝ͢ΔͳͲͰ։ൃ‫ڥ؀‬ͷߏஙʹ͔͔Δ࣌ؒΛ‫ݮ‬Β͠ɼ։ൃ࡞‫͋ʹۀ‬Δఔ౓ΏͱΓΛ࣋ͨͤΔ͜ͱ͕Մೳͩͬͨͱߟ͑Δɽ·ͨɼεέδϡʔϧͷաີʹΑͬͯҾ͖‫͜͞ى‬Εͨ໰୊΋ଟൃͨ͠ɽΤʔδΣϯτͷ։ൃΛߦ͏ࡍɼϧʔϧΛઃ͚ͣʹ։ൃΛਐΊͯ͠·ͬͨ݁ՌɼϓϩάϥϜͷ౷Ұੑ͕ͳ͍෦෼͕ൃੜͨ͠ɽͦ
ΕʹΑΓɼϞσϧ൝ͱઃ‫ܭ‬൝ͷؒͰ৘ใ‫ڞ‬༗Λ͢Δࡍʹɼ͓‫͍ޓ‬ͷ੍࡞͍ͯ͠ΔϓϩάϥϜΛཧղ͢Δͷʹ͕͔͔࣌ؒͬͯ͠·ͬͨɽ·ͨɼ౷߹ͷࡍɼগ͠खؒऔΔ͜ͱʹͳͬͯ͠·ͬͨɽ͜ΕΒͷ൝෼͚ʹΑΔ໰୊఺͸ɼ࣌ؒΛ͔͚ͯάϧʔϓશମͰ࿩͠߹͍ɼϧʔϧΛઃ͚Δ͜ͱͳͲʹΑͬͯɼղܾ͢Δ͜ͱ͕ՄೳͰ͋Δɽ·ͨɼෳ਺ͷΤʔδΣϯτΛ੍࡞ͯ͠ൺֱͳͲɼ౰ॳ༧ఆ͍ͯ͠
ͨ࡞‫͕ۀ‬നࢴԽ͞Εͨ͜ͱ΍ɼ2 ͭͷϞσϧͷੑೳΞοϓʹඞཁͳ࣌ؒΛͱΔ͜ͱ͕Ͱ͖ͳ͔ͬͨɼ
ͱ͍ͬͨࣄଶ΋ൃੜͨ͠ɽ͜ΕΒ΋εέδϡʔϧͷաີʹΑͬͯ‫ͨͬ͜ى‬໰୊Ͱ͋Δͱ͍͑Δɽ΍͸Γɼલ‫ظ‬ͷஈ֊Ͱɼ࣌ؒʹΏͱΓΛ΋ͬͯ։ൃʹऔΓ૊Ή‫ݟ‬௨͠Λཱ͍ͯͯΕ͹ɼ౰ॳͷ༧ఆ௨Γ։ൃΛߦ͏͜ͱ͕Ͱ͖ͨͱߟ͑ΒΕΔɽ
ʢ˞จ੹: ੢ଜ࿨അʣ

Group Report of 2020 SISP

- 39 -

Group Number 12-A

AI Love Deep Learningࢀߟจ‫ݙ‬[1] ਓ࿛஌ೳϓϩδΣΫτެࣜαΠτ. http://aiwolf.org/. (Accessed on 17/09/2020).
[2] ৘ใॲཧֶձ. ίϯϐϡʔλক‫ع‬ϓϩδΣΫτͷऴྃએ‫ݴ‬. http://www.ipsj.or.jp/
50anv/shogi/20151011.html. (Accessed on 17/09/2020).
[3] ङ໺๕৳, େ௬‫࢜ګ‬, Ԃాѥేເ, தా༸ฏ, ຳྠफ़, ௗւෆೋ෉ (ஶ), ਓ࿛஌ೳϓϩδΣΫτ
(‫؂‬म). ਓ࿛஌ೳͰֶͿ AI ϓϩάϥϛϯά. ϚΠφϏग़൛, 2017.
[4] Ҵ༿௨ক, ย্େี, ङ໺๕৳, େ௬‫ࢤګ‬. ਓ࿛஌ೳͱෆ‫׬‬શ৘ใήʔϜ. ਓ޻஌ೳ, Vol. 34,
No. 6, pp. 876–880, nov 2019.
[5] Keras documentation. https://keras.io/ja/. (Accessed on 10/2020).
[6] Chainer tutorial 11. pandas ೖ ໳.

https://tutorials.chainer.org/ja/11\_Introduction\_to\_Pandas.html. (Accessed on 10/2020).
[7] Aiwolfpy v0.4.9. https://www.slideshare.net/HaradaKei/aiwolfpy-v049. (Accessedon 10/2020 - 12/2020).
[8] Aiwolfpy. https://github.com/aiwolf/AIWolfPy. (Accessed on 10/2020).
[9] ֿ‫ޗ݈ݪ‬, ௗւෆೋ෉, Ҵ༿௨ক, େᖒതོ, ย্େี, ࣰా޹༞, দ‫ݪ‬ਔ, ङ໺๕৳. ਓ࿛஌ೳେձʹ͓͚Δ౷‫ܭ‬෼ੳͱ svm Λ༻͍ͨਓ࿛ਪఆΛߦ͏ΤʔδΣϯτͷઃ‫ܭ‬. ਓ޻஌ೳֶձશ
ࠃେձ࿦จू, Vol. JSAI2016, pp. 2F41–2F41, 2016.

[10] େ઒‫و‬੟, ٢஥྄, ࣰ‫ݪ‬า. ਂ૚ֶशΛ༻͍ͯ໾৬ਪఆΛߦ͏ਓ࿛஌ೳΤʔδΣϯτͷ։ൃ.
ήʔϜϓϩάϥϛϯάϫʔΫγϣοϓ 2017 ࿦จू, No. 2017, pp. 50–55, nov 2017.

[11] DQN ͷཧ࿦આ໌. https://www.renom.jp/ja/notebooks/tutorial/reinforcement_
learning/DQN-theory/notebook.html. (Accessed on 10/2021).

Group Report of 2020 SISP

- 40 -

Group Number 12-A