Page 354 - AI_Ver_3.0_class_11
P. 354
This program does the following:
1. Generates synthetic data using make_blobs from sklearn.datasets.
2. Applies K-means clustering with n_clusters=4.
3. Plots the data points colored by their cluster assignments and shows the centroids as red circles.
You can adjust the parameters like the number of clusters, standard deviation, and number of samples in make_
blobs to observe different clustering scenarios.
Reboot
1. Which type of Machine Learning uses labelled data?
2. Which two types of Machine Learning do not require supervision?
3. Which ML is reward-based?
4. Which type of ML is used by Netflix’s recommender systems?
5. A robot learns to walk on its own. Which type of ML is this?
#Experiential Learning
Task
Check out the website https://lipsync.withyoutube.com/
An AI-powered challenge that rates how closely your lip-syncing matches the song! This experiment uses
Google’s AI technology TensorFlow.js. The TensorFlow model provides a real-time high-density estimate of key
points of your facial expression using only a webcam. Through machine learning in your browser, the key points
around the mouth and lips are analysed to estimate how well you synchrosise to the lyrics of the song!
At a Glance
• Machine learning is an application of Artificial Intelligence (AI) that enables systems to learn and improve
automatically from experience without the need for explicit programming.
• Machine learning can be broadly categorised into three main types based on the learning approach and input
data: Supervised Learning, Unsupervised Learning and Reinforcement Learning.
352 Touchpad Artificial Intelligence (Ver. 3.0)-XI

