Questions tagged [iris-dataset]

Relates to the Iris flower dataset published by Ronald Fisher's 1936 paper "The use of multiple measurements in taxonomic problems".

Questions regarding the dataset and its application, for example in statistics and machine learning, are appropriate for this tag.

114 questions
0
votes
1 answer

Error in my TensorFlow input function: "TypeError: List of Tensors when single Tensor expected"

Python: 3.6.9 TensorFlow: 1.15.0 Despite seeing answers to similar questions on SO, I have been unable to detect and resolve the bug in my code. So I have come here to ask you for your help. I am training a classifier on the Iris dataset and I get…
Uzair Zia
  • 53
  • 1
  • 8
0
votes
1 answer

Iris data plot using knn , on each execution it gives different plots .(Using spyder in anaconda)

Hi I am new to data science and python, I was trying to write a knn classification program using pandas, matplotlib . I am using spyder Ide , on each execution plot keeps changing. I am very confused ,is it correct or I have done some…
Shaurya
  • 136
  • 1
  • 4
  • 20
0
votes
2 answers

What is Random seed in Azure Machine Learning?

I am learning Azure Machine Learning. I am frequently encountering the Random Seed in some of the steps like, Split Data Untrained algorithm models as Two Class Regression, Multi-class regression, Tree, Forest,.. In the tutorial, they choose…
0
votes
1 answer

How to use cov function to a dataset iris python

I want to get the covariance from the iris data set, https://www.kaggle.com/jchen2186/machine-learning-with-iris-dataset/data I am using numpy, and the function -> np.cov(iris) with open("Iris.csv") as iris: reader = csv.reader(iris) data =…
Mar
  • 3
  • 2
0
votes
2 answers

Generating class name list based on class index list

I'm playing with iris_dataset from sklearn.datasets I want to generate list similiar to iris_dataset['target'] but to have name of class instead of index. The way I did it: from sklearn.datasets import…
Kostia
  • 3
  • 1
0
votes
1 answer

Encoding discrepancy with Iris Dataset

After I downloaded the dataset as iris.data, I renamed it to iris.data.txt. I was trying to circumvent this reported error on SO: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 8: invalid continuation byte After reading up, I…
srkdb
  • 775
  • 3
  • 15
  • 28
-1
votes
1 answer

Why isn't R outputting all three species in the iris dataframe?

I am trying to calculate the linear regression with interaction for predicting Sepal.Length on both Petal.Length and Species. picture of my work I've tried the above in R and I've made sure I'm using the original dataset without changes made to it,…
-1
votes
2 answers

What is the pandas equivalent of the R function %in%?

What is the pandas equivalent of the R function %in% ? When we have a dataframe in R, we can check for which rows a column contains strings from a list using the operator %in% which gives a Boolean output. Concrete example: If we want to check which…
-3
votes
1 answer

Calculate Data Iris with Mean of Column

I have problem in R with Data Iris, Let us know how to calculate iris data - mean of all column (4 column) in iris data with looping
1 2 3 4 5 6 7
8