Quantcast
Channel: Codemiles.com Programming Forums - All Topics
Viewing all articles
Browse latest Browse all 36

Kmeans Clustering - Unsupervised Learning

$
0
0
In this example, we apply the unsupervised learning concept using the kmeans clustering. We apply the Kmean algorithm on the breast cancer dataset from sklearn.

[code2=python] #https://jupyter.org/try
#Demo5
#M. S. Rakha, Ph.D.
# Post-Doctoral - Queen's University
# UnSupervised Learning - Clustering Kmeans
# Kmeans Clustering
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt

from mpl_toolkits.mplot3d import Axes3D
import pandas as pd
from sklearn.cluster import
...

Attachments Image.png
Image.png [ 33.49 KiB | Viewed 622 times ]


Statistics : Posted by DrRakha • on Mon Oct 28, 2019 6:11 am • Replies 0 • Views 622

Viewing all articles
Browse latest Browse all 36

Trending Articles