半年ぶりの TryHackMe で Advent of Cyber 2023 に挑む 14日目【Advent of Cyber: Day 14】

14日目。

[Day 14] The Little Machine That Wanted to Learn

What is the other term given for Artificial Intelligence or the subset of AI meant to teach computers how humans think or nature works?

解説本文を読む。"AI" の部分集合的なものとして "Machine Learning" の説明がなされている。

What ML structure aims to mimic the process of natural selection and evolution?

Genetic algorithm の説明そのまま。

What is the name of the learning style that makes use of labelled data to train an ML structure?

解説本文には 2 つの学習方法が書かれている。Supervised learning は教師あり学習、Unsupervised learning は教師なし学習のこと。

What is the name of the layer between the Input and Output layers of a Neural Network?

正解は "Hidden layer"。日本語でいう隠れ層。

What is the name of the process used to provide feedback to the Neural Network on how close its prediction was?

正解は "Back-Propagation"。日本語でいう誤差逆伝播法。

What is the value of the flag you received after achieving more than 90% accuracy on your submitted predictions?

まずは解説の通りに detector.py を編集していく。編集が終わったらターミナルを開いて実行する。処理が終了すると同じディレクトリに predictions.txt が作成されているのがわかる。

次にこれをアップロードするためのサイト(http://websiteforpredictions.thm:8000/)が用意されているので、Firefox を開いてアップロードする。

detector.py 実行時に表示される Network Accuracy が 90% 以上であればフラグが得られる。

感想

機械学習は微妙に苦手意識があるので身構えたが、やってみれば知ってることばかりでとりあえず一安心。Python を用いた機械学習については 斎藤康毅 さんの『ゼロから作る Deep Learning』が非っっっ常にわかりやすく、内容も今回やったものとかぶりまくっている。よくわからなかった、という人は読んでみるといいと思う。

www.oreilly.co.jp