教師あり学習と教師なし学習
ラベルなしで学習する
「教師あり学習と教師なし学習」はCoddyKit上の無料Data Science Academyレッスンです。 これはレッスン1/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはData Science Academy学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Data Science Academyコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
Two Ways to Learn
Machine learning splits into two big families: supervised learning, which uses labeled answers, and unsupervised learning, which does not. 🧭
Labels Are the Key
In supervised learning, every row carries a known label, the correct answer the model tries to predict for new data.
Learning From Examples
Supervised models study pairs of inputs and labels, then generalize that mapping to predict labels they have never seen.
No Answers Provided
Unsupervised learning has no labels at all. The algorithm must find structure in the data on its own, with nothing telling it what is right.
Clustering Finds Groups
The most common unsupervised task is clustering: grouping similar rows together so that natural segments emerge from raw data.
Similarity Drives It
Clustering decides who belongs together using a measure of distance, like Euclidean distance between feature values.
A Familiar Example
Sorting shoppers into segments by what they buy, with no preset categories, is classic clustering in action.
You Cannot Just Score It
Without labels, there is no simple accuracy to check. You judge clusters by how cohesive and well separated they are.
Same Data, Different Goal
The same table can feed either approach: add a target column for supervised work, or hold it back to let structure reveal itself.
Where Each Shines
Reach for supervised learning when you have a clear answer to predict; choose unsupervised when you want to explore unknown patterns.
It Lives in scikit-learn
Both families share one library. Clustering tools sit under sklearn.cluster, ready alongside the classifiers you already know.
from sklearn.cluster import KMeansQuick Check
Let us pin down what makes a task unsupervised.
Recap
Supervised learning predicts known labels; unsupervised learning, like clustering, discovers hidden groups when no labels exist. 🎯
よくある質問
「教師あり学習と教師なし学習」レッスンは無料ですか?
はい。「教師あり学習と教師なし学習」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Data Science Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Data Science Academyコースには全4レッスンが含まれています。
「教師あり学習と教師なし学習」で何を学びますか?
ラベルなしで学習する ブラウザで直接実行するハンズオンコードでData Science Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
Data Science Academyを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのData Science Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン1/4です。
「教師あり学習と教師なし学習」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このData Science Academyレッスンでコードを書いて実行できますか?
はい。すべてのData Science Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- 教師あり学習と教師なし学習
- k-Meansとkの選び方
- 階層的クラスタリングとDBSCAN
- クラスターを分析して名前を付ける