# 機械学習入門

* 科目名：機械学習発展
* 開講時期：3年次 前期-前半
* 日時：月曜4コマ（14:40-16:10）
* 担当教員：[山本 祐輔](https://hontolab.org/)（名古屋市立大学 大学院データサイエンス研究科 准教授）

この資料は，名古屋市立大学データサイエンス学部において開講されている講義「機械学習発展」の前半パート用に作成されたものです．
前半パートでは，機械学習の基礎を直感的かつ実践的に学びます．

## 成績評価
レポート課題


## 講義コンテンツ
山本担当パートでは，以下の資料を配布・公開します．
* 講義のPowerPointスライド
* Hands-onセッションのためのJupyterノートブック
* クイズのためのGoogle Colabノートブック


## 演習環境
本講義のHands-onセッションでは，講義内で解説した様々な機械学習手法について，Pythonを用いて体験します．

Pythonの実行環境として[JupyterLab](https://jupyter.org/)もしくは[Google Colaboratory](https://colab.research.google.com/)を利用します．
Google Colaboratoryはウェブサイト上で動作するため，PC/Mac上に事前にソフトウェアをインストールする必要はありません．
ただし，Google Colaboratoryを利用するためには，Googleアカウントが必要となります．
Googleアカウントを持っていない学生は，授業までに取得しておいてください．


## 授業計画とコンテンツ
| |  日時  | トピック | スライド資料 | Hands-on | クイズ | クイズ解答 |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| 1 | 04/13 | ガイダンス | [Speaker Deck](https://speakerdeck.com/trycycle/ml-lecture-01-guidance) | - | - | - |
| 2 | 04/20 | pandas入門 | [SpeakerDeck](https://speakerdeck.com/trycycle/ml-lecture-02-pandas) | [Here](content/introduction-to-pandas.ipynb) | [Google Colab](https://colab.research.google.com/github/hontolab-courses/ml-lecturenote/blob/main/content/quiz/introduction-to-pandas.ipynb) | [Here](content/quiz/answer/introduction-to-pandas.ipynb) |
| 3 | 04/27 | 決定木からはじめる機械学習 | [SpeakerDeck](https://speakerdeck.com/trycycle/ml-lecture-03-decision-tree) | [Here](content/introduction-to-ml.ipynb) | [Google Colab](https://colab.research.google.com/github/hontolab-courses/ml-lecturenote/blob/main/content/quiz/introduction-to-ml.ipynb) | [Here](content/quiz/answer/introduction-to-ml.ipynb) |
| 4 | 05/11 | クラスタリング1: K-means & 階層的クラスタリング | [SpeakerDeck](https://speakerdeck.com/trycycle/ml-lecture-04-clustering-1) | [Here](content/kmeans-and-hierarchical-clustering.ipynb) | [Google Colab](https://colab.research.google.com/github/hontolab-courses/ml-lecturenote/blob/main/content/quiz/kmeans-and-hierarchical-clustering.ipynb) | [Here](content/quiz/answer/kmeans-and-hierarchical-clustering.ipynb) |
| 5 | 05/18 | クラスタリング2：密度ベースクラスタリング | [SpeakerDeck](https://speakerdeck.com/trycycle/ml-lecture-05-clustering-2) | [Here](content/dbscan-and-others.ipynb) | [Google Colab](https://colab.research.google.com/github/hontolab-courses/ml-lecturenote/blob/main/content/quiz/dbscan-and-others.ipynb) | [Here](content/quiz/answer/dbscan-and-others.ipynb) |
| 6 | 05/25 | 分類1: K近傍法 & 教師あり機械学習のお作法 | [SpeakerDeck](https://speakerdeck.com/trycycle/ml-lecture-06-knn) | [Here](content/knn-and-ml-flow.ipynb) | [Google Colab](https://colab.research.google.com/github/hontolab-courses/ml-lecturenote/blob/main/content/quiz/knn-and-ml-flow.ipynb) | [Here](content/quiz/answer/knn-and-ml-flow.ipynb) |
| 7 | 06/01 | 分類2: サポートベクターマシン | [SpeakerDeck](https://speakerdeck.com/trycycle/ml-lecture-07-svm) | [Here](content/svm.ipynb) | [Google Colab](https://colab.research.google.com/github/hontolab-courses/ml-lecturenote/blob/main/content/quiz/svm.ipynb) | [Here](content/quiz/answer/svm.ipynb) |
| 8 | 06/08 | 分類3: ニューラルネットワーク入門 | [SpeakerDeck](https://speakerdeck.com/trycycle/ml-lecture-08-neural-network) | [Here](content/neural-network.ipynb) | [Google Colab](https://colab.research.google.com/github/hontolab-courses/ml-lecturenote/blob/main/content/quiz/neural-network.ipynb) | [Here](content/quiz/answer/neural-network.ipynb) |


## レポート課題
- 課題内容: [コチラのPDFファイル](https://bit.ly/4xaJK37)に記載（パスワードは学務情報システム経由でお知らせします）．
- 締め切り: 2026年7月6日（月）
- 提出先: 学務情報システム
- 提出形式
    - [指定したテンプレートファイル（Wordファイル）](https://b.hontolab.org/4kW0jJg)を用いて解答を作成すること
    - 提出時にはWordファイルをPDFファイルに変換すること
