Skip to content

Iris data set (iris.txt) is not correct #400

Closed

Description

@pkulikov

/test/data folder contains two files related to the iris data set:

Problem: iris.txt does not match iris.data.

Let's forget about the Label column and consider only the feature columns. While those columns in iris.txt are named in the same order as they are in the iris.data, the data values were somehow mixed.

First lines of the iris.data:

5.1,3.5,1.4,0.2,Iris-setosa
4.9,3.0,1.4,0.2,Iris-setosa
4.7,3.2,1.3,0.2,Iris-setosa

First lines of the iris.txt:

#Label	Sepal length	Sepal width	Petal length	Petal width
0	3.5	1.4	0.2	5.1
0	3.0	1.4	0.2	4.9
0	3.2	1.3	0.2	4.7

The last column in the iris.txt must be second shifting other feature columns by one to the right. Petals of length 0.2 cm and width 5.1 cm are not natural :).

//cc @OliaG as the iris data sets in the dotnet/machinelearning-samples look to be produced from the iris.txt file.

Activity

  1. shauheen commented on Jun 25, 2018

    @shauheen
    Contributor

    @pkulikov thanks for reporting this issue.

  2. self-assigned this
    on Jun 25, 2018
  3. Nepomuceno commented on Aug 7, 2018

    @Nepomuceno
    Contributor

    Should this issue be closed now ?

  4. artidoro commented on Aug 30, 2018

    @artidoro
    Contributor

    Closing in favor of #428 and #527

  5. ghost locked as resolved and limited conversation to collaborators on Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions