Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sepal.length sepal.width petal.length petal.width variety
5.1 3.5 1.4 .2 Setosa
4.9 3 1.4 .2 Setosa
4.7 3.2 1.3 .2 Setosa
4.6 3.1 1.5 .2 Setosa
5 3.6 1.4 .2 Setosa
5.4 3.9 1.7 .4 Setosa
4.6 3.4 1.4 .3 Setosa
5 3.4 1.5 .2 Setosa
4.4 2.9 1.4 .2 Setosa
4.9 3.1 1.5 .1 Setosa
5.4 3.7 1.5 .2 Setosa
4.8 3.4 1.6 .2 Setosa
4.8 3 1.4 .1 Setosa
4.3 3 1.1 .1 Setosa
5.8 4 1.2 .2 Setosa
5.7 4.4 1.5 .4 Setosa
5.4 3.9 1.3 .4 Setosa
5.1 3.5 1.4 .3 Setosa
5.7 3.8 1.7 .3 Setosa
5.1 3.8 1.5 .3 Setosa
5.4 3.4 1.7 .2 Setosa
5.1 3.7 1.5 .4 Setosa
4.6 3.6 1 .2 Setosa
5.1 3.3 1.7 .5 Setosa
4.8 3.4 1.9 .2 Setosa
5 3 1.6 .2 Setosa
5 3.4 1.6 .4 Setosa
5.2 3.5 1.5 .2 Setosa
5.2 3.4 1.4 .2 Setosa
4.7 3.2 1.6 .2 Setosa
4.8 3.1 1.6 .2 Setosa
5.4 3.4 1.5 .4 Setosa
5.2 4.1 1.5 .1 Setosa
5.5 4.2 1.4 .2 Setosa
4.9 3.1 1.5 .2 Setosa
5 3.2 1.2 .2 Setosa
5.5 3.5 1.3 .2 Setosa
4.9 3.6 1.4 .1 Setosa
4.4 3 1.3 .2 Setosa
5.1 3.4 1.5 .2 Setosa
5 3.5 1.3 .3 Setosa
4.5 2.3 1.3 .3 Setosa
4.4 3.2 1.3 .2 Setosa
5 3.5 1.6 .6 Setosa
5.1 3.8 1.9 .4 Setosa
4.8 3 1.4 .3 Setosa
5.1 3.8 1.6 .2 Setosa
4.6 3.2 1.4 .2 Setosa
5.3 3.7 1.5 .2 Setosa
5 3.3 1.4 .2 Setosa
7 3.2 4.7 1.4 Versicolor
6.4 3.2 4.5 1.5 Versicolor
6.9 3.1 4.9 1.5 Versicolor
5.5 2.3 4 1.3 Versicolor
6.5 2.8 4.6 1.5 Versicolor
5.7 2.8 4.5 1.3 Versicolor
6.3 3.3 4.7 1.6 Versicolor
4.9 2.4 3.3 1 Versicolor
6.6 2.9 4.6 1.3 Versicolor
5.2 2.7 3.9 1.4 Versicolor
5 2 3.5 1 Versicolor
5.9 3 4.2 1.5 Versicolor
6 2.2 4 1 Versicolor
6.1 2.9 4.7 1.4 Versicolor
5.6 2.9 3.6 1.3 Versicolor
6.7 3.1 4.4 1.4 Versicolor
5.6 3 4.5 1.5 Versicolor
5.8 2.7 4.1 1 Versicolor
6.2 2.2 4.5 1.5 Versicolor
5.6 2.5 3.9 1.1 Versicolor
5.9 3.2 4.8 1.8 Versicolor
6.1 2.8 4 1.3 Versicolor
6.3 2.5 4.9 1.5 Versicolor
6.1 2.8 4.7 1.2 Versicolor
6.4 2.9 4.3 1.3 Versicolor
6.6 3 4.4 1.4 Versicolor
6.8 2.8 4.8 1.4 Versicolor
6.7 3 5 1.7 Versicolor
6 2.9 4.5 1.5 Versicolor
5.7 2.6 3.5 1 Versicolor
5.5 2.4 3.8 1.1 Versicolor
5.5 2.4 3.7 1 Versicolor
5.8 2.7 3.9 1.2 Versicolor
6 2.7 5.1 1.6 Versicolor
5.4 3 4.5 1.5 Versicolor
6 3.4 4.5 1.6 Versicolor
6.7 3.1 4.7 1.5 Versicolor
6.3 2.3 4.4 1.3 Versicolor
5.6 3 4.1 1.3 Versicolor
5.5 2.5 4 1.3 Versicolor
5.5 2.6 4.4 1.2 Versicolor
6.1 3 4.6 1.4 Versicolor
5.8 2.6 4 1.2 Versicolor
5 2.3 3.3 1 Versicolor
5.6 2.7 4.2 1.3 Versicolor
5.7 3 4.2 1.2 Versicolor
5.7 2.9 4.2 1.3 Versicolor
6.2 2.9 4.3 1.3 Versicolor
5.1 2.5 3 1.1 Versicolor
5.7 2.8 4.1 1.3 Versicolor
6.3 3.3 6 2.5 Virginica
5.8 2.7 5.1 1.9 Virginica
7.1 3 5.9 2.1 Virginica
6.3 2.9 5.6 1.8 Virginica
6.5 3 5.8 2.2 Virginica
7.6 3 6.6 2.1 Virginica
4.9 2.5 4.5 1.7 Virginica
7.3 2.9 6.3 1.8 Virginica
6.7 2.5 5.8 1.8 Virginica
7.2 3.6 6.1 2.5 Virginica
6.5 3.2 5.1 2 Virginica
6.4 2.7 5.3 1.9 Virginica
6.8 3 5.5 2.1 Virginica
5.7 2.5 5 2 Virginica
5.8 2.8 5.1 2.4 Virginica
6.4 3.2 5.3 2.3 Virginica
6.5 3 5.5 1.8 Virginica
7.7 3.8 6.7 2.2 Virginica
7.7 2.6 6.9 2.3 Virginica
6 2.2 5 1.5 Virginica
6.9 3.2 5.7 2.3 Virginica
5.6 2.8 4.9 2 Virginica
7.7 2.8 6.7 2 Virginica
6.3 2.7 4.9 1.8 Virginica
6.7 3.3 5.7 2.1 Virginica
7.2 3.2 6 1.8 Virginica
6.2 2.8 4.8 1.8 Virginica
6.1 3 4.9 1.8 Virginica
6.4 2.8 5.6 2.1 Virginica
7.2 3 5.8 1.6 Virginica
7.4 2.8 6.1 1.9 Virginica
7.9 3.8 6.4 2 Virginica
6.4 2.8 5.6 2.2 Virginica
6.3 2.8 5.1 1.5 Virginica
6.1 2.6 5.6 1.4 Virginica
7.7 3 6.1 2.3 Virginica
6.3 3.4 5.6 2.4 Virginica
6.4 3.1 5.5 1.8 Virginica
6 3 4.8 1.8 Virginica
6.9 3.1 5.4 2.1 Virginica
6.7 3.1 5.6 2.4 Virginica
6.9 3.1 5.1 2.3 Virginica
5.8 2.7 5.1 1.9 Virginica
6.8 3.2 5.9 2.3 Virginica
6.7 3.3 5.7 2.5 Virginica
6.7 3 5.2 2.3 Virginica
6.3 2.5 5 1.9 Virginica
6.5 3 5.2 2 Virginica
6.2 3.4 5.4 2.3 Virginica
5.9 3 5.1 1.8 Virginica
@muratxs
Copy link

muratxs commented Jul 3, 2019

Thanks!

@Ayasha01
Copy link

Ayasha01 commented Sep 14, 2019

thanks for the data set!

@shahan27
Copy link

shahan27 commented Sep 19, 2019

thanks man

@satya0017
Copy link

satya0017 commented Sep 28, 2019

Hi , the variety column in iris dataset has dtype as object. When we are applying kMeans it is reflecting an error . Without dropping the column or changing the dtype is there anyway to build the model .

@Joseorina
Copy link

Joseorina commented Oct 24, 2019

Thanks for the json dataset

@JoeyIngles
Copy link

JoeyIngles commented Oct 28, 2019

Thanks, dude.
Not all heroes wear capes.

@dollyrashmi
Copy link

dollyrashmi commented Nov 16, 2019

Write a python script implementing KNN(K Nearest Neighbour) algorithm along with example without using any of the python libraries(Scikit-learn etc.) upper data set

@sochan-musclelover
Copy link

sochan-musclelover commented Nov 29, 2019

Thanks,so much. Sir

@LiozElmalem
Copy link

LiozElmalem commented Jan 6, 2020

Great ! thanks

@joseaquinocepeda
Copy link

joseaquinocepeda commented Mar 30, 2020

Thank you.

@fateevaalbina
Copy link

fateevaalbina commented May 6, 2020

Thanks

@MijeongJeon
Copy link

MijeongJeon commented Jun 6, 2020

Thanks!

@sivachaitu
Copy link

sivachaitu commented Oct 8, 2020

thanks man

@cyndinaitili
Copy link

cyndinaitili commented Nov 15, 2020

Thank You so much sir

@winstonmhango23
Copy link

winstonmhango23 commented Jan 29, 2021

This has been very helpful thanks

@StephenChege
Copy link

StephenChege commented Feb 15, 2021

Thank you for the data set

@hasanKalkan
Copy link

hasanKalkan commented Mar 10, 2021

thanks a lot

@geemoro
Copy link

geemoro commented May 10, 2021

Thank you

@Shiohne
Copy link

Shiohne commented Jun 1, 2021

:)

@peterbrendel
Copy link

peterbrendel commented Jul 19, 2021

Github Copilot brought me here by autocompleting dataset = with

dataset = AnnDataset(
        'data/iris.csv',
        ['sepal length', 'sepal width', 'petal length', 'petal width']
        )

@ankitaman900
Copy link

ankitaman900 commented Oct 30, 2021

thanks man.

@ntakano8
Copy link

ntakano8 commented Nov 22, 2021

Thanks!

@noReasonException
Copy link

noReasonException commented Jan 11, 2022

Thanks!

@Eisawi999
Copy link

Eisawi999 commented Feb 27, 2022

Very helpful thanks

@NaveedIlham
Copy link

NaveedIlham commented Mar 19, 2022

thank you

@sevdebayrak94
Copy link

sevdebayrak94 commented May 21, 2022

Thank you for sharing. It will be nice practise to work on this dataset.

@rl02898
Copy link

rl02898 commented Jun 6, 2022

MVP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment