First commit
commit
f26dd27162
|
@ -0,0 +1,69 @@
|
|||
1. Title: Iris Plants Database
|
||||
Updated Sept 21 by C.Blake - Added discrepency information
|
||||
|
||||
2. Sources:
|
||||
(a) Creator: R.A. Fisher
|
||||
(b) Donor: Michael Marshall (MARSHALL%PLU@io.arc.nasa.gov)
|
||||
(c) Date: July, 1988
|
||||
|
||||
3. Past Usage:
|
||||
- Publications: too many to mention!!! Here are a few.
|
||||
1. Fisher,R.A. "The use of multiple measurements in taxonomic problems"
|
||||
Annual Eugenics, 7, Part II, 179-188 (1936); also in "Contributions
|
||||
to Mathematical Statistics" (John Wiley, NY, 1950).
|
||||
2. Duda,R.O., & Hart,P.E. (1973) Pattern Classification and Scene Analysis.
|
||||
(Q327.D83) John Wiley & Sons. ISBN 0-471-22361-1. See page 218.
|
||||
3. Dasarathy, B.V. (1980) "Nosing Around the Neighborhood: A New System
|
||||
Structure and Classification Rule for Recognition in Partially Exposed
|
||||
Environments". IEEE Transactions on Pattern Analysis and Machine
|
||||
Intelligence, Vol. PAMI-2, No. 1, 67-71.
|
||||
-- Results:
|
||||
-- very low misclassification rates (0% for the setosa class)
|
||||
4. Gates, G.W. (1972) "The Reduced Nearest Neighbor Rule". IEEE
|
||||
Transactions on Information Theory, May 1972, 431-433.
|
||||
-- Results:
|
||||
-- very low misclassification rates again
|
||||
5. See also: 1988 MLC Proceedings, 54-64. Cheeseman et al's AUTOCLASS II
|
||||
conceptual clustering system finds 3 classes in the data.
|
||||
|
||||
4. Relevant Information:
|
||||
--- This is perhaps the best known database to be found in the pattern
|
||||
recognition literature. Fisher's paper is a classic in the field
|
||||
and is referenced frequently to this day. (See Duda & Hart, for
|
||||
example.) The data set contains 3 classes of 50 instances each,
|
||||
where each class refers to a type of iris plant. One class is
|
||||
linearly separable from the other 2; the latter are NOT linearly
|
||||
separable from each other.
|
||||
--- Predicted attribute: class of iris plant.
|
||||
--- This is an exceedingly simple domain.
|
||||
--- This data differs from the data presented in Fishers article
|
||||
(identified by Steve Chadwick, spchadwick@espeedaz.net )
|
||||
The 35th sample should be: 4.9,3.1,1.5,0.2,"Iris-setosa"
|
||||
where the error is in the fourth feature.
|
||||
The 38th sample: 4.9,3.6,1.4,0.1,"Iris-setosa"
|
||||
where the errors are in the second and third features.
|
||||
|
||||
5. Number of Instances: 150 (50 in each of three classes)
|
||||
|
||||
6. Number of Attributes: 4 numeric, predictive attributes and the class
|
||||
|
||||
7. Attribute Information:
|
||||
1. sepal length in cm
|
||||
2. sepal width in cm
|
||||
3. petal length in cm
|
||||
4. petal width in cm
|
||||
5. class:
|
||||
-- Iris Setosa
|
||||
-- Iris Versicolour
|
||||
-- Iris Virginica
|
||||
|
||||
8. Missing Attribute Values: None
|
||||
|
||||
Summary Statistics:
|
||||
Min Max Mean SD Class Correlation
|
||||
sepal length: 4.3 7.9 5.84 0.83 0.7826
|
||||
sepal width: 2.0 4.4 3.05 0.43 -0.4194
|
||||
petal length: 1.0 6.9 3.76 1.76 0.9490 (high!)
|
||||
petal width: 0.1 2.5 1.20 0.76 0.9565 (high!)
|
||||
|
||||
9. Class Distribution: 33.3% for each of 3 classes.
|
|
@ -0,0 +1,101 @@
|
|||
a,b,c,s
|
||||
5.1,3.5,1.4,0
|
||||
4.9,3,1.4,0
|
||||
4.7,3.2,1.3,0
|
||||
4.6,3.1,1.5,0
|
||||
5,3.6,1.4,0
|
||||
5.4,3.9,1.7,0
|
||||
4.6,3.4,1.4,0
|
||||
5,3.4,1.5,0
|
||||
4.4,2.9,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5.4,3.7,1.5,0
|
||||
4.8,3.4,1.6,0
|
||||
4.8,3,1.4,0
|
||||
4.3,3,1.1,0
|
||||
5.8,4,1.2,0
|
||||
5.7,4.4,1.5,0
|
||||
5.4,3.9,1.3,0
|
||||
5.1,3.5,1.4,0
|
||||
5.7,3.8,1.7,0
|
||||
5.1,3.8,1.5,0
|
||||
5.4,3.4,1.7,0
|
||||
5.1,3.7,1.5,0
|
||||
4.6,3.6,1,0
|
||||
5.1,3.3,1.7,0
|
||||
4.8,3.4,1.9,0
|
||||
5,3,1.6,0
|
||||
5,3.4,1.6,0
|
||||
5.2,3.5,1.5,0
|
||||
5.2,3.4,1.4,0
|
||||
4.7,3.2,1.6,0
|
||||
4.8,3.1,1.6,0
|
||||
5.4,3.4,1.5,0
|
||||
5.2,4.1,1.5,0
|
||||
5.5,4.2,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5,3.2,1.2,0
|
||||
5.5,3.5,1.3,0
|
||||
4.9,3.6,1.4,0
|
||||
4.4,3,1.3,0
|
||||
5.1,3.4,1.5,0
|
||||
5,3.5,1.3,0
|
||||
4.5,2.3,1.3,0
|
||||
4.4,3.2,1.3,0
|
||||
5,3.5,1.6,0
|
||||
5.1,3.8,1.9,0
|
||||
4.8,3,1.4,0
|
||||
5.1,3.8,1.6,0
|
||||
4.6,3.2,1.4,0
|
||||
5.3,3.7,1.5,0
|
||||
5,3.3,1.4,0
|
||||
7,3.2,4.7,1
|
||||
6.4,3.2,4.5,1
|
||||
6.9,3.1,4.9,1
|
||||
5.5,2.3,4,1
|
||||
6.5,2.8,4.6,1
|
||||
5.7,2.8,4.5,1
|
||||
6.3,3.3,4.7,1
|
||||
4.9,2.4,3.3,1
|
||||
6.6,2.9,4.6,1
|
||||
5.2,2.7,3.9,1
|
||||
5,2,3.5,1
|
||||
5.9,3,4.2,1
|
||||
6,2.2,4,1
|
||||
6.1,2.9,4.7,1
|
||||
5.6,2.9,3.6,1
|
||||
6.7,3.1,4.4,1
|
||||
5.6,3,4.5,1
|
||||
5.8,2.7,4.1,1
|
||||
6.2,2.2,4.5,1
|
||||
5.6,2.5,3.9,1
|
||||
5.9,3.2,4.8,1
|
||||
6.1,2.8,4,1
|
||||
6.3,2.5,4.9,1
|
||||
6.1,2.8,4.7,1
|
||||
6.4,2.9,4.3,1
|
||||
6.6,3,4.4,1
|
||||
6.8,2.8,4.8,1
|
||||
6.7,3,5,1
|
||||
6,2.9,4.5,1
|
||||
5.7,2.6,3.5,1
|
||||
5.5,2.4,3.8,1
|
||||
5.5,2.4,3.7,1
|
||||
5.8,2.7,3.9,1
|
||||
6,2.7,5.1,1
|
||||
5.4,3,4.5,1
|
||||
6,3.4,4.5,1
|
||||
6.7,3.1,4.7,1
|
||||
6.3,2.3,4.4,1
|
||||
5.6,3,4.1,1
|
||||
5.5,2.5,4,1
|
||||
5.5,2.6,4.4,1
|
||||
6.1,3,4.6,1
|
||||
5.8,2.6,4,1
|
||||
5,2.3,3.3,1
|
||||
5.6,2.7,4.2,1
|
||||
5.7,3,4.2,1
|
||||
5.7,2.9,4.2,1
|
||||
6.2,2.9,4.3,1
|
||||
5.1,2.5,3,1
|
||||
5.7,2.8,4.1,1
|
|
|
@ -0,0 +1,100 @@
|
|||
5.1,3.5,1.4,0
|
||||
4.9,3,1.4,0
|
||||
4.7,3.2,1.3,0
|
||||
4.6,3.1,1.5,0
|
||||
5,3.6,1.4,0
|
||||
5.4,3.9,1.7,0
|
||||
4.6,3.4,1.4,0
|
||||
5,3.4,1.5,0
|
||||
4.4,2.9,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5.4,3.7,1.5,0
|
||||
4.8,3.4,1.6,0
|
||||
4.8,3,1.4,0
|
||||
4.3,3,1.1,0
|
||||
5.8,4,1.2,0
|
||||
5.7,4.4,1.5,0
|
||||
5.4,3.9,1.3,0
|
||||
5.1,3.5,1.4,0
|
||||
5.7,3.8,1.7,0
|
||||
5.1,3.8,1.5,0
|
||||
5.4,3.4,1.7,0
|
||||
5.1,3.7,1.5,0
|
||||
4.6,3.6,1,0
|
||||
5.1,3.3,1.7,0
|
||||
4.8,3.4,1.9,0
|
||||
5,3,1.6,0
|
||||
5,3.4,1.6,0
|
||||
5.2,3.5,1.5,0
|
||||
5.2,3.4,1.4,0
|
||||
4.7,3.2,1.6,0
|
||||
4.8,3.1,1.6,0
|
||||
5.4,3.4,1.5,0
|
||||
5.2,4.1,1.5,0
|
||||
5.5,4.2,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5,3.2,1.2,0
|
||||
5.5,3.5,1.3,0
|
||||
4.9,3.6,1.4,0
|
||||
4.4,3,1.3,0
|
||||
5.1,3.4,1.5,0
|
||||
5,3.5,1.3,0
|
||||
4.5,2.3,1.3,0
|
||||
4.4,3.2,1.3,0
|
||||
5,3.5,1.6,0
|
||||
5.1,3.8,1.9,0
|
||||
4.8,3,1.4,0
|
||||
5.1,3.8,1.6,0
|
||||
4.6,3.2,1.4,0
|
||||
5.3,3.7,1.5,0
|
||||
5,3.3,1.4,0
|
||||
7,3.2,4.7,1
|
||||
6.4,3.2,4.5,1
|
||||
6.9,3.1,4.9,1
|
||||
5.5,2.3,4,1
|
||||
6.5,2.8,4.6,1
|
||||
5.7,2.8,4.5,1
|
||||
6.3,3.3,4.7,1
|
||||
4.9,2.4,3.3,1
|
||||
6.6,2.9,4.6,1
|
||||
5.2,2.7,3.9,1
|
||||
5,2,3.5,1
|
||||
5.9,3,4.2,1
|
||||
6,2.2,4,1
|
||||
6.1,2.9,4.7,1
|
||||
5.6,2.9,3.6,1
|
||||
6.7,3.1,4.4,1
|
||||
5.6,3,4.5,1
|
||||
5.8,2.7,4.1,1
|
||||
6.2,2.2,4.5,1
|
||||
5.6,2.5,3.9,1
|
||||
5.9,3.2,4.8,1
|
||||
6.1,2.8,4,1
|
||||
6.3,2.5,4.9,1
|
||||
6.1,2.8,4.7,1
|
||||
6.4,2.9,4.3,1
|
||||
6.6,3,4.4,1
|
||||
6.8,2.8,4.8,1
|
||||
6.7,3,5,1
|
||||
6,2.9,4.5,1
|
||||
5.7,2.6,3.5,1
|
||||
5.5,2.4,3.8,1
|
||||
5.5,2.4,3.7,1
|
||||
5.8,2.7,3.9,1
|
||||
6,2.7,5.1,1
|
||||
5.4,3,4.5,1
|
||||
6,3.4,4.5,1
|
||||
6.7,3.1,4.7,1
|
||||
6.3,2.3,4.4,1
|
||||
5.6,3,4.1,1
|
||||
5.5,2.5,4,1
|
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,3.5,0
|
||||
5.5,2.4,3.8,0
|
||||
5.5,2.4,3.7,0
|
||||
5.8,2.7,3.9,0
|
||||
6,2.7,5.1,0
|
||||
5.4,3,4.5,0
|
||||
6,3.4,4.5,0
|
||||
6.7,3.1,4.7,0
|
||||
6.3,2.3,4.4,0
|
||||
5.6,3,4.1,0
|
||||
5.5,2.5,4,0
|
||||
5.5,2.6,4.4,0
|
||||
6.1,3,4.6,0
|
||||
5.8,2.6,4,0
|
||||
5,2.3,3.3,0
|
||||
5.6,2.7,4.2,0
|
||||
5.7,3,4.2,0
|
||||
5.7,2.9,4.2,0
|
||||
6.2,2.9,4.3,0
|
||||
5.1,2.5,3,0
|
||||
5.7,2.8,4.1,0
|
||||
6.3,3.3,6,1
|
||||
5.8,2.7,5.1,1
|
||||
7.1,3,5.9,1
|
||||
6.3,2.9,5.6,1
|
||||
6.5,3,5.8,1
|
||||
7.6,3,6.6,1
|
||||
4.9,2.5,4.5,1
|
||||
7.3,2.9,6.3,1
|
||||
6.7,2.5,5.8,1
|
||||
7.2,3.6,6.1,1
|
||||
6.5,3.2,5.1,1
|
||||
6.4,2.7,5.3,1
|
||||
6.8,3,5.5,1
|
||||
5.7,2.5,5,1
|
||||
5.8,2.8,5.1,1
|
||||
6.4,3.2,5.3,1
|
||||
6.5,3,5.5,1
|
||||
7.7,3.8,6.7,1
|
||||
7.7,2.6,6.9,1
|
||||
6,2.2,5,1
|
||||
6.9,3.2,5.7,1
|
||||
5.6,2.8,4.9,1
|
||||
7.7,2.8,6.7,1
|
||||
6.3,2.7,4.9,1
|
||||
6.7,3.3,5.7,1
|
||||
7.2,3.2,6,1
|
||||
6.2,2.8,4.8,1
|
||||
6.1,3,4.9,1
|
||||
6.4,2.8,5.6,1
|
||||
7.2,3,5.8,1
|
||||
7.4,2.8,6.1,1
|
||||
7.9,3.8,6.4,1
|
||||
6.4,2.8,5.6,1
|
||||
6.3,2.8,5.1,1
|
||||
6.1,2.6,5.6,1
|
||||
7.7,3,6.1,1
|
||||
6.3,3.4,5.6,1
|
||||
6.4,3.1,5.5,1
|
||||
6,3,4.8,1
|
||||
6.9,3.1,5.4,1
|
||||
6.7,3.1,5.6,1
|
||||
6.9,3.1,5.1,1
|
||||
5.8,2.7,5.1,1
|
||||
6.8,3.2,5.9,1
|
||||
6.7,3.3,5.7,1
|
||||
6.7,3,5.2,1
|
||||
6.3,2.5,5,1
|
||||
6.5,3,5.2,1
|
||||
6.2,3.4,5.4,1
|
||||
5.9,3,5.1,1
|
|
|
@ -0,0 +1,100 @@
|
|||
7,3.2,4.7,0
|
||||
6.4,3.2,4.5,0
|
||||
6.9,3.1,4.9,0
|
||||
5.5,2.3,4,0
|
||||
6.5,2.8,4.6,0
|
||||
5.7,2.8,4.5,0
|
||||
6.3,3.3,4.7,0
|
||||
4.9,2.4,3.3,0
|
||||
6.6,2.9,4.6,0
|
||||
5.2,2.7,3.9,0
|
||||
5,2,3.5,0
|
||||
5.9,3,4.2,0
|
||||
6,2.2,4,0
|
||||
6.1,2.9,4.7,0
|
||||
5.6,2.9,3.6,0
|
||||
6.7,3.1,4.4,0
|
||||
5.6,3,4.5,0
|
||||
5.8,2.7,4.1,0
|
||||
6.2,2.2,4.5,0
|
||||
5.6,2.5,3.9,0
|
||||
5.9,3.2,4.8,0
|
||||
6.1,2.8,4,0
|
||||
6.3,2.5,4.9,0
|
||||
6.1,2.8,4.7,0
|
||||
6.4,2.9,4.3,0
|
||||
6.6,3,4.4,0
|
||||
6.8,2.8,4.8,0
|
||||
6.7,3,5,0
|
||||
6,2.9,4.5,0
|
||||
5.7,2.6,3.5,0
|
||||
5.5,2.4,3.8,0
|
||||
5.5,2.4,3.7,0
|
||||
5.8,2.7,3.9,0
|
||||
6,2.7,5.1,0
|
||||
5.4,3,4.5,0
|
||||
6,3.4,4.5,0
|
||||
6.7,3.1,4.7,0
|
||||
6.3,2.3,4.4,0
|
||||
5.6,3,4.1,0
|
||||
5.5,2.5,4,0
|
||||
5.5,2.6,4.4,0
|
||||
6.1,3,4.6,0
|
||||
5.8,2.6,4,0
|
||||
5,2.3,3.3,0
|
||||
5.6,2.7,4.2,0
|
||||
5.7,3,4.2,0
|
||||
5.7,2.9,4.2,0
|
||||
6.2,2.9,4.3,0
|
||||
5.1,2.5,3,0
|
||||
5.7,2.8,4.1,0
|
||||
6.3,3.3,6,1
|
||||
5.8,2.7,5.1,1
|
||||
7.1,3,5.9,1
|
||||
6.3,2.9,5.6,1
|
||||
6.5,3,5.8,1
|
||||
7.6,3,6.6,1
|
||||
4.9,2.5,4.5,1
|
||||
7.3,2.9,6.3,1
|
||||
6.7,2.5,5.8,1
|
||||
7.2,3.6,6.1,1
|
||||
6.5,3.2,5.1,1
|
||||
6.4,2.7,5.3,1
|
||||
6.8,3,5.5,1
|
||||
5.7,2.5,5,1
|
||||
5.8,2.8,5.1,1
|
||||
6.4,3.2,5.3,1
|
||||
6.5,3,5.5,1
|
||||
7.7,3.8,6.7,1
|
||||
7.7,2.6,6.9,1
|
||||
6,2.2,5,1
|
||||
6.9,3.2,5.7,1
|
||||
5.6,2.8,4.9,1
|
||||
7.7,2.8,6.7,1
|
||||
6.3,2.7,4.9,1
|
||||
6.7,3.3,5.7,1
|
||||
7.2,3.2,6,1
|
||||
6.2,2.8,4.8,1
|
||||
6.1,3,4.9,1
|
||||
6.4,2.8,5.6,1
|
||||
7.2,3,5.8,1
|
||||
7.4,2.8,6.1,1
|
||||
7.9,3.8,6.4,1
|
||||
6.4,2.8,5.6,1
|
||||
6.3,2.8,5.1,1
|
||||
6.1,2.6,5.6,1
|
||||
7.7,3,6.1,1
|
||||
6.3,3.4,5.6,1
|
||||
6.4,3.1,5.5,1
|
||||
6,3,4.8,1
|
||||
6.9,3.1,5.4,1
|
||||
6.7,3.1,5.6,1
|
||||
6.9,3.1,5.1,1
|
||||
5.8,2.7,5.1,1
|
||||
6.8,3.2,5.9,1
|
||||
6.7,3.3,5.7,1
|
||||
6.7,3,5.2,1
|
||||
6.3,2.5,5,1
|
||||
6.5,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6.1,2.3,1
|
||||
6.3,3.4,5.6,2.4,1
|
||||
6.4,3.1,5.5,1.8,1
|
||||
6.0,3.0,4.8,1.8,1
|
||||
6.9,3.1,5.4,2.1,1
|
||||
6.7,3.1,5.6,2.4,1
|
||||
6.9,3.1,5.1,2.3,1
|
||||
5.8,2.7,5.1,1.9,1
|
||||
6.8,3.2,5.9,2.3,1
|
||||
6.7,3.3,5.7,2.5,1
|
||||
6.7,3.0,5.2,2.3,1
|
||||
6.3,2.5,5.0,1.9,1
|
||||
6.5,3.0,5.2,2.0,1
|
||||
6.2,3.4,5.4,2.3,1
|
||||
5.9,3.0,5.1,1.8,1
|
|
|
@ -0,0 +1,101 @@
|
|||
a,b,c,s
|
||||
5.1,3.5,1.4,0
|
||||
4.9,3,1.4,0
|
||||
4.7,3.2,1.3,0
|
||||
4.6,3.1,1.5,0
|
||||
5,3.6,1.4,0
|
||||
5.4,3.9,1.7,0
|
||||
4.6,3.4,1.4,0
|
||||
5,3.4,1.5,0
|
||||
4.4,2.9,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5.4,3.7,1.5,0
|
||||
4.8,3.4,1.6,0
|
||||
4.8,3,1.4,0
|
||||
4.3,3,1.1,0
|
||||
5.8,4,1.2,0
|
||||
5.7,4.4,1.5,0
|
||||
5.4,3.9,1.3,0
|
||||
5.1,3.5,1.4,0
|
||||
5.7,3.8,1.7,0
|
||||
5.1,3.8,1.5,0
|
||||
5.4,3.4,1.7,0
|
||||
5.1,3.7,1.5,0
|
||||
4.6,3.6,1,0
|
||||
5.1,3.3,1.7,0
|
||||
4.8,3.4,1.9,0
|
||||
5,3,1.6,0
|
||||
5,3.4,1.6,0
|
||||
5.2,3.5,1.5,0
|
||||
5.2,3.4,1.4,0
|
||||
4.7,3.2,1.6,0
|
||||
4.8,3.1,1.6,0
|
||||
5.4,3.4,1.5,0
|
||||
5.2,4.1,1.5,0
|
||||
5.5,4.2,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5,3.2,1.2,0
|
||||
5.5,3.5,1.3,0
|
||||
4.9,3.6,1.4,0
|
||||
4.4,3,1.3,0
|
||||
5.1,3.4,1.5,0
|
||||
5,3.5,1.3,0
|
||||
4.5,2.3,1.3,0
|
||||
4.4,3.2,1.3,0
|
||||
5,3.5,1.6,0
|
||||
5.1,3.8,1.9,0
|
||||
4.8,3,1.4,0
|
||||
5.1,3.8,1.6,0
|
||||
4.6,3.2,1.4,0
|
||||
5.3,3.7,1.5,0
|
||||
5,3.3,1.4,0
|
||||
6.3,3.3,6,1
|
||||
5.8,2.7,5.1,1
|
||||
7.1,3,5.9,1
|
||||
6.3,2.9,5.6,1
|
||||
6.5,3,5.8,1
|
||||
7.6,3,6.6,1
|
||||
4.9,2.5,4.5,1
|
||||
7.3,2.9,6.3,1
|
||||
6.7,2.5,5.8,1
|
||||
7.2,3.6,6.1,1
|
||||
6.5,3.2,5.1,1
|
||||
6.4,2.7,5.3,1
|
||||
6.8,3,5.5,1
|
||||
5.7,2.5,5,1
|
||||
5.8,2.8,5.1,1
|
||||
6.4,3.2,5.3,1
|
||||
6.5,3,5.5,1
|
||||
7.7,3.8,6.7,1
|
||||
7.7,2.6,6.9,1
|
||||
6,2.2,5,1
|
||||
6.9,3.2,5.7,1
|
||||
5.6,2.8,4.9,1
|
||||
7.7,2.8,6.7,1
|
||||
6.3,2.7,4.9,1
|
||||
6.7,3.3,5.7,1
|
||||
7.2,3.2,6,1
|
||||
6.2,2.8,4.8,1
|
||||
6.1,3,4.9,1
|
||||
6.4,2.8,5.6,1
|
||||
7.2,3,5.8,1
|
||||
7.4,2.8,6.1,1
|
||||
7.9,3.8,6.4,1
|
||||
6.4,2.8,5.6,1
|
||||
6.3,2.8,5.1,1
|
||||
6.1,2.6,5.6,1
|
||||
7.7,3,6.1,1
|
||||
6.3,3.4,5.6,1
|
||||
6.4,3.1,5.5,1
|
||||
6,3,4.8,1
|
||||
6.9,3.1,5.4,1
|
||||
6.7,3.1,5.6,1
|
||||
6.9,3.1,5.1,1
|
||||
5.8,2.7,5.1,1
|
||||
6.8,3.2,5.9,1
|
||||
6.7,3.3,5.7,1
|
||||
6.7,3,5.2,1
|
||||
6.3,2.5,5,1
|
||||
6.5,3,5.2,1
|
||||
6.2,3.4,5.4,1
|
||||
5.9,3,5.1,1
|
|
|
@ -0,0 +1,100 @@
|
|||
5.1,3.5,1.4,0
|
||||
4.9,3,1.4,0
|
||||
4.7,3.2,1.3,0
|
||||
4.6,3.1,1.5,0
|
||||
5,3.6,1.4,0
|
||||
5.4,3.9,1.7,0
|
||||
4.6,3.4,1.4,0
|
||||
5,3.4,1.5,0
|
||||
4.4,2.9,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5.4,3.7,1.5,0
|
||||
4.8,3.4,1.6,0
|
||||
4.8,3,1.4,0
|
||||
4.3,3,1.1,0
|
||||
5.8,4,1.2,0
|
||||
5.7,4.4,1.5,0
|
||||
5.4,3.9,1.3,0
|
||||
5.1,3.5,1.4,0
|
||||
5.7,3.8,1.7,0
|
||||
5.1,3.8,1.5,0
|
||||
5.4,3.4,1.7,0
|
||||
5.1,3.7,1.5,0
|
||||
4.6,3.6,1,0
|
||||
5.1,3.3,1.7,0
|
||||
4.8,3.4,1.9,0
|
||||
5,3,1.6,0
|
||||
5,3.4,1.6,0
|
||||
5.2,3.5,1.5,0
|
||||
5.2,3.4,1.4,0
|
||||
4.7,3.2,1.6,0
|
||||
4.8,3.1,1.6,0
|
||||
5.4,3.4,1.5,0
|
||||
5.2,4.1,1.5,0
|
||||
5.5,4.2,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5,3.2,1.2,0
|
||||
5.5,3.5,1.3,0
|
||||
4.9,3.6,1.4,0
|
||||
4.4,3,1.3,0
|
||||
5.1,3.4,1.5,0
|
||||
5,3.5,1.3,0
|
||||
4.5,2.3,1.3,0
|
||||
4.4,3.2,1.3,0
|
||||
5,3.5,1.6,0
|
||||
5.1,3.8,1.9,0
|
||||
4.8,3,1.4,0
|
||||
5.1,3.8,1.6,0
|
||||
4.6,3.2,1.4,0
|
||||
5.3,3.7,1.5,0
|
||||
5,3.3,1.4,0
|
||||
6.3,3.3,6,1
|
||||
5.8,2.7,5.1,1
|
||||
7.1,3,5.9,1
|
||||
6.3,2.9,5.6,1
|
||||
6.5,3,5.8,1
|
||||
7.6,3,6.6,1
|
||||
4.9,2.5,4.5,1
|
||||
7.3,2.9,6.3,1
|
||||
6.7,2.5,5.8,1
|
||||
7.2,3.6,6.1,1
|
||||
6.5,3.2,5.1,1
|
||||
6.4,2.7,5.3,1
|
||||
6.8,3,5.5,1
|
||||
5.7,2.5,5,1
|
||||
5.8,2.8,5.1,1
|
||||
6.4,3.2,5.3,1
|
||||
6.5,3,5.5,1
|
||||
7.7,3.8,6.7,1
|
||||
7.7,2.6,6.9,1
|
||||
6,2.2,5,1
|
||||
6.9,3.2,5.7,1
|
||||
5.6,2.8,4.9,1
|
||||
7.7,2.8,6.7,1
|
||||
6.3,2.7,4.9,1
|
||||
6.7,3.3,5.7,1
|
||||
7.2,3.2,6,1
|
||||
6.2,2.8,4.8,1
|
||||
6.1,3,4.9,1
|
||||
6.4,2.8,5.6,1
|
||||
7.2,3,5.8,1
|
||||
7.4,2.8,6.1,1
|
||||
7.9,3.8,6.4,1
|
||||
6.4,2.8,5.6,1
|
||||
6.3,2.8,5.1,1
|
||||
6.1,2.6,5.6,1
|
||||
7.7,3,6.1,1
|
||||
6.3,3.4,5.6,1
|
||||
6.4,3.1,5.5,1
|
||||
6,3,4.8,1
|
||||
6.9,3.1,5.4,1
|
||||
6.7,3.1,5.6,1
|
||||
6.9,3.1,5.1,1
|
||||
5.8,2.7,5.1,1
|
||||
6.8,3.2,5.9,1
|
||||
6.7,3.3,5.7,1
|
||||
6.7,3,5.2,1
|
||||
6.3,2.5,5,1
|
||||
6.5,3,5.2,1
|
||||
6.2,3.4,5.4,1
|
||||
5.9,3,5.1,1
|
|
|
@ -0,0 +1,101 @@
|
|||
a,b,c,d,s
|
||||
5.1,3.5,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.4,2.1,1
|
||||
6.7,3.1,5.6,2.4,1
|
||||
6.9,3.1,5.1,2.3,1
|
||||
5.8,2.7,5.1,1.9,1
|
||||
6.8,3.2,5.9,2.3,1
|
||||
6.7,3.3,5.7,2.5,1
|
||||
6.7,3.0,5.2,2.3,1
|
||||
6.3,2.5,5.0,1.9,1
|
||||
6.5,3.0,5.2,2.0,1
|
||||
6.2,3.4,5.4,2.3,1
|
||||
5.9,3.0,5.1,1.8,1
|
|
|
@ -0,0 +1,150 @@
|
|||
5.1,3.5,1.4,0.2,Iris-setosa
|
||||
4.9,3,1.4,0.2,Iris-setosa
|
||||
4.7,3.2,1.3,0.2,Iris-setosa
|
||||
4.6,3.1,1.5,0.2,Iris-setosa
|
||||
5,3.6,1.4,0.2,Iris-setosa
|
||||
5.4,3.9,1.7,0.4,Iris-setosa
|
||||
4.6,3.4,1.4,0.3,Iris-setosa
|
||||
5,3.4,1.5,0.2,Iris-setosa
|
||||
4.4,2.9,1.4,0.2,Iris-setosa
|
||||
4.9,3.1,1.5,0.1,Iris-setosa
|
||||
5.4,3.7,1.5,0.2,Iris-setosa
|
||||
4.8,3.4,1.6,0.2,Iris-setosa
|
||||
4.8,3,1.4,0.1,Iris-setosa
|
||||
4.3,3,1.1,0.1,Iris-setosa
|
||||
5.8,4,1.2,0.2,Iris-setosa
|
||||
5.7,4.4,1.5,0.4,Iris-setosa
|
||||
5.4,3.9,1.3,0.4,Iris-setosa
|
||||
5.1,3.5,1.4,0.3,Iris-setosa
|
||||
5.7,3.8,1.7,0.3,Iris-setosa
|
||||
5.1,3.8,1.5,0.3,Iris-setosa
|
||||
5.4,3.4,1.7,0.2,Iris-setosa
|
||||
5.1,3.7,1.5,0.4,Iris-setosa
|
||||
4.6,3.6,1,0.2,Iris-setosa
|
||||
5.1,3.3,1.7,0.5,Iris-setosa
|
||||
4.8,3.4,1.9,0.2,Iris-setosa
|
||||
5,3,1.6,0.2,Iris-setosa
|
||||
5,3.4,1.6,0.4,Iris-setosa
|
||||
5.2,3.5,1.5,0.2,Iris-setosa
|
||||
5.2,3.4,1.4,0.2,Iris-setosa
|
||||
4.7,3.2,1.6,0.2,Iris-setosa
|
||||
4.8,3.1,1.6,0.2,Iris-setosa
|
||||
5.4,3.4,1.5,0.4,Iris-setosa
|
||||
5.2,4.1,1.5,0.1,Iris-setosa
|
||||
5.5,4.2,1.4,0.2,Iris-setosa
|
||||
4.9,3.1,1.5,0.2,Iris-setosa
|
||||
5,3.2,1.2,0.2,Iris-setosa
|
||||
5.5,3.5,1.3,0.2,Iris-setosa
|
||||
4.9,3.6,1.4,0.1,Iris-setosa
|
||||
4.4,3,1.3,0.2,Iris-setosa
|
||||
5.1,3.4,1.5,0.2,Iris-setosa
|
||||
5,3.5,1.3,0.3,Iris-setosa
|
||||
4.5,2.3,1.3,0.3,Iris-setosa
|
||||
4.4,3.2,1.3,0.2,Iris-setosa
|
||||
5,3.5,1.6,0.6,Iris-setosa
|
||||
5.1,3.8,1.9,0.4,Iris-setosa
|
||||
4.8,3,1.4,0.3,Iris-setosa
|
||||
5.1,3.8,1.6,0.2,Iris-setosa
|
||||
4.6,3.2,1.4,0.2,Iris-setosa
|
||||
5.3,3.7,1.5,0.2,Iris-setosa
|
||||
5,3.3,1.4,0.2,Iris-setosa
|
||||
7,3.2,4.7,1.4,Iris-versicolor
|
||||
6.4,3.2,4.5,1.5,Iris-versicolor
|
||||
6.9,3.1,4.9,1.5,Iris-versicolor
|
||||
5.5,2.3,4,1.3,Iris-versicolor
|
||||
6.5,2.8,4.6,1.5,Iris-versicolor
|
||||
5.7,2.8,4.5,1.3,Iris-versicolor
|
||||
6.3,3.3,4.7,1.6,Iris-versicolor
|
||||
4.9,2.4,3.3,1,Iris-versicolor
|
||||
6.6,2.9,4.6,1.3,Iris-versicolor
|
||||
5.2,2.7,3.9,1.4,Iris-versicolor
|
||||
5,2,3.5,1,Iris-versicolor
|
||||
5.9,3,4.2,1.5,Iris-versicolor
|
||||
6,2.2,4,1,Iris-versicolor
|
||||
6.1,2.9,4.7,1.4,Iris-versicolor
|
||||
5.6,2.9,3.6,1.3,Iris-versicolor
|
||||
6.7,3.1,4.4,1.4,Iris-versicolor
|
||||
5.6,3,4.5,1.5,Iris-versicolor
|
||||
5.8,2.7,4.1,1,Iris-versicolor
|
||||
6.2,2.2,4.5,1.5,Iris-versicolor
|
||||
5.6,2.5,3.9,1.1,Iris-versicolor
|
||||
5.9,3.2,4.8,1.8,Iris-versicolor
|
||||
6.1,2.8,4,1.3,Iris-versicolor
|
||||
6.3,2.5,4.9,1.5,Iris-versicolor
|
||||
6.1,2.8,4.7,1.2,Iris-versicolor
|
||||
6.4,2.9,4.3,1.3,Iris-versicolor
|
||||
6.6,3,4.4,1.4,Iris-versicolor
|
||||
6.8,2.8,4.8,1.4,Iris-versicolor
|
||||
6.7,3,5,1.7,Iris-versicolor
|
||||
6,2.9,4.5,1.5,Iris-versicolor
|
||||
5.7,2.6,3.5,1,Iris-versicolor
|
||||
5.5,2.4,3.8,1.1,Iris-versicolor
|
||||
5.5,2.4,3.7,1,Iris-versicolor
|
||||
5.8,2.7,3.9,1.2,Iris-versicolor
|
||||
6,2.7,5.1,1.6,Iris-versicolor
|
||||
5.4,3,4.5,1.5,Iris-versicolor
|
||||
6,3.4,4.5,1.6,Iris-versicolor
|
||||
6.7,3.1,4.7,1.5,Iris-versicolor
|
||||
6.3,2.3,4.4,1.3,Iris-versicolor
|
||||
5.6,3,4.1,1.3,Iris-versicolor
|
||||
5.5,2.5,4,1.3,Iris-versicolor
|
||||
5.5,2.6,4.4,1.2,Iris-versicolor
|
||||
6.1,3,4.6,1.4,Iris-versicolor
|
||||
5.8,2.6,4,1.2,Iris-versicolor
|
||||
5,2.3,3.3,1,Iris-versicolor
|
||||
5.6,2.7,4.2,1.3,Iris-versicolor
|
||||
5.7,3,4.2,1.2,Iris-versicolor
|
||||
5.7,2.9,4.2,1.3,Iris-versicolor
|
||||
6.2,2.9,4.3,1.3,Iris-versicolor
|
||||
5.1,2.5,3,1.1,Iris-versicolor
|
||||
5.7,2.8,4.1,1.3,Iris-versicolor
|
||||
6.3,3.3,6,2.5,Iris-virginica
|
||||
5.8,2.7,5.1,1.9,Iris-virginica
|
||||
7.1,3,5.9,2.1,Iris-virginica
|
||||
6.3,2.9,5.6,1.8,Iris-virginica
|
||||
6.5,3,5.8,2.2,Iris-virginica
|
||||
7.6,3,6.6,2.1,Iris-virginica
|
||||
4.9,2.5,4.5,1.7,Iris-virginica
|
||||
7.3,2.9,6.3,1.8,Iris-virginica
|
||||
6.7,2.5,5.8,1.8,Iris-virginica
|
||||
7.2,3.6,6.1,2.5,Iris-virginica
|
||||
6.5,3.2,5.1,2,Iris-virginica
|
||||
6.4,2.7,5.3,1.9,Iris-virginica
|
||||
6.8,3,5.5,2.1,Iris-virginica
|
||||
5.7,2.5,5,2,Iris-virginica
|
||||
5.8,2.8,5.1,2.4,Iris-virginica
|
||||
6.4,3.2,5.3,2.3,Iris-virginica
|
||||
6.5,3,5.5,1.8,Iris-virginica
|
||||
7.7,3.8,6.7,2.2,Iris-virginica
|
||||
7.7,2.6,6.9,2.3,Iris-virginica
|
||||
6,2.2,5,1.5,Iris-virginica
|
||||
6.9,3.2,5.7,2.3,Iris-virginica
|
||||
5.6,2.8,4.9,2,Iris-virginica
|
||||
7.7,2.8,6.7,2,Iris-virginica
|
||||
6.3,2.7,4.9,1.8,Iris-virginica
|
||||
6.7,3.3,5.7,2.1,Iris-virginica
|
||||
7.2,3.2,6,1.8,Iris-virginica
|
||||
6.2,2.8,4.8,1.8,Iris-virginica
|
||||
6.1,3,4.9,1.8,Iris-virginica
|
||||
6.4,2.8,5.6,2.1,Iris-virginica
|
||||
7.2,3,5.8,1.6,Iris-virginica
|
||||
7.4,2.8,6.1,1.9,Iris-virginica
|
||||
7.9,3.8,6.4,2,Iris-virginica
|
||||
6.4,2.8,5.6,2.2,Iris-virginica
|
||||
6.3,2.8,5.1,1.5,Iris-virginica
|
||||
6.1,2.6,5.6,1.4,Iris-virginica
|
||||
7.7,3,6.1,2.3,Iris-virginica
|
||||
6.3,3.4,5.6,2.4,Iris-virginica
|
||||
6.4,3.1,5.5,1.8,Iris-virginica
|
||||
6,3,4.8,1.8,Iris-virginica
|
||||
6.9,3.1,5.4,2.1,Iris-virginica
|
||||
6.7,3.1,5.6,2.4,Iris-virginica
|
||||
6.9,3.1,5.1,2.3,Iris-virginica
|
||||
5.8,2.7,5.1,1.9,Iris-virginica
|
||||
6.8,3.2,5.9,2.3,Iris-virginica
|
||||
6.7,3.3,5.7,2.5,Iris-virginica
|
||||
6.7,3,5.2,2.3,Iris-virginica
|
||||
6.3,2.5,5,1.9,Iris-virginica
|
||||
6.5,3,5.2,2,Iris-virginica
|
||||
6.2,3.4,5.4,2.3,Iris-virginica
|
||||
5.9,3,5.1,1.8,Iris-virginica
|
|
|
@ -0,0 +1,151 @@
|
|||
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
|
||||
4.6,3.1,1.5,0.2,Iris-setosa
|
||||
5.0,3.6,1.4,0.2,Iris-setosa
|
||||
5.4,3.9,1.7,0.4,Iris-setosa
|
||||
4.6,3.4,1.4,0.3,Iris-setosa
|
||||
5.0,3.4,1.5,0.2,Iris-setosa
|
||||
4.4,2.9,1.4,0.2,Iris-setosa
|
||||
4.9,3.1,1.5,0.1,Iris-setosa
|
||||
5.4,3.7,1.5,0.2,Iris-setosa
|
||||
4.8,3.4,1.6,0.2,Iris-setosa
|
||||
4.8,3.0,1.4,0.1,Iris-setosa
|
||||
4.3,3.0,1.1,0.1,Iris-setosa
|
||||
5.8,4.0,1.2,0.2,Iris-setosa
|
||||
5.7,4.4,1.5,0.4,Iris-setosa
|
||||
5.4,3.9,1.3,0.4,Iris-setosa
|
||||
5.1,3.5,1.4,0.3,Iris-setosa
|
||||
5.7,3.8,1.7,0.3,Iris-setosa
|
||||
5.1,3.8,1.5,0.3,Iris-setosa
|
||||
5.4,3.4,1.7,0.2,Iris-setosa
|
||||
5.1,3.7,1.5,0.4,Iris-setosa
|
||||
4.6,3.6,1.0,0.2,Iris-setosa
|
||||
5.1,3.3,1.7,0.5,Iris-setosa
|
||||
4.8,3.4,1.9,0.2,Iris-setosa
|
||||
5.0,3.0,1.6,0.2,Iris-setosa
|
||||
5.0,3.4,1.6,0.4,Iris-setosa
|
||||
5.2,3.5,1.5,0.2,Iris-setosa
|
||||
5.2,3.4,1.4,0.2,Iris-setosa
|
||||
4.7,3.2,1.6,0.2,Iris-setosa
|
||||
4.8,3.1,1.6,0.2,Iris-setosa
|
||||
5.4,3.4,1.5,0.4,Iris-setosa
|
||||
5.2,4.1,1.5,0.1,Iris-setosa
|
||||
5.5,4.2,1.4,0.2,Iris-setosa
|
||||
4.9,3.1,1.5,0.1,Iris-setosa
|
||||
5.0,3.2,1.2,0.2,Iris-setosa
|
||||
5.5,3.5,1.3,0.2,Iris-setosa
|
||||
4.9,3.1,1.5,0.1,Iris-setosa
|
||||
4.4,3.0,1.3,0.2,Iris-setosa
|
||||
5.1,3.4,1.5,0.2,Iris-setosa
|
||||
5.0,3.5,1.3,0.3,Iris-setosa
|
||||
4.5,2.3,1.3,0.3,Iris-setosa
|
||||
4.4,3.2,1.3,0.2,Iris-setosa
|
||||
5.0,3.5,1.6,0.6,Iris-setosa
|
||||
5.1,3.8,1.9,0.4,Iris-setosa
|
||||
4.8,3.0,1.4,0.3,Iris-setosa
|
||||
5.1,3.8,1.6,0.2,Iris-setosa
|
||||
4.6,3.2,1.4,0.2,Iris-setosa
|
||||
5.3,3.7,1.5,0.2,Iris-setosa
|
||||
5.0,3.3,1.4,0.2,Iris-setosa
|
||||
7.0,3.2,4.7,1.4,Iris-versicolor
|
||||
6.4,3.2,4.5,1.5,Iris-versicolor
|
||||
6.9,3.1,4.9,1.5,Iris-versicolor
|
||||
5.5,2.3,4.0,1.3,Iris-versicolor
|
||||
6.5,2.8,4.6,1.5,Iris-versicolor
|
||||
5.7,2.8,4.5,1.3,Iris-versicolor
|
||||
6.3,3.3,4.7,1.6,Iris-versicolor
|
||||
4.9,2.4,3.3,1.0,Iris-versicolor
|
||||
6.6,2.9,4.6,1.3,Iris-versicolor
|
||||
5.2,2.7,3.9,1.4,Iris-versicolor
|
||||
5.0,2.0,3.5,1.0,Iris-versicolor
|
||||
5.9,3.0,4.2,1.5,Iris-versicolor
|
||||
6.0,2.2,4.0,1.0,Iris-versicolor
|
||||
6.1,2.9,4.7,1.4,Iris-versicolor
|
||||
5.6,2.9,3.6,1.3,Iris-versicolor
|
||||
6.7,3.1,4.4,1.4,Iris-versicolor
|
||||
5.6,3.0,4.5,1.5,Iris-versicolor
|
||||
5.8,2.7,4.1,1.0,Iris-versicolor
|
||||
6.2,2.2,4.5,1.5,Iris-versicolor
|
||||
5.6,2.5,3.9,1.1,Iris-versicolor
|
||||
5.9,3.2,4.8,1.8,Iris-versicolor
|
||||
6.1,2.8,4.0,1.3,Iris-versicolor
|
||||
6.3,2.5,4.9,1.5,Iris-versicolor
|
||||
6.1,2.8,4.7,1.2,Iris-versicolor
|
||||
6.4,2.9,4.3,1.3,Iris-versicolor
|
||||
6.6,3.0,4.4,1.4,Iris-versicolor
|
||||
6.8,2.8,4.8,1.4,Iris-versicolor
|
||||
6.7,3.0,5.0,1.7,Iris-versicolor
|
||||
6.0,2.9,4.5,1.5,Iris-versicolor
|
||||
5.7,2.6,3.5,1.0,Iris-versicolor
|
||||
5.5,2.4,3.8,1.1,Iris-versicolor
|
||||
5.5,2.4,3.7,1.0,Iris-versicolor
|
||||
5.8,2.7,3.9,1.2,Iris-versicolor
|
||||
6.0,2.7,5.1,1.6,Iris-versicolor
|
||||
5.4,3.0,4.5,1.5,Iris-versicolor
|
||||
6.0,3.4,4.5,1.6,Iris-versicolor
|
||||
6.7,3.1,4.7,1.5,Iris-versicolor
|
||||
6.3,2.3,4.4,1.3,Iris-versicolor
|
||||
5.6,3.0,4.1,1.3,Iris-versicolor
|
||||
5.5,2.5,4.0,1.3,Iris-versicolor
|
||||
5.5,2.6,4.4,1.2,Iris-versicolor
|
||||
6.1,3.0,4.6,1.4,Iris-versicolor
|
||||
5.8,2.6,4.0,1.2,Iris-versicolor
|
||||
5.0,2.3,3.3,1.0,Iris-versicolor
|
||||
5.6,2.7,4.2,1.3,Iris-versicolor
|
||||
5.7,3.0,4.2,1.2,Iris-versicolor
|
||||
5.7,2.9,4.2,1.3,Iris-versicolor
|
||||
6.2,2.9,4.3,1.3,Iris-versicolor
|
||||
5.1,2.5,3.0,1.1,Iris-versicolor
|
||||
5.7,2.8,4.1,1.3,Iris-versicolor
|
||||
6.3,3.3,6.0,2.5,Iris-virginica
|
||||
5.8,2.7,5.1,1.9,Iris-virginica
|
||||
7.1,3.0,5.9,2.1,Iris-virginica
|
||||
6.3,2.9,5.6,1.8,Iris-virginica
|
||||
6.5,3.0,5.8,2.2,Iris-virginica
|
||||
7.6,3.0,6.6,2.1,Iris-virginica
|
||||
4.9,2.5,4.5,1.7,Iris-virginica
|
||||
7.3,2.9,6.3,1.8,Iris-virginica
|
||||
6.7,2.5,5.8,1.8,Iris-virginica
|
||||
7.2,3.6,6.1,2.5,Iris-virginica
|
||||
6.5,3.2,5.1,2.0,Iris-virginica
|
||||
6.4,2.7,5.3,1.9,Iris-virginica
|
||||
6.8,3.0,5.5,2.1,Iris-virginica
|
||||
5.7,2.5,5.0,2.0,Iris-virginica
|
||||
5.8,2.8,5.1,2.4,Iris-virginica
|
||||
6.4,3.2,5.3,2.3,Iris-virginica
|
||||
6.5,3.0,5.5,1.8,Iris-virginica
|
||||
7.7,3.8,6.7,2.2,Iris-virginica
|
||||
7.7,2.6,6.9,2.3,Iris-virginica
|
||||
6.0,2.2,5.0,1.5,Iris-virginica
|
||||
6.9,3.2,5.7,2.3,Iris-virginica
|
||||
5.6,2.8,4.9,2.0,Iris-virginica
|
||||
7.7,2.8,6.7,2.0,Iris-virginica
|
||||
6.3,2.7,4.9,1.8,Iris-virginica
|
||||
6.7,3.3,5.7,2.1,Iris-virginica
|
||||
7.2,3.2,6.0,1.8,Iris-virginica
|
||||
6.2,2.8,4.8,1.8,Iris-virginica
|
||||
6.1,3.0,4.9,1.8,Iris-virginica
|
||||
6.4,2.8,5.6,2.1,Iris-virginica
|
||||
7.2,3.0,5.8,1.6,Iris-virginica
|
||||
7.4,2.8,6.1,1.9,Iris-virginica
|
||||
7.9,3.8,6.4,2.0,Iris-virginica
|
||||
6.4,2.8,5.6,2.2,Iris-virginica
|
||||
6.3,2.8,5.1,1.5,Iris-virginica
|
||||
6.1,2.6,5.6,1.4,Iris-virginica
|
||||
7.7,3.0,6.1,2.3,Iris-virginica
|
||||
6.3,3.4,5.6,2.4,Iris-virginica
|
||||
6.4,3.1,5.5,1.8,Iris-virginica
|
||||
6.0,3.0,4.8,1.8,Iris-virginica
|
||||
6.9,3.1,5.4,2.1,Iris-virginica
|
||||
6.7,3.1,5.6,2.4,Iris-virginica
|
||||
6.9,3.1,5.1,2.3,Iris-virginica
|
||||
5.8,2.7,5.1,1.9,Iris-virginica
|
||||
6.8,3.2,5.9,2.3,Iris-virginica
|
||||
6.7,3.3,5.7,2.5,Iris-virginica
|
||||
6.7,3.0,5.2,2.3,Iris-virginica
|
||||
6.3,2.5,5.0,1.9,Iris-virginica
|
||||
6.5,3.0,5.2,2.0,Iris-virginica
|
||||
6.2,3.4,5.4,2.3,Iris-virginica
|
||||
5.9,3.0,5.1,1.8,Iris-virginica
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
t,r,s
|
||||
0.241,0.39,0.98
|
||||
.615,0.72,1.01
|
||||
1.00,1.00,1.00
|
||||
1.88,1.52,1.01
|
||||
11.8,5.20,0.99
|
||||
29.5,9.54,1.00
|
||||
84.0,19.18,1.00
|
||||
165,30.06,1.00
|
||||
248,39.44,1.00
|
|
|
@ -0,0 +1,4 @@
|
|||
a0,d1,d0,s
|
||||
0,2,1,0
|
||||
0,3,0,0
|
||||
1,4,1,1
|
|
|
@ -0,0 +1,151 @@
|
|||
a,b,c,s
|
||||
5.1,3.5,1.4,0
|
||||
4.9,3,1.4,0
|
||||
4.7,3.2,1.3,0
|
||||
4.6,3.1,1.5,0
|
||||
5,3.6,1.4,0
|
||||
5.4,3.9,1.7,0
|
||||
4.6,3.4,1.4,0
|
||||
5,3.4,1.5,0
|
||||
4.4,2.9,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5.4,3.7,1.5,0
|
||||
4.8,3.4,1.6,0
|
||||
4.8,3,1.4,0
|
||||
4.3,3,1.1,0
|
||||
5.8,4,1.2,0
|
||||
5.7,4.4,1.5,0
|
||||
5.4,3.9,1.3,0
|
||||
5.1,3.5,1.4,0
|
||||
5.7,3.8,1.7,0
|
||||
5.1,3.8,1.5,0
|
||||
5.4,3.4,1.7,0
|
||||
5.1,3.7,1.5,0
|
||||
4.6,3.6,1,0
|
||||
5.1,3.3,1.7,0
|
||||
4.8,3.4,1.9,0
|
||||
5,3,1.6,0
|
||||
5,3.4,1.6,0
|
||||
5.2,3.5,1.5,0
|
||||
5.2,3.4,1.4,0
|
||||
4.7,3.2,1.6,0
|
||||
4.8,3.1,1.6,0
|
||||
5.4,3.4,1.5,0
|
||||
5.2,4.1,1.5,0
|
||||
5.5,4.2,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5,3.2,1.2,0
|
||||
5.5,3.5,1.3,0
|
||||
4.9,3.6,1.4,0
|
||||
4.4,3,1.3,0
|
||||
5.1,3.4,1.5,0
|
||||
5,3.5,1.3,0
|
||||
4.5,2.3,1.3,0
|
||||
4.4,3.2,1.3,0
|
||||
5,3.5,1.6,0
|
||||
5.1,3.8,1.9,0
|
||||
4.8,3,1.4,0
|
||||
5.1,3.8,1.6,0
|
||||
4.6,3.2,1.4,0
|
||||
5.3,3.7,1.5,0
|
||||
5,3.3,1.4,0
|
||||
7,3.2,4.7,1
|
||||
6.4,3.2,4.5,1
|
||||
6.9,3.1,4.9,1
|
||||
5.5,2.3,4,1
|
||||
6.5,2.8,4.6,1
|
||||
5.7,2.8,4.5,1
|
||||
6.3,3.3,4.7,1
|
||||
4.9,2.4,3.3,1
|
||||
6.6,2.9,4.6,1
|
||||
5.2,2.7,3.9,1
|
||||
5,2,3.5,1
|
||||
5.9,3,4.2,1
|
||||
6,2.2,4,1
|
||||
6.1,2.9,4.7,1
|
||||
5.6,2.9,3.6,1
|
||||
6.7,3.1,4.4,1
|
||||
5.6,3,4.5,1
|
||||
5.8,2.7,4.1,1
|
||||
6.2,2.2,4.5,1
|
||||
5.6,2.5,3.9,1
|
||||
5.9,3.2,4.8,1
|
||||
6.1,2.8,4,1
|
||||
6.3,2.5,4.9,1
|
||||
6.1,2.8,4.7,1
|
||||
6.4,2.9,4.3,1
|
||||
6.6,3,4.4,1
|
||||
6.8,2.8,4.8,1
|
||||
6.7,3,5,1
|
||||
6,2.9,4.5,1
|
||||
5.7,2.6,3.5,1
|
||||
5.5,2.4,3.8,1
|
||||
5.5,2.4,3.7,1
|
||||
5.8,2.7,3.9,1
|
||||
6,2.7,5.1,1
|
||||
5.4,3,4.5,1
|
||||
6,3.4,4.5,1
|
||||
6.7,3.1,4.7,1
|
||||
6.3,2.3,4.4,1
|
||||
5.6,3,4.1,1
|
||||
5.5,2.5,4,1
|
||||
5.5,2.6,4.4,1
|
||||
6.1,3,4.6,1
|
||||
5.8,2.6,4,1
|
||||
5,2.3,3.3,1
|
||||
5.6,2.7,4.2,1
|
||||
5.7,3,4.2,1
|
||||
5.7,2.9,4.2,1
|
||||
6.2,2.9,4.3,1
|
||||
5.1,2.5,3,1
|
||||
5.7,2.8,4.1,1
|
||||
6.3,3.3,6,2
|
||||
5.8,2.7,5.1,2
|
||||
7.1,3,5.9,2
|
||||
6.3,2.9,5.6,2
|
||||
6.5,3,5.8,2
|
||||
7.6,3,6.6,2
|
||||
4.9,2.5,4.5,2
|
||||
7.3,2.9,6.3,2
|
||||
6.7,2.5,5.8,2
|
||||
7.2,3.6,6.1,2
|
||||
6.5,3.2,5.1,2
|
||||
6.4,2.7,5.3,2
|
||||
6.8,3,5.5,2
|
||||
5.7,2.5,5,2
|
||||
5.8,2.8,5.1,2
|
||||
6.4,3.2,5.3,2
|
||||
6.5,3,5.5,2
|
||||
7.7,3.8,6.7,2
|
||||
7.7,2.6,6.9,2
|
||||
6,2.2,5,2
|
||||
6.9,3.2,5.7,2
|
||||
5.6,2.8,4.9,2
|
||||
7.7,2.8,6.7,2
|
||||
6.3,2.7,4.9,2
|
||||
6.7,3.3,5.7,2
|
||||
7.2,3.2,6,2
|
||||
6.2,2.8,4.8,2
|
||||
6.1,3,4.9,2
|
||||
6.4,2.8,5.6,2
|
||||
7.2,3,5.8,2
|
||||
7.4,2.8,6.1,2
|
||||
7.9,3.8,6.4,2
|
||||
6.4,2.8,5.6,2
|
||||
6.3,2.8,5.1,2
|
||||
6.1,2.6,5.6,2
|
||||
7.7,3,6.1,2
|
||||
6.3,3.4,5.6,2
|
||||
6.4,3.1,5.5,2
|
||||
6,3,4.8,2
|
||||
6.9,3.1,5.4,2
|
||||
6.7,3.1,5.6,2
|
||||
6.9,3.1,5.1,2
|
||||
5.8,2.7,5.1,2
|
||||
6.8,3.2,5.9,2
|
||||
6.7,3.3,5.7,2
|
||||
6.7,3,5.2,2
|
||||
6.3,2.5,5,2
|
||||
6.5,3,5.2,2
|
||||
6.2,3.4,5.4,2
|
||||
5.9,3,5.1,2
|
|
|
@ -0,0 +1,6 @@
|
|||
a,b,c,s
|
||||
0,1,2,3
|
||||
1,2,3,6
|
||||
2,3,4,9
|
||||
3,4,5,12
|
||||
4,5,6,15
|
|
|
@ -0,0 +1,6 @@
|
|||
a,b,c,s
|
||||
0,1,2,3
|
||||
1,2,3,6
|
||||
2,3,4,9
|
||||
3,4,5,12
|
||||
4,5,6,15
|
|
|
@ -0,0 +1,5 @@
|
|||
operand, arity
|
||||
+,2
|
||||
-,2
|
||||
*,2
|
||||
/,2
|
|
|
@ -0,0 +1,4 @@
|
|||
operand, arity
|
||||
and,2
|
||||
or,2
|
||||
not,1
|
|
|
@ -0,0 +1,5 @@
|
|||
operand, arity
|
||||
+,2
|
||||
-,2
|
||||
*,2
|
||||
/,2
|
|
|
@ -0,0 +1,5 @@
|
|||
operand, arity
|
||||
+,2
|
||||
-,2
|
||||
*,2
|
||||
/,2
|
|
|
@ -0,0 +1,5 @@
|
|||
operand, arity
|
||||
+,2
|
||||
-,2
|
||||
*,2
|
||||
/,2
|
|
|
@ -0,0 +1,101 @@
|
|||
a,b,c,s
|
||||
5.1,3.5,1.4,0
|
||||
4.9,3,1.4,0
|
||||
4.7,3.2,1.3,0
|
||||
4.6,3.1,1.5,0
|
||||
5,3.6,1.4,0
|
||||
5.4,3.9,1.7,0
|
||||
4.6,3.4,1.4,0
|
||||
5,3.4,1.5,0
|
||||
4.4,2.9,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5.4,3.7,1.5,0
|
||||
4.8,3.4,1.6,0
|
||||
4.8,3,1.4,0
|
||||
4.3,3,1.1,0
|
||||
5.8,4,1.2,0
|
||||
5.7,4.4,1.5,0
|
||||
5.4,3.9,1.3,0
|
||||
5.1,3.5,1.4,0
|
||||
5.7,3.8,1.7,0
|
||||
5.1,3.8,1.5,0
|
||||
5.4,3.4,1.7,0
|
||||
5.1,3.7,1.5,0
|
||||
4.6,3.6,1,0
|
||||
5.1,3.3,1.7,0
|
||||
4.8,3.4,1.9,0
|
||||
5,3,1.6,0
|
||||
5,3.4,1.6,0
|
||||
5.2,3.5,1.5,0
|
||||
5.2,3.4,1.4,0
|
||||
4.7,3.2,1.6,0
|
||||
4.8,3.1,1.6,0
|
||||
5.4,3.4,1.5,0
|
||||
5.2,4.1,1.5,0
|
||||
5.5,4.2,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5,3.2,1.2,0
|
||||
5.5,3.5,1.3,0
|
||||
4.9,3.6,1.4,0
|
||||
4.4,3,1.3,0
|
||||
5.1,3.4,1.5,0
|
||||
5,3.5,1.3,0
|
||||
4.5,2.3,1.3,0
|
||||
4.4,3.2,1.3,0
|
||||
5,3.5,1.6,0
|
||||
5.1,3.8,1.9,0
|
||||
4.8,3,1.4,0
|
||||
5.1,3.8,1.6,0
|
||||
4.6,3.2,1.4,0
|
||||
5.3,3.7,1.5,0
|
||||
5,3.3,1.4,0
|
||||
7,3.2,4.7,1
|
||||
6.4,3.2,4.5,1
|
||||
6.9,3.1,4.9,1
|
||||
5.5,2.3,4,1
|
||||
6.5,2.8,4.6,1
|
||||
5.7,2.8,4.5,1
|
||||
6.3,3.3,4.7,1
|
||||
4.9,2.4,3.3,1
|
||||
6.6,2.9,4.6,1
|
||||
5.2,2.7,3.9,1
|
||||
5,2,3.5,1
|
||||
5.9,3,4.2,1
|
||||
6,2.2,4,1
|
||||
6.1,2.9,4.7,1
|
||||
5.6,2.9,3.6,1
|
||||
6.7,3.1,4.4,1
|
||||
5.6,3,4.5,1
|
||||
5.8,2.7,4.1,1
|
||||
6.2,2.2,4.5,1
|
||||
5.6,2.5,3.9,1
|
||||
5.9,3.2,4.8,1
|
||||
6.1,2.8,4,1
|
||||
6.3,2.5,4.9,1
|
||||
6.1,2.8,4.7,1
|
||||
6.4,2.9,4.3,1
|
||||
6.6,3,4.4,1
|
||||
6.8,2.8,4.8,1
|
||||
6.7,3,5,1
|
||||
6,2.9,4.5,1
|
||||
5.7,2.6,3.5,1
|
||||
5.5,2.4,3.8,1
|
||||
5.5,2.4,3.7,1
|
||||
5.8,2.7,3.9,1
|
||||
6,2.7,5.1,1
|
||||
5.4,3,4.5,1
|
||||
6,3.4,4.5,1
|
||||
6.7,3.1,4.7,1
|
||||
6.3,2.3,4.4,1
|
||||
5.6,3,4.1,1
|
||||
5.5,2.5,4,1
|
||||
5.5,2.6,4.4,1
|
||||
6.1,3,4.6,1
|
||||
5.8,2.6,4,1
|
||||
5,2.3,3.3,1
|
||||
5.6,2.7,4.2,1
|
||||
5.7,3,4.2,1
|
||||
5.7,2.9,4.2,1
|
||||
6.2,2.9,4.3,1
|
||||
5.1,2.5,3,1
|
||||
5.7,2.8,4.1,1
|
|
|
@ -0,0 +1,151 @@
|
|||
a,b,c,s
|
||||
5.1,3.5,1.4,0
|
||||
4.9,3,1.4,0
|
||||
4.7,3.2,1.3,0
|
||||
4.6,3.1,1.5,0
|
||||
5,3.6,1.4,0
|
||||
5.4,3.9,1.7,0
|
||||
4.6,3.4,1.4,0
|
||||
5,3.4,1.5,0
|
||||
4.4,2.9,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5.4,3.7,1.5,0
|
||||
4.8,3.4,1.6,0
|
||||
4.8,3,1.4,0
|
||||
4.3,3,1.1,0
|
||||
5.8,4,1.2,0
|
||||
5.7,4.4,1.5,0
|
||||
5.4,3.9,1.3,0
|
||||
5.1,3.5,1.4,0
|
||||
5.7,3.8,1.7,0
|
||||
5.1,3.8,1.5,0
|
||||
5.4,3.4,1.7,0
|
||||
5.1,3.7,1.5,0
|
||||
4.6,3.6,1,0
|
||||
5.1,3.3,1.7,0
|
||||
4.8,3.4,1.9,0
|
||||
5,3,1.6,0
|
||||
5,3.4,1.6,0
|
||||
5.2,3.5,1.5,0
|
||||
5.2,3.4,1.4,0
|
||||
4.7,3.2,1.6,0
|
||||
4.8,3.1,1.6,0
|
||||
5.4,3.4,1.5,0
|
||||
5.2,4.1,1.5,0
|
||||
5.5,4.2,1.4,0
|
||||
4.9,3.1,1.5,0
|
||||
5,3.2,1.2,0
|
||||
5.5,3.5,1.3,0
|
||||
4.9,3.6,1.4,0
|
||||
4.4,3,1.3,0
|
||||
5.1,3.4,1.5,0
|
||||
5,3.5,1.3,0
|
||||
4.5,2.3,1.3,0
|
||||
4.4,3.2,1.3,0
|
||||
5,3.5,1.6,0
|
||||
5.1,3.8,1.9,0
|
||||
4.8,3,1.4,0
|
||||
5.1,3.8,1.6,0
|
||||
4.6,3.2,1.4,0
|
||||
5.3,3.7,1.5,0
|
||||
5,3.3,1.4,0
|
||||
7,3.2,4.7,1
|
||||
6.4,3.2,4.5,1
|
||||
6.9,3.1,4.9,1
|
||||
5.5,2.3,4,1
|
||||
6.5,2.8,4.6,1
|
||||
5.7,2.8,4.5,1
|
||||
6.3,3.3,4.7,1
|
||||
4.9,2.4,3.3,1
|
||||
6.6,2.9,4.6,1
|
||||
5.2,2.7,3.9,1
|
||||
5,2,3.5,1
|
||||
5.9,3,4.2,1
|
||||
6,2.2,4,1
|
||||
6.1,2.9,4.7,1
|
||||
5.6,2.9,3.6,1
|
||||
6.7,3.1,4.4,1
|
||||
5.6,3,4.5,1
|
||||
5.8,2.7,4.1,1
|
||||
6.2,2.2,4.5,1
|
||||
5.6,2.5,3.9,1
|
||||
5.9,3.2,4.8,1
|
||||
6.1,2.8,4,1
|
||||
6.3,2.5,4.9,1
|
||||
6.1,2.8,4.7,1
|
||||
6.4,2.9,4.3,1
|
||||
6.6,3,4.4,1
|
||||
6.8,2.8,4.8,1
|
||||
6.7,3,5,1
|
||||
6,2.9,4.5,1
|
||||
5.7,2.6,3.5,1
|
||||
5.5,2.4,3.8,1
|
||||
5.5,2.4,3.7,1
|
||||
5.8,2.7,3.9,1
|
||||
6,2.7,5.1,1
|
||||
5.4,3,4.5,1
|
||||
6,3.4,4.5,1
|
||||
6.7,3.1,4.7,1
|
||||
6.3,2.3,4.4,1
|
||||
5.6,3,4.1,1
|
||||
5.5,2.5,4,1
|
||||
5.5,2.6,4.4,1
|
||||
6.1,3,4.6,1
|
||||
5.8,2.6,4,1
|
||||
5,2.3,3.3,1
|
||||
5.6,2.7,4.2,1
|
||||
5.7,3,4.2,1
|
||||
5.7,2.9,4.2,1
|
||||
6.2,2.9,4.3,1
|
||||
5.1,2.5,3,1
|
||||
5.7,2.8,4.1,1
|
||||
6.3,3.3,6,2
|
||||
5.8,2.7,5.1,2
|
||||
7.1,3,5.9,2
|
||||
6.3,2.9,5.6,2
|
||||
6.5,3,5.8,2
|
||||
7.6,3,6.6,2
|
||||
4.9,2.5,4.5,2
|
||||
7.3,2.9,6.3,2
|
||||
6.7,2.5,5.8,2
|
||||
7.2,3.6,6.1,2
|
||||
6.5,3.2,5.1,2
|
||||
6.4,2.7,5.3,2
|
||||
6.8,3,5.5,2
|
||||
5.7,2.5,5,2
|
||||
5.8,2.8,5.1,2
|
||||
6.4,3.2,5.3,2
|
||||
6.5,3,5.5,2
|
||||
7.7,3.8,6.7,2
|
||||
7.7,2.6,6.9,2
|
||||
6,2.2,5,2
|
||||
6.9,3.2,5.7,2
|
||||
5.6,2.8,4.9,2
|
||||
7.7,2.8,6.7,2
|
||||
6.3,2.7,4.9,2
|
||||
6.7,3.3,5.7,2
|
||||
7.2,3.2,6,2
|
||||
6.2,2.8,4.8,2
|
||||
6.1,3,4.9,2
|
||||
6.4,2.8,5.6,2
|
||||
7.2,3,5.8,2
|
||||
7.4,2.8,6.1,2
|
||||
7.9,3.8,6.4,2
|
||||
6.4,2.8,5.6,2
|
||||
6.3,2.8,5.1,2
|
||||
6.1,2.6,5.6,2
|
||||
7.7,3,6.1,2
|
||||
6.3,3.4,5.6,2
|
||||
6.4,3.1,5.5,2
|
||||
6,3,4.8,2
|
||||
6.9,3.1,5.4,2
|
||||
6.7,3.1,5.6,2
|
||||
6.9,3.1,5.1,2
|
||||
5.8,2.7,5.1,2
|
||||
6.8,3.2,5.9,2
|
||||
6.7,3.3,5.7,2
|
||||
6.7,3,5.2,2
|
||||
6.3,2.5,5,2
|
||||
6.5,3,5.2,2
|
||||
6.2,3.4,5.4,2
|
||||
5.9,3,5.1,2
|
|
|
@ -0,0 +1,10 @@
|
|||
p,a,s
|
||||
0.241,0.39,0.98
|
||||
.615,0.72,1.01
|
||||
1.00,1.00,1.00
|
||||
1.88,1.52,1.01
|
||||
11.8,5.20,0.99
|
||||
29.5,9.54,1.00
|
||||
84.0,19.18,1.00
|
||||
165,30.06,1.00
|
||||
248,39.44,1.00
|
|
|
@ -0,0 +1,6 @@
|
|||
a,b,s
|
||||
1,2,1
|
||||
2,2,4
|
||||
3,2,9
|
||||
4,2,16
|
||||
5,2,25
|
|
|
@ -0,0 +1,10 @@
|
|||
a,b,s
|
||||
4,10,20
|
||||
9,10,30
|
||||
16,10,40
|
||||
25,10,50
|
||||
36,10,60
|
||||
49,10,70
|
||||
64,10,80
|
||||
81,10,90
|
||||
100,10,100
|
|
|
@ -0,0 +1,11 @@
|
|||
a,b,c,s
|
||||
0,1,2,3
|
||||
1,2,3,6
|
||||
2,3,4,9
|
||||
3,4,5,12
|
||||
4,5,6,15
|
||||
5,6,7,18
|
||||
6,7,8,21
|
||||
7,8,9,24
|
||||
8,9,10,27
|
||||
9,10,11,30
|
|
|
@ -0,0 +1,4 @@
|
|||
a,b,c,s
|
||||
1,2,45,0.5253219888
|
||||
2,0,22,-1.9999216528
|
||||
10,3,-5,2.8366218546
|
|
|
@ -0,0 +1,5 @@
|
|||
# arithmetic operands
|
||||
*,2
|
||||
+,2
|
||||
-,2
|
||||
/,2
|
|
|
@ -0,0 +1,5 @@
|
|||
# boolean operands
|
||||
and,2
|
||||
or,2
|
||||
if,3
|
||||
not,1
|
|
|
@ -0,0 +1,21 @@
|
|||
# trig operands,
|
||||
+,2
|
||||
-,2
|
||||
*,2
|
||||
/,2
|
||||
+,2
|
||||
-,2
|
||||
*,2
|
||||
/,2
|
||||
+,2
|
||||
-,2
|
||||
*,2
|
||||
/,2
|
||||
+,2
|
||||
-,2
|
||||
*,2
|
||||
/,2
|
||||
+ cos,2
|
||||
- cos,2
|
||||
* cos,2
|
||||
/ cos,2
|
|
|
@ -0,0 +1,55 @@
|
|||
NATIVE PYTHON OPERATORS
|
||||
www.tutorialspoint.com/python/python_basic_operators.htm
|
||||
|
||||
** Exponentiation (raise to the power)
|
||||
~ + - Complement, unary plus and minus (method names for the last two are +@ and -@)
|
||||
* / % // Multiply, divide, modulo and floor division
|
||||
+ - Addition and subtraction
|
||||
|
||||
>> << Right and left bitwise shift
|
||||
|
||||
& Bitwise 'AND'td>
|
||||
^ | Bitwise exclusive `OR' and regular `OR'
|
||||
|
||||
<= < > >= Comparison operators
|
||||
<> == != Equality operators
|
||||
|
||||
is is not Identity operators
|
||||
in not in Membership operators
|
||||
not or and Logical operators
|
||||
|
||||
= %= /= //= -= += *= **= Assignment operators
|
||||
|
||||
|
||||
GP OPERAND GROUPS
|
||||
(copy / paste into functions.cvs, giving weight through quantity of copies)
|
||||
|
||||
+,2
|
||||
-,2
|
||||
*,2
|
||||
/,2
|
||||
**,2 (not recommended)
|
||||
|
||||
and,2 or &,2 ???
|
||||
or,2 or |,2 ???
|
||||
not,1 or !,2 ??? # need to get 'not' to not fall at the end
|
||||
|
||||
+ sin,2
|
||||
- sin,2
|
||||
* sin,2
|
||||
/ sin,2
|
||||
|
||||
+ cos,2
|
||||
- cos,2
|
||||
* cos,2
|
||||
/ cos,2
|
||||
|
||||
+ exp,2
|
||||
- exp,2
|
||||
* exp,2
|
||||
/ exp,2
|
||||
|
||||
+ sqrt,2
|
||||
+ sqrt,2
|
||||
- sqrt,2
|
||||
/ sqrt,2
|
|
@ -0,0 +1,216 @@
|
|||
# Karoo GP Main
|
||||
# Use Genetic Programming for Classification and Symbolic Regression
|
||||
# by Kai Staats, MSc UCT / AIMS
|
||||
# Much thanks to Emmanuel Dufourq and Arun Kumar for their support, guidance, and free psychotherapy sessions
|
||||
# ver. 20151018
|
||||
|
||||
'''
|
||||
A NOTE TO THE NEWBIE, EXPERT, AND BRAVE
|
||||
Even if you are highly experienced in Genetic Programming, it is recommended that you review the 'Karoo Quick Start' before running
|
||||
this application. While your computer will not burst into flames nor will the sun collapse into a black hole if you do not, you will
|
||||
likely find more enjoyment of this particular flavour of GP with a little understanding of its intent and design.
|
||||
'''
|
||||
|
||||
import sys; sys.path.append('modules/') # add the directory 'modules' to the current path
|
||||
import karoo_gp_base_class; gp = karoo_gp_base_class.Base_GP()
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
# User Defined Configuration |
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
'''
|
||||
Karoo GP queries the user for key parameters, some of which may be adjusted during run-time
|
||||
at user invoked pauses. See the User Guide for meaning and value of each of the following parameters.
|
||||
|
||||
Future versions will enable all of these parameters to be configured via an external configuration file and/or
|
||||
command-line arguments passed at launch.
|
||||
'''
|
||||
|
||||
gp.karoo_banner('main')
|
||||
|
||||
print ''
|
||||
|
||||
while True:
|
||||
try:
|
||||
gp.kernel = raw_input('\t Select (a)bs diff, (c)lassify, (m)atch, or (p)lay (default m): ')
|
||||
if gp.kernel not in ('a','b','c','m','p',''): raise ValueError()
|
||||
gp.kernel = gp.kernel or 'm'; break
|
||||
except ValueError: print '\033[32mSelect from the options given. Try again ...\n\033[0;0m'
|
||||
|
||||
if gp.kernel == 'c':
|
||||
|
||||
n = range(1,101)
|
||||
while True:
|
||||
try:
|
||||
gp.class_labels = raw_input('\t Enter the number of class labels (default 3): ')
|
||||
if gp.class_labels not in str(n) and gp.class_labels not in '': raise ValueError()
|
||||
if gp.class_labels == '0': gp.class_labels = 3; break
|
||||
gp.class_labels = gp.class_labels or 3; gp.class_labels = int(gp.class_labels); break
|
||||
except ValueError: print '\033[32mSelect from the options given. Try again ...\n\033[0;0m'
|
||||
|
||||
# while True:
|
||||
# try:
|
||||
# gp.class_type = raw_input('\t Select (f)inite or (i)finite classification (default i): ')
|
||||
# if gp.class_type not in ('f','i',''): raise ValueError()
|
||||
# gp.class_type = gp.class_type or 'i'; break
|
||||
# except ValueError: print '\033[32mSelect from the options given. Try again ...\n\033[0;0m'
|
||||
|
||||
while True:
|
||||
try:
|
||||
tree_type = raw_input('\t Select (f)ull, (g)row, or (r)amped 50/50 method (default r): ')
|
||||
if tree_type not in ('f','g','r',''): raise ValueError()
|
||||
tree_type = tree_type or 'r'; break
|
||||
except ValueError: print '\033[32mSelect from the options given. Try again ...\n\033[0;0m'
|
||||
|
||||
n = range(1,11)
|
||||
while True:
|
||||
try:
|
||||
tree_depth_max = raw_input('\t Enter maximum depth of each Tree (default 3): ')
|
||||
if tree_depth_max not in str(n) and tree_depth_max not in '': raise ValueError()
|
||||
if tree_depth_max == '0': tree_depth_max = 1; break
|
||||
tree_depth_max = tree_depth_max or 3; tree_depth_max = int(tree_depth_max); break
|
||||
except ValueError: print '\033[32mEnter a number from 3 including 10. Try again ...\n\033[0;0m'
|
||||
|
||||
if gp.kernel == 'p': # if the Play kernel is selected
|
||||
gp.tree_pop_max = 1
|
||||
gp.display = 'm'
|
||||
|
||||
else: # if any other kernel is selected
|
||||
|
||||
n = range(3,101)
|
||||
while True:
|
||||
try:
|
||||
gp.tree_depth_min = raw_input('\t Enter minimum number of nodes for any given Tree (default 3): ')
|
||||
if gp.tree_depth_min not in (str(n)) and gp.tree_depth_min not in (''): raise ValueError()
|
||||
if gp.tree_depth_min == '0': gp.tree_depth_min = 3; break
|
||||
gp.tree_depth_min = gp.tree_depth_min or 3; gp.tree_depth_min = int(gp.tree_depth_min); break
|
||||
except ValueError: print '\033[32mEnter a number from 3 to 2^(depth + 1) - 1 including 100. Try again ...\n\033[0;0m'
|
||||
|
||||
n = range(10,1001)
|
||||
while True:
|
||||
try:
|
||||
gp.tree_pop_max = raw_input('\t Enter number of Trees in each Generation (default 100): ')
|
||||
if gp.tree_pop_max not in (str(n)) and gp.tree_pop_max not in (''): raise ValueError()
|
||||
if gp.tree_pop_max == '0': gp.tree_pop_max = 100; break
|
||||
gp.tree_pop_max = gp.tree_pop_max or 100; gp.tree_pop_max = int(gp.tree_pop_max); break
|
||||
except ValueError: print '\033[32mEnter a number from 10 including 1000. Try again ...\n\033[0;0m'
|
||||
|
||||
n = range(1,101)
|
||||
while True:
|
||||
try:
|
||||
gp.generation_max = raw_input('\t Enter max number of Generations (default 10): ')
|
||||
if gp.generation_max not in (str(n)) and gp.generation_max not in (''): raise ValueError()
|
||||
if gp.generation_max == '0': gp.generation_max = 10; break
|
||||
gp.generation_max = gp.generation_max or 10; gp.generation_max = int(gp.generation_max); break
|
||||
except ValueError: print '\033[32mEnter a number from 1 including 100. Try again ...\n\033[0;0m'
|
||||
|
||||
while True:
|
||||
try:
|
||||
gp.display = raw_input('\t Display (i)nteractive, (m)iminal, (g)eneration, or (s)ilent (default m): ')
|
||||
if gp.display not in ('i','m','g','s','db','t',''): raise ValueError()
|
||||
gp.display = gp.display or 'm'; break
|
||||
except ValueError: print '\033[32mSelect from the options given. Try again ...\n\033[0;0m'
|
||||
|
||||
|
||||
# define the ratio between types of mutation, where all sum to 1.0; can be adjusted in 'i'nteractive mode
|
||||
gp.evolve_repro = int(0.1 * gp.tree_pop_max) # percentage of subsequent population to be generated through Reproduction
|
||||
gp.evolve_point = int(0.1 * gp.tree_pop_max) # percentage of subsequent population to be generated through Point Mutation
|
||||
gp.evolve_branch = int(0.2 * gp.tree_pop_max) # percentage of subsequent population to be generated through Branch Mutation
|
||||
gp.evolve_cross = int(0.6 * gp.tree_pop_max) # percentage of subsequent population to be generated through Crossover Reproduction
|
||||
|
||||
gp.tourn_size = 10 # qty of individuals entered into each tournament (standard 10); can be adjusted in 'i'nteractive mode
|
||||
gp.cores = 1 # replace '1' with 'int(gp.core_count)' to auto-set to max; can be adjusted in 'i'nteractive mode
|
||||
gp.precision = 4 # the number of floating points for the round function in 'fx_fitness_eval'; hard coded
|
||||
|
||||
# if len(sys.argv) == 2: # look for an argument when Karoo GP is launched
|
||||
# gp.data_load = int(sys.argv[1]) # assign file for the data load method in karoo_base_class
|
||||
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
# Construct First Generation of Trees |
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
'''
|
||||
Karoo GP constructs the first generation of Trees. All subsequent generations evolve from priors, with no new Trees
|
||||
constructed from scratch. All parameters which define the Trees were set by the user in the previous section.
|
||||
|
||||
If the user has selected 'Play' mode, this is the only generation to be constructed, and then GP Karoo terminates.
|
||||
'''
|
||||
|
||||
gp.fx_karoo_data_load()
|
||||
gp.generation_id = 1 # set initial generation ID
|
||||
|
||||
gp.population_a = ['Karoo GP by Kai Staats, Generation ' + str(gp.generation_id)] # an empty list which will store all Tree arrays, one generation at a time
|
||||
|
||||
gp.fx_karoo_construct(tree_type, tree_depth_max) # construct the first population of Trees
|
||||
|
||||
if gp.kernel != 'p': print '\n We have constructed a population of', gp.tree_pop_max,'Trees for Generation 1\n'
|
||||
|
||||
else: # EOL for Play mode
|
||||
gp.fx_eval_tree_print(gp.tree) # print the current Tree
|
||||
gp.fx_tree_archive(gp.population_a, 'a') # save this one Tree to disk
|
||||
sys.exit()
|
||||
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
# Evaluate First Generation of Trees |
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
'''
|
||||
Karoo GP evaluates the first generation of Trees. This process flattens each GP Tree into a standard
|
||||
equation by means of a recursive algorithm and subsequent processing by the SymPy library which
|
||||
simultaneously evaluates the Tree for its results, returns null for divide by zero, reorganises
|
||||
and then rewrites the expression in its simplest form.
|
||||
|
||||
If the user has defined only 1 generation, then this is the end of the run. Else, Karoo GP
|
||||
continues into multi-generational evolution.
|
||||
'''
|
||||
|
||||
if gp.display != 's':
|
||||
print ' Evaluate the first generation of Trees ...'
|
||||
if gp.display == 'i': gp.fx_karoo_pause(0)
|
||||
|
||||
gp.fx_fitness_gym(gp.population_a) # 1) extract polynomial from each Tree; 2) evaluate fitness, store; 3) display
|
||||
gp.fx_tree_archive(gp.population_a, 'a') # save the first generation of Trees to disk
|
||||
|
||||
# no need to continue if only 1 generation or fewer than 10 Trees were designated by the user
|
||||
if gp.tree_pop_max < 10 or gp.generation_max == 1:
|
||||
gp.fx_karoo_eol(); sys.exit()
|
||||
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
# Evolve Multiple Generations |
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
'''
|
||||
Karoo GP moves into multi-generational evolution.
|
||||
|
||||
In the following four evolutionary methods, the global list of arrays 'gp.population_a' is repeatedly recycled as
|
||||
the prior generation from which the local list of arrays 'gp.population_b' is created, one array at a time. The ratio of
|
||||
invocation of the four evolutionary processes for each generation is set by the parameters in the 'User Defined
|
||||
Configuration' (top).
|
||||
'''
|
||||
|
||||
for gp.generation_id in range(2, gp.generation_max + 1): # loop through 'generation_max'
|
||||
|
||||
print '\n Evolve a population of Trees for Generation', gp.generation_id, '...'
|
||||
gp.population_b = ['GP Tree by Kai Staats, Evolving Generation'] # initialise population_b to host the next generation
|
||||
|
||||
gp.fx_fitness_gene_pool() # generate the viable gene pool (compares against gp.tree_depth_min)
|
||||
gp.fx_karoo_reproduce() # method 1 - Reproduction
|
||||
gp.fx_karoo_point_mutate() # method 2 - Point Mutation
|
||||
gp.fx_karoo_branch_mutate() # method 3 - Branch Mutation
|
||||
gp.fx_karoo_crossover_reproduce() # method 4 - Crossover Reproduction
|
||||
gp.fx_eval_generation() # evaluate all Trees in a single generation
|
||||
|
||||
gp.population_a = gp.fx_evo_pop_copy(gp.population_b, ['GP Tree by Kai Staats, Generation ' + str(gp.generation_id)])
|
||||
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
# "End of line, man!" --CLU |
|
||||
#++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
gp.fx_tree_archive(gp.population_b, 'f') # save the final generation of Trees to disk
|
||||
gp.fx_karoo_eol()
|
||||
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
# Karoo GP Server
|
||||
# Use Genetic Programming for Classification and Symbolic Regression
|
||||
# by Kai Staats, MSc UCT / AIMS
|
||||
# Much thanks to Emmanuel Dufourq and Arun Kumar for their support, guidance, and free psychotherapy sessions
|
||||
# ver. 20151018
|
||||
|
||||
import sys; sys.path.append('modules/') # add the directory 'modules' to the current path
|
||||
import karoo_gp_base_class; gp = karoo_gp_base_class.Base_GP()
|
||||
|
||||
# parameters configuration
|
||||
gp.kernel = 'c' # ['a','c','m'] fitness function: ABS Value, Classification, or Matching
|
||||
gp.class_labels = 3 # number of class labels in the feature set
|
||||
tree_type = 'r' # ['f','g','r'] Tree type: full, grow, or ramped half/half
|
||||
tree_depth_max = 3 # [3,10] maximum tree depth
|
||||
gp.tree_depth_min = 3 #[3,100] minimum number of nodes
|
||||
gp.tree_pop_max = 100 # [10,1000] maximum population
|
||||
gp.generation_max = 10 # [1,1000] number of generations
|
||||
gp.display = 'm' # ['i','m','g','s','db','t'] display mode: Interactive, Minimal, Generational, Server, Debug, or Timer
|
||||
|
||||
gp.evolve_repro = int(0.1 * gp.tree_pop_max) # percentage of subsequent population to be generated through Reproduction
|
||||
gp.evolve_point = int(0.1 * gp.tree_pop_max) # percentage of subsequent population to be generated through Point Mutation
|
||||
gp.evolve_branch = int(0.2 * gp.tree_pop_max) # percentage of subsequent population to be generated through Branch Mutation
|
||||
gp.evolve_cross = int(0.6 * gp.tree_pop_max) # percentage of subsequent population to be generated through Crossover Reproduction
|
||||
|
||||
gp.tourn_size = 10 # qty of individuals entered into each tournament (standard 10); can be adjusted in 'i'nteractive mode
|
||||
gp.cores = 1 # replace '1' with 'int(gp.core_count)' to auto-set to max; can be adjusted in 'i'nteractive mode
|
||||
gp.precision = 4 # the number of floating points for the round function in 'fx_fitness_eval'; hard coded
|
||||
|
||||
# run Karoo GP
|
||||
gp.karoo_gp('server', tree_type, tree_depth_max)
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,43 @@
|
|||
# Karoo Feature Set Prep
|
||||
# Prepare a balanced feature set
|
||||
# by Kai Staats, MSc UCT / AIMS and Arun Kumar, PhD
|
||||
# ver. 20151020
|
||||
|
||||
import sys
|
||||
import numpy as np
|
||||
|
||||
filename = sys.argv[1] # 'data/pixel_classifier/kat7-20150924-SUBSET.csv'
|
||||
samples = 5000
|
||||
|
||||
# do NOT use readline as that is very, very slow
|
||||
# ideally use 'pandas', a numpy replacement which loads data 5x faster (future version)
|
||||
# for now, we'll just load the damn data as we have ample RAM
|
||||
|
||||
data = np.loadtxt(filename, skiprows = 1, delimiter = ',', dtype = float) #; data_x = data_x[:,0:-1]
|
||||
# header = need to read the first line to retain the variables
|
||||
|
||||
print '\ndata loaded'
|
||||
print ' data.shape:', data.shape
|
||||
|
||||
# find the indices where the final column = 0 or 1 and record the row num accordingly
|
||||
data_0_list = np.where(data[:,-1] == 0)
|
||||
data_1_list = np.where(data[:,-1] == 1)
|
||||
|
||||
data_0 = np.random.choice(data_0_list[0], samples, replace = False)
|
||||
data_1 = np.random.choice(data_1_list[0], samples, replace = False)
|
||||
print '\nrandom, unique rows generated'
|
||||
print ' data_0.shape:', data_0.shape
|
||||
print ' data_1.shape:', data_1.shape
|
||||
|
||||
print '\nready to merge data_0 and data_1 with real values'
|
||||
|
||||
data_0_new = data[data_0]
|
||||
data_1_new = data[data_1]
|
||||
data_new = np.vstack((data_0_new, data_1_new))
|
||||
print ' data_new.shape', data_new.shape
|
||||
|
||||
# np.savetxt(fname, X, fmt='%.18e', delimiter=' ', newline='\n', header='', footer='', comments='# ')
|
||||
|
||||
# need to append the header
|
||||
np.savetxt('data_new.csv', data_new, delimiter = ',')
|
||||
print '\n data saved as data_new.csv'
|
|
@ -0,0 +1,80 @@
|
|||
# Karoo GP Iris Plot
|
||||
# Plot a function generated by Karoo GP against a scatter of the Iris data
|
||||
# by Kai Staats, MSc UCT / AIMS and Arun Kumar, PhD
|
||||
# ver. 20151018
|
||||
|
||||
# See https://www.youtube.com/channel/UCfzlCWGWYyIQ0aLC5w48gBQ for a good plotting tutorial
|
||||
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as mpl
|
||||
from mpl_toolkits.mplot3d import Axes3D
|
||||
|
||||
# data = np.loadtxt('files/Iris_dataset/data_IRIS_setosa-vs-versicolor_3-col_PLOT.csv', delimiter=',', dtype = str)
|
||||
# data = np.loadtxt('files/Iris_dataset/data_IRIS_versicolor-vs-virginica_3-col_PLOT.csv', delimiter=',', dtype = str)
|
||||
data = np.loadtxt('files/Iris_dataset/data_IRIS_virginica-vs-setosa_3-col_PLOT.csv', delimiter=',', dtype = str)
|
||||
|
||||
# http://stn.spotfire.com/spotfire_client_help/norm/norm_normalizing_columns.htm
|
||||
# to scale between 0 and 1: n - min(list) / (max(list) - min(list))
|
||||
|
||||
### PLOT THE DATA ###
|
||||
def fx_normalize(array):
|
||||
|
||||
norm = []
|
||||
array_min = np.min(array)
|
||||
array_max = np.max(array)
|
||||
|
||||
for col in range(1, len(array) + 1):
|
||||
n = float((array[col - 1] - array_min) / (array_max - array_min))
|
||||
norm = np.append(norm, n)
|
||||
|
||||
return norm
|
||||
|
||||
|
||||
data_a, data_b, data_c = [], [], []
|
||||
|
||||
tmp = data[:,0]
|
||||
for n in range(len(tmp)):
|
||||
data_a.append(float(tmp[n]))
|
||||
|
||||
tmp = data[:,1]
|
||||
for n in range(len(tmp)):
|
||||
data_b.append(float(tmp[n]))
|
||||
|
||||
tmp = data[:,2]
|
||||
for n in range(len(tmp)):
|
||||
data_c.append(float(tmp[n]))
|
||||
|
||||
# normalise the data
|
||||
# data_a = fx_normalize(data_a)
|
||||
# data_b = fx_normalize(data_b)
|
||||
# data_c = fx_normalize(data_c)
|
||||
|
||||
fig = mpl.figure()
|
||||
ax = fig.add_subplot(111, projection = '3d')
|
||||
|
||||
ax.scatter(data_a, data_b, data_c, c = 'r', marker = 'o')
|
||||
|
||||
|
||||
### PLOT THE FUNCTION ###
|
||||
b = np.arange(2, 4, 0.25)
|
||||
c = np.arange(2, 4, 0.25)
|
||||
b, c = np.meshgrid(b, c)
|
||||
|
||||
# -b*c + c**2 + c - 1 --> ?
|
||||
# -a/c - b**2 + c**2 --> ?
|
||||
# -a - b + c**2 --> a = -b + c**2
|
||||
a = -b + c**2
|
||||
|
||||
# normalise the function
|
||||
# a = fx_normalize(a)
|
||||
# b = fx_normalize(b)
|
||||
# c = fx_normalize(c)
|
||||
|
||||
ax.plot_wireframe(a,b,c)
|
||||
|
||||
ax.set_xlabel('a')
|
||||
ax.set_ylabel('b')
|
||||
ax.set_zlabel('c')
|
||||
|
||||
mpl.show()
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
# Karoo Multiclass Classifer Test
|
||||
# Play with quantity of class labels against a range of results
|
||||
# by Kai Staats, MSc UCT / AIMS
|
||||
# ver. 20151018
|
||||
|
||||
from numpy import arange
|
||||
|
||||
while True:
|
||||
try:
|
||||
class_type = raw_input('\t Select (i)finite or (f)inite class bins (default i): ')
|
||||
if class_type not in ('i','f',''): raise ValueError()
|
||||
class_type = class_type or 'i'; break
|
||||
except ValueError: print '\033[32mSelect from the options given. Try again ...\n\033[0;0m'
|
||||
|
||||
n = range(1,100)
|
||||
while True:
|
||||
try:
|
||||
class_labels = raw_input('\t Enter the number of class labels (default 4): ')
|
||||
if class_labels not in str(n) and class_labels not in '': raise ValueError()
|
||||
if class_labels == '0': class_labels = 1; break
|
||||
class_labels = class_labels or 4; class_labels = int(class_labels); break
|
||||
except ValueError: print '\033[32m Enter a number from 3 including 100. Try again ...\n\033[0;0m'
|
||||
|
||||
skew = (class_labels / 2) - 1
|
||||
min_val = 0 - skew - 1
|
||||
if class_labels & 1: max_val = 0 + skew + 3
|
||||
else: max_val = 0 + skew + 2
|
||||
|
||||
print '\n\t class_labels =', range(class_labels)
|
||||
print '\t skew =', skew, '\n'
|
||||
|
||||
# a simple binary classifier, for comparison
|
||||
# if result <= 0 and label == 0: fitness = 1
|
||||
# elif result > 0 and label == 1: fitness = 1
|
||||
# else: fitness = 0
|
||||
|
||||
if class_type == 'i':
|
||||
for result in arange(min_val, max_val, .5):
|
||||
for label in range(class_labels):
|
||||
|
||||
if label == 0 and result <= 0 - skew: # check for the first class
|
||||
fitness = 1; print '\t\033[36m\033[1m class', label, '\033[0;0m\033[36mas\033[1m', result, '\033[0;0m\033[36m<= boundary', 0 - skew, '\033[0;0m'
|
||||
|
||||
elif label == class_labels - 1 and result > label - 1 - skew: # check for the last class
|
||||
fitness = 1; print '\t\033[36m\033[1m class', label, '\033[0;0m\033[36mas\033[1m', result, '\033[0;0m\033[36m> boundary', label - skew, '\033[0;0m'
|
||||
|
||||
elif (label - 1) - skew < result <= label - skew: # check for class bins between first and last
|
||||
fitness = 1; print '\t\033[36m\033[1m class', label, '\033[0;0m\033[36mas boundary', (label - 1) - skew, '<\033[1m', result, '\033[0;0m\033[36m<=', 'boundary', label - skew, '\033[0;0m'
|
||||
|
||||
else: fitness = 0; print '\t\033[36m no match for', result, 'in class', label, '\033[0;0m' # no class match
|
||||
|
||||
print ''
|
||||
|
||||
|
||||
if class_type == 'f':
|
||||
for result in arange(min_val, max_val, .5):
|
||||
for label in range(class_labels):
|
||||
|
||||
if (label - 1) - skew < result <= label - skew: # check for discrete, finite class bins
|
||||
fitness = 1; print '\t\033[36m\033[1m class', label, '\033[0;0m\033[36mas boundary', (label - 1) - skew, '<\033[1m', result, '\033[0;0m\033[36m<=', 'boundary', label - skew, '\033[0;0m'
|
||||
|
||||
else: fitness = 0; print '\t\033[36m no match for', result, 'in class', label, '\033[0;0m' # no class match
|
||||
|
||||
print ''
|
||||
|
||||
|
Loading…
Reference in New Issue