1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
#[derive(Clone, Debug)]
pub struct Data {
	sepal_length: f64,
	sepal_width: f64,
	petal_length: f64,
	petal_width: f64,
	target: i32,
}

#[repr(u8)]
#[derive(Clone, Copy, Debug)]
pub enum Target {
	SETOSA = 0,
	VERSICOLOR = 1,
	VIRGINICA = 2,
}

pub const DATA: &'static[Data] = &[
    Data{sepal_length: 5.1_f64, sepal_width: 3.5_f64, petal_length: 1.4_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.9_f64, sepal_width: 3.0_f64, petal_length: 1.4_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.7_f64, sepal_width: 3.2_f64, petal_length: 1.3_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.6_f64, sepal_width: 3.1_f64, petal_length: 1.5_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.0_f64, sepal_width: 3.6_f64, petal_length: 1.4_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.4_f64, sepal_width: 3.9_f64, petal_length: 1.7_f64, petal_width: 0.4_f64, target: 0},
    Data{sepal_length: 4.6_f64, sepal_width: 3.4_f64, petal_length: 1.4_f64, petal_width: 0.3_f64, target: 0},
    Data{sepal_length: 5.0_f64, sepal_width: 3.4_f64, petal_length: 1.5_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.4_f64, sepal_width: 2.9_f64, petal_length: 1.4_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.9_f64, sepal_width: 3.1_f64, petal_length: 1.5_f64, petal_width: 0.1_f64, target: 0},
    Data{sepal_length: 5.4_f64, sepal_width: 3.7_f64, petal_length: 1.5_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.8_f64, sepal_width: 3.4_f64, petal_length: 1.6_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.8_f64, sepal_width: 3.0_f64, petal_length: 1.4_f64, petal_width: 0.1_f64, target: 0},
    Data{sepal_length: 4.3_f64, sepal_width: 3.0_f64, petal_length: 1.1_f64, petal_width: 0.1_f64, target: 0},
    Data{sepal_length: 5.8_f64, sepal_width: 4.0_f64, petal_length: 1.2_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.7_f64, sepal_width: 4.4_f64, petal_length: 1.5_f64, petal_width: 0.4_f64, target: 0},
    Data{sepal_length: 5.4_f64, sepal_width: 3.9_f64, petal_length: 1.3_f64, petal_width: 0.4_f64, target: 0},
    Data{sepal_length: 5.1_f64, sepal_width: 3.5_f64, petal_length: 1.4_f64, petal_width: 0.3_f64, target: 0},
    Data{sepal_length: 5.7_f64, sepal_width: 3.8_f64, petal_length: 1.7_f64, petal_width: 0.3_f64, target: 0},
    Data{sepal_length: 5.1_f64, sepal_width: 3.8_f64, petal_length: 1.5_f64, petal_width: 0.3_f64, target: 0},
    Data{sepal_length: 5.4_f64, sepal_width: 3.4_f64, petal_length: 1.7_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.1_f64, sepal_width: 3.7_f64, petal_length: 1.5_f64, petal_width: 0.4_f64, target: 0},
    Data{sepal_length: 4.6_f64, sepal_width: 3.6_f64, petal_length: 1.0_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.1_f64, sepal_width: 3.3_f64, petal_length: 1.7_f64, petal_width: 0.5_f64, target: 0},
    Data{sepal_length: 4.8_f64, sepal_width: 3.4_f64, petal_length: 1.9_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.0_f64, sepal_width: 3.0_f64, petal_length: 1.6_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.0_f64, sepal_width: 3.4_f64, petal_length: 1.6_f64, petal_width: 0.4_f64, target: 0},
    Data{sepal_length: 5.2_f64, sepal_width: 3.5_f64, petal_length: 1.5_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.2_f64, sepal_width: 3.4_f64, petal_length: 1.4_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.7_f64, sepal_width: 3.2_f64, petal_length: 1.6_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.8_f64, sepal_width: 3.1_f64, petal_length: 1.6_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.4_f64, sepal_width: 3.4_f64, petal_length: 1.5_f64, petal_width: 0.4_f64, target: 0},
    Data{sepal_length: 5.2_f64, sepal_width: 4.1_f64, petal_length: 1.5_f64, petal_width: 0.1_f64, target: 0},
    Data{sepal_length: 5.5_f64, sepal_width: 4.2_f64, petal_length: 1.4_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.9_f64, sepal_width: 3.1_f64, petal_length: 1.5_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.0_f64, sepal_width: 3.2_f64, petal_length: 1.2_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.5_f64, sepal_width: 3.5_f64, petal_length: 1.3_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.9_f64, sepal_width: 3.6_f64, petal_length: 1.4_f64, petal_width: 0.1_f64, target: 0},
    Data{sepal_length: 4.4_f64, sepal_width: 3.0_f64, petal_length: 1.3_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.1_f64, sepal_width: 3.4_f64, petal_length: 1.5_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.0_f64, sepal_width: 3.5_f64, petal_length: 1.3_f64, petal_width: 0.3_f64, target: 0},
    Data{sepal_length: 4.5_f64, sepal_width: 2.3_f64, petal_length: 1.3_f64, petal_width: 0.3_f64, target: 0},
    Data{sepal_length: 4.4_f64, sepal_width: 3.2_f64, petal_length: 1.3_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.0_f64, sepal_width: 3.5_f64, petal_length: 1.6_f64, petal_width: 0.6_f64, target: 0},
    Data{sepal_length: 5.1_f64, sepal_width: 3.8_f64, petal_length: 1.9_f64, petal_width: 0.4_f64, target: 0},
    Data{sepal_length: 4.8_f64, sepal_width: 3.0_f64, petal_length: 1.4_f64, petal_width: 0.3_f64, target: 0},
    Data{sepal_length: 5.1_f64, sepal_width: 3.8_f64, petal_length: 1.6_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 4.6_f64, sepal_width: 3.2_f64, petal_length: 1.4_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.3_f64, sepal_width: 3.7_f64, petal_length: 1.5_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 5.0_f64, sepal_width: 3.3_f64, petal_length: 1.4_f64, petal_width: 0.2_f64, target: 0},
    Data{sepal_length: 7.0_f64, sepal_width: 3.2_f64, petal_length: 4.7_f64, petal_width: 1.4_f64, target: 1},
    Data{sepal_length: 6.4_f64, sepal_width: 3.2_f64, petal_length: 4.5_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 6.9_f64, sepal_width: 3.1_f64, petal_length: 4.9_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 5.5_f64, sepal_width: 2.3_f64, petal_length: 4.0_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 6.5_f64, sepal_width: 2.8_f64, petal_length: 4.6_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 5.7_f64, sepal_width: 2.8_f64, petal_length: 4.5_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 6.3_f64, sepal_width: 3.3_f64, petal_length: 4.7_f64, petal_width: 1.6_f64, target: 1},
    Data{sepal_length: 4.9_f64, sepal_width: 2.4_f64, petal_length: 3.3_f64, petal_width: 1.0_f64, target: 1},
    Data{sepal_length: 6.6_f64, sepal_width: 2.9_f64, petal_length: 4.6_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 5.2_f64, sepal_width: 2.7_f64, petal_length: 3.9_f64, petal_width: 1.4_f64, target: 1},
    Data{sepal_length: 5.0_f64, sepal_width: 2.0_f64, petal_length: 3.5_f64, petal_width: 1.0_f64, target: 1},
    Data{sepal_length: 5.9_f64, sepal_width: 3.0_f64, petal_length: 4.2_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 6.0_f64, sepal_width: 2.2_f64, petal_length: 4.0_f64, petal_width: 1.0_f64, target: 1},
    Data{sepal_length: 6.1_f64, sepal_width: 2.9_f64, petal_length: 4.7_f64, petal_width: 1.4_f64, target: 1},
    Data{sepal_length: 5.6_f64, sepal_width: 2.9_f64, petal_length: 3.6_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 6.7_f64, sepal_width: 3.1_f64, petal_length: 4.4_f64, petal_width: 1.4_f64, target: 1},
    Data{sepal_length: 5.6_f64, sepal_width: 3.0_f64, petal_length: 4.5_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 5.8_f64, sepal_width: 2.7_f64, petal_length: 4.1_f64, petal_width: 1.0_f64, target: 1},
    Data{sepal_length: 6.2_f64, sepal_width: 2.2_f64, petal_length: 4.5_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 5.6_f64, sepal_width: 2.5_f64, petal_length: 3.9_f64, petal_width: 1.1_f64, target: 1},
    Data{sepal_length: 5.9_f64, sepal_width: 3.2_f64, petal_length: 4.8_f64, petal_width: 1.8_f64, target: 1},
    Data{sepal_length: 6.1_f64, sepal_width: 2.8_f64, petal_length: 4.0_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 6.3_f64, sepal_width: 2.5_f64, petal_length: 4.9_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 6.1_f64, sepal_width: 2.8_f64, petal_length: 4.7_f64, petal_width: 1.2_f64, target: 1},
    Data{sepal_length: 6.4_f64, sepal_width: 2.9_f64, petal_length: 4.3_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 6.6_f64, sepal_width: 3.0_f64, petal_length: 4.4_f64, petal_width: 1.4_f64, target: 1},
    Data{sepal_length: 6.8_f64, sepal_width: 2.8_f64, petal_length: 4.8_f64, petal_width: 1.4_f64, target: 1},
    Data{sepal_length: 6.7_f64, sepal_width: 3.0_f64, petal_length: 5.0_f64, petal_width: 1.7_f64, target: 1},
    Data{sepal_length: 6.0_f64, sepal_width: 2.9_f64, petal_length: 4.5_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 5.7_f64, sepal_width: 2.6_f64, petal_length: 3.5_f64, petal_width: 1.0_f64, target: 1},
    Data{sepal_length: 5.5_f64, sepal_width: 2.4_f64, petal_length: 3.8_f64, petal_width: 1.1_f64, target: 1},
    Data{sepal_length: 5.5_f64, sepal_width: 2.4_f64, petal_length: 3.7_f64, petal_width: 1.0_f64, target: 1},
    Data{sepal_length: 5.8_f64, sepal_width: 2.7_f64, petal_length: 3.9_f64, petal_width: 1.2_f64, target: 1},
    Data{sepal_length: 6.0_f64, sepal_width: 2.7_f64, petal_length: 5.1_f64, petal_width: 1.6_f64, target: 1},
    Data{sepal_length: 5.4_f64, sepal_width: 3.0_f64, petal_length: 4.5_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 6.0_f64, sepal_width: 3.4_f64, petal_length: 4.5_f64, petal_width: 1.6_f64, target: 1},
    Data{sepal_length: 6.7_f64, sepal_width: 3.1_f64, petal_length: 4.7_f64, petal_width: 1.5_f64, target: 1},
    Data{sepal_length: 6.3_f64, sepal_width: 2.3_f64, petal_length: 4.4_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 5.6_f64, sepal_width: 3.0_f64, petal_length: 4.1_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 5.5_f64, sepal_width: 2.5_f64, petal_length: 4.0_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 5.5_f64, sepal_width: 2.6_f64, petal_length: 4.4_f64, petal_width: 1.2_f64, target: 1},
    Data{sepal_length: 6.1_f64, sepal_width: 3.0_f64, petal_length: 4.6_f64, petal_width: 1.4_f64, target: 1},
    Data{sepal_length: 5.8_f64, sepal_width: 2.6_f64, petal_length: 4.0_f64, petal_width: 1.2_f64, target: 1},
    Data{sepal_length: 5.0_f64, sepal_width: 2.3_f64, petal_length: 3.3_f64, petal_width: 1.0_f64, target: 1},
    Data{sepal_length: 5.6_f64, sepal_width: 2.7_f64, petal_length: 4.2_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 5.7_f64, sepal_width: 3.0_f64, petal_length: 4.2_f64, petal_width: 1.2_f64, target: 1},
    Data{sepal_length: 5.7_f64, sepal_width: 2.9_f64, petal_length: 4.2_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 6.2_f64, sepal_width: 2.9_f64, petal_length: 4.3_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 5.1_f64, sepal_width: 2.5_f64, petal_length: 3.0_f64, petal_width: 1.1_f64, target: 1},
    Data{sepal_length: 5.7_f64, sepal_width: 2.8_f64, petal_length: 4.1_f64, petal_width: 1.3_f64, target: 1},
    Data{sepal_length: 6.3_f64, sepal_width: 3.3_f64, petal_length: 6.0_f64, petal_width: 2.5_f64, target: 2},
    Data{sepal_length: 5.8_f64, sepal_width: 2.7_f64, petal_length: 5.1_f64, petal_width: 1.9_f64, target: 2},
    Data{sepal_length: 7.1_f64, sepal_width: 3.0_f64, petal_length: 5.9_f64, petal_width: 2.1_f64, target: 2},
    Data{sepal_length: 6.3_f64, sepal_width: 2.9_f64, petal_length: 5.6_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 6.5_f64, sepal_width: 3.0_f64, petal_length: 5.8_f64, petal_width: 2.2_f64, target: 2},
    Data{sepal_length: 7.6_f64, sepal_width: 3.0_f64, petal_length: 6.6_f64, petal_width: 2.1_f64, target: 2},
    Data{sepal_length: 4.9_f64, sepal_width: 2.5_f64, petal_length: 4.5_f64, petal_width: 1.7_f64, target: 2},
    Data{sepal_length: 7.3_f64, sepal_width: 2.9_f64, petal_length: 6.3_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 6.7_f64, sepal_width: 2.5_f64, petal_length: 5.8_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 7.2_f64, sepal_width: 3.6_f64, petal_length: 6.1_f64, petal_width: 2.5_f64, target: 2},
    Data{sepal_length: 6.5_f64, sepal_width: 3.2_f64, petal_length: 5.1_f64, petal_width: 2.0_f64, target: 2},
    Data{sepal_length: 6.4_f64, sepal_width: 2.7_f64, petal_length: 5.3_f64, petal_width: 1.9_f64, target: 2},
    Data{sepal_length: 6.8_f64, sepal_width: 3.0_f64, petal_length: 5.5_f64, petal_width: 2.1_f64, target: 2},
    Data{sepal_length: 5.7_f64, sepal_width: 2.5_f64, petal_length: 5.0_f64, petal_width: 2.0_f64, target: 2},
    Data{sepal_length: 5.8_f64, sepal_width: 2.8_f64, petal_length: 5.1_f64, petal_width: 2.4_f64, target: 2},
    Data{sepal_length: 6.4_f64, sepal_width: 3.2_f64, petal_length: 5.3_f64, petal_width: 2.3_f64, target: 2},
    Data{sepal_length: 6.5_f64, sepal_width: 3.0_f64, petal_length: 5.5_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 7.7_f64, sepal_width: 3.8_f64, petal_length: 6.7_f64, petal_width: 2.2_f64, target: 2},
    Data{sepal_length: 7.7_f64, sepal_width: 2.6_f64, petal_length: 6.9_f64, petal_width: 2.3_f64, target: 2},
    Data{sepal_length: 6.0_f64, sepal_width: 2.2_f64, petal_length: 5.0_f64, petal_width: 1.5_f64, target: 2},
    Data{sepal_length: 6.9_f64, sepal_width: 3.2_f64, petal_length: 5.7_f64, petal_width: 2.3_f64, target: 2},
    Data{sepal_length: 5.6_f64, sepal_width: 2.8_f64, petal_length: 4.9_f64, petal_width: 2.0_f64, target: 2},
    Data{sepal_length: 7.7_f64, sepal_width: 2.8_f64, petal_length: 6.7_f64, petal_width: 2.0_f64, target: 2},
    Data{sepal_length: 6.3_f64, sepal_width: 2.7_f64, petal_length: 4.9_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 6.7_f64, sepal_width: 3.3_f64, petal_length: 5.7_f64, petal_width: 2.1_f64, target: 2},
    Data{sepal_length: 7.2_f64, sepal_width: 3.2_f64, petal_length: 6.0_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 6.2_f64, sepal_width: 2.8_f64, petal_length: 4.8_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 6.1_f64, sepal_width: 3.0_f64, petal_length: 4.9_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 6.4_f64, sepal_width: 2.8_f64, petal_length: 5.6_f64, petal_width: 2.1_f64, target: 2},
    Data{sepal_length: 7.2_f64, sepal_width: 3.0_f64, petal_length: 5.8_f64, petal_width: 1.6_f64, target: 2},
    Data{sepal_length: 7.4_f64, sepal_width: 2.8_f64, petal_length: 6.1_f64, petal_width: 1.9_f64, target: 2},
    Data{sepal_length: 7.9_f64, sepal_width: 3.8_f64, petal_length: 6.4_f64, petal_width: 2.0_f64, target: 2},
    Data{sepal_length: 6.4_f64, sepal_width: 2.8_f64, petal_length: 5.6_f64, petal_width: 2.2_f64, target: 2},
    Data{sepal_length: 6.3_f64, sepal_width: 2.8_f64, petal_length: 5.1_f64, petal_width: 1.5_f64, target: 2},
    Data{sepal_length: 6.1_f64, sepal_width: 2.6_f64, petal_length: 5.6_f64, petal_width: 1.4_f64, target: 2},
    Data{sepal_length: 7.7_f64, sepal_width: 3.0_f64, petal_length: 6.1_f64, petal_width: 2.3_f64, target: 2},
    Data{sepal_length: 6.3_f64, sepal_width: 3.4_f64, petal_length: 5.6_f64, petal_width: 2.4_f64, target: 2},
    Data{sepal_length: 6.4_f64, sepal_width: 3.1_f64, petal_length: 5.5_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 6.0_f64, sepal_width: 3.0_f64, petal_length: 4.8_f64, petal_width: 1.8_f64, target: 2},
    Data{sepal_length: 6.9_f64, sepal_width: 3.1_f64, petal_length: 5.4_f64, petal_width: 2.1_f64, target: 2},
    Data{sepal_length: 6.7_f64, sepal_width: 3.1_f64, petal_length: 5.6_f64, petal_width: 2.4_f64, target: 2},
    Data{sepal_length: 6.9_f64, sepal_width: 3.1_f64, petal_length: 5.1_f64, petal_width: 2.3_f64, target: 2},
    Data{sepal_length: 5.8_f64, sepal_width: 2.7_f64, petal_length: 5.1_f64, petal_width: 1.9_f64, target: 2},
    Data{sepal_length: 6.8_f64, sepal_width: 3.2_f64, petal_length: 5.9_f64, petal_width: 2.3_f64, target: 2},
    Data{sepal_length: 6.7_f64, sepal_width: 3.3_f64, petal_length: 5.7_f64, petal_width: 2.5_f64, target: 2},
    Data{sepal_length: 6.7_f64, sepal_width: 3.0_f64, petal_length: 5.2_f64, petal_width: 2.3_f64, target: 2},
    Data{sepal_length: 6.3_f64, sepal_width: 2.5_f64, petal_length: 5.0_f64, petal_width: 1.9_f64, target: 2},
    Data{sepal_length: 6.5_f64, sepal_width: 3.0_f64, petal_length: 5.2_f64, petal_width: 2.0_f64, target: 2},
    Data{sepal_length: 6.2_f64, sepal_width: 3.4_f64, petal_length: 5.4_f64, petal_width: 2.3_f64, target: 2},
    Data{sepal_length: 5.9_f64, sepal_width: 3.0_f64, petal_length: 5.1_f64, petal_width: 1.8_f64, target: 2},
];