That is so scary!
SUBSCRIBE and click the BELL 🔔to Never Miss an Upload! http://bit.ly/SubscribeJFL
🤣Check out our latest funny pranks: https://www.youtube.com/watch?v=1S9cQ_rvXrQ&list=PLCL1mm9mxsAKOBd-61n2tbtQ1UdFiMFcB
Welcome to the world-famous Just for Laughs Gags, we’ve been playing silly pranks on unsuspecting people in public and capturing hilarious reactions with hidden cameras.
#justforlaughs #pranks #gags #comedy #funny #funnyvideo
source
Just for….idiots ⛔
Ex. 8EM Algorithm and K-Means Algorithm
Aim: To apply EM algorithm to cluster a set of data stored in a .csv file. Use the same dataset for
clustering using k-means algorithm.
Code:
from sklearn.cluster import KMeans
from sklearn.mixture import GaussianMixture
import sklearn.metrics as metrics
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
names = ['Sepal_Length','Sepal_Width','Petal_Length','Petal_Width', 'Class']
dataset = pd.read_csv("8-dataset.csv", names=names)
X = dataset.iloc[:, :-1]
label = {'Iris-setosa': 0,'Iris-versicolor': 1, 'Iris-virginica': 2}
y = [label[c] for c in dataset.iloc[:, -1]]
plt.figure(figsize=(14,7))
colormap=np.array(['red','lime','black'])
# REAL PLOT
plt.subplot(1,3,1)
plt.title('Real')
plt.scatter(X.Petal_Length,X.Petal_Width,c=colormap[y])
# K-PLOT
model=KMeans(n_clusters=3, random_state=0).fit(X)
plt.subplot(1,3,2)
plt.title('KMeans')
plt.scatter(X.Petal_Length,X.Petal_Width,c=colormap[model.labels_])
print('The accuracy score of K-Mean: ',metrics.accuracy_score(y, model.labels_))
print('The Confusion matrixof K-Mean:n',metrics.confusion_matrix(y, model.labels_))
# GMM PLOT
gmm=GaussianMixture(n_components=3, random_state=0).fit(X)
y_cluster_gmm=gmm.predict(X)
plt.subplot(1,3,3)
plt.title('GMM Classification')
plt.scatter(X.Petal_Length,X.Petal_Width,c=colormap[y_cluster_gmm])
print('The accuracy score of EM: ',metrics.accuracy_score(y, y_cluster_gmm))
print('The Confusion matrix of EM:n ',metrics.confusion_matrix(y, y_cluster_gmm))
Output:
The accuracy score of K-Mean: 0.09333333333333334
The Confusion matrixof K-Mean:
[[ 0 50 0]
[ 2 0 48]
[36 0 14]]
The accuracy score of EM: 0.9666666666666667
The Confusion matrix of EM:
[[50 0 0]
[ 0 45 5]
[ 0 0 50]]
Result:
Sizi çok beğeniyor zevkle izliyorum SELAMLAR TURKEY……..
❤️
you guys are amazing.
Go to settings/playback speed. Even funnier at 2X speed
😂🤣😂🤣😂👍🇵🇭
GAGS this Legend never die
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaassssaaaaaaasaaaaaaaaaaa
Gosto muito de ver pegadinhas com os atores alcoolizado é o máximo
Bro if I walked past the dog one I'd ruin the prank cos I'm definitely gonna try to buy it…40 bucks!?!?!?
Super।
I totally wonder if the prank victims still watch these videos later on from time to time. Or ever watched afterwards. Shoot me a message by responding to this posting if you are one of them and tell me which =)
I do wonder if the prank victims still watch these videos later on from time to time. Or ever watched afterwards. Shoot me a message by responding to this posting if you are one of them and tell me which =)
😁😁😂😂🤣🤣
the dog one was so funny lol, im surprised that people didn't try harder to save the dog.
🙏🙏😆😆😆🌹✌️
Постановка
Very good!
Very good!
Your Job is the Best of the World 😅💖
You make me smile and Laugh every day 😆😉😅
I ❤️💖 your Team.
Greetings from germany ✌️
I think when you are 30 you should take part in a seminar that you can report to the police if they drown dogs or drive drunk 😀
🤣🤣🤣🇮🇳🥃✌️🥃
Just For Laughs Gags…👌👍🙏
Hai,saya dari Indonesia saya suka akan video prank anda
Россия
Ha ha ha. More videos, IDol.😊😹🤭
nice bro