Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
dataset.h
00001 // tamaño de la base de datos 00002 // Size of the database to account for the accuracy test 00003 00004 #define FI 100 00005 #define CO 4 00006 00007 // clases de la base de datos en alfanumerico 00008 // Classes alphanumeric database 00009 char* clasesSt[] = {"Setosa", "Versicolor", "Virginica"}; 00010 00011 // atributos: conjunto de entrenamiento 00012 // Attributes: training set 00013 char* nomAtr[CO]={"Largo sepalo", "Ancho sepalo", "Largo petalo", "Ancho petalo"}; 00014 00015 double atributos[FI][CO] = { 00016 {4.4, 3, 1.3, 0.2}, 00017 {7.6, 3, 6.6, 2.1}, 00018 {6.5, 2.8, 4.6, 1.5}, 00019 {5.6, 2.8, 4.9, 2}, 00020 {7.2, 3, 5.8, 1.6}, 00021 {5.5, 2.3, 4, 1.3}, 00022 {5, 2, 3.5, 1}, 00023 {5.5, 2.4, 3.8, 1.1}, 00024 {5.4, 3.9, 1.7, 0.4}, 00025 {5.5, 4.2, 1.4, 0.2}, 00026 {5.8, 2.8, 5.1, 2.4}, 00027 {4.6, 3.6, 1, 0.2}, 00028 {4.8, 3.1, 1.6, 0.2}, 00029 {6.9, 3.1, 4.9, 1.5}, 00030 {5.8, 2.7, 5.1, 1.9}, 00031 {5.7, 3.8, 1.7, 0.3}, 00032 {6.4, 2.8, 5.6, 2.2}, 00033 {6.1, 2.6, 5.6, 1.4}, 00034 {6, 3.4, 4.5, 1.6}, 00035 {6.7, 3.1, 4.7, 1.5}, 00036 {5.1, 3.5, 1.4, 0.2}, 00037 {6.3, 2.8, 5.1, 1.5}, 00038 {6.3, 2.9, 5.6, 1.8}, 00039 {6.7, 3.3, 5.7, 2.1}, 00040 {4.9, 3, 1.4, 0.2}, 00041 {6.9, 3.2, 5.7, 2.3}, 00042 {5, 3.5, 1.6, 0.6}, 00043 {5.1, 2.5, 3, 1.1}, 00044 {4.8, 3, 1.4, 0.3}, 00045 {7, 3.2, 4.7, 1.4}, 00046 {6.3, 3.3, 4.7, 1.6}, 00047 {5.4, 3.9, 1.3, 0.4}, 00048 {5.7, 2.6, 3.5, 1}, 00049 {6.7, 3.3, 5.7, 2.5}, 00050 {7.7, 2.6, 6.9, 2.3}, 00051 {6, 2.7, 5.1, 1.6}, 00052 {5.6, 2.7, 4.2, 1.3}, 00053 {6.4, 3.1, 5.5, 1.8}, 00054 {4.9, 3.1, 1.5, 0.1}, 00055 {5.2, 4.1, 1.5, 0.1}, 00056 {4.3, 3, 1.1, 0.1}, 00057 {5, 2.3, 3.3, 1}, 00058 {5.8, 4, 1.2, 0.2}, 00059 {6.3, 2.3, 4.4, 1.3}, 00060 {6.2, 2.8, 4.8, 1.8}, 00061 {5.5, 2.6, 4.4, 1.2}, 00062 {6.7, 2.5, 5.8, 1.8}, 00063 {6.7, 3, 5, 1.7}, 00064 {6.8, 2.8, 4.8, 1.4}, 00065 {6.3, 3.4, 5.6, 2.4}, 00066 {6.2, 2.2, 4.5, 1.5}, 00067 {5.4, 3, 4.5, 1.5}, 00068 {6.5, 3, 5.2, 2}, 00069 {6.2, 2.9, 4.3, 1.3}, 00070 {5.1, 3.3, 1.7, 0.5}, 00071 {4.8, 3, 1.4, 0.1}, 00072 {6, 2.2, 5, 1.5}, 00073 {5.2, 2.7, 3.9, 1.4}, 00074 {7.7, 3.8, 6.7, 2.2}, 00075 {5.9, 3, 5.1, 1.8}, 00076 {6.3, 3.3, 6, 2.5}, 00077 {5, 3.4, 1.5, 0.2}, 00078 {6.7, 3, 5.2, 2.3}, 00079 {6.4, 2.8, 5.6, 2.1}, 00080 {5.2, 3.4, 1.4, 0.2}, 00081 {5.1, 3.4, 1.5, 0.2}, 00082 {5.1, 3.8, 1.9, 0.4}, 00083 {5.4, 3.7, 1.5, 0.2}, 00084 {5.6, 2.5, 3.9, 1.1}, 00085 {5.7, 3, 4.2, 1.2}, 00086 {5, 3.3, 1.4, 0.2}, 00087 {6.5, 3, 5.5, 1.8}, 00088 {5.3, 3.7, 1.5, 0.2}, 00089 {4.8, 3.4, 1.9, 0.2}, 00090 {6.7, 3.1, 4.4, 1.4}, 00091 {6.5, 3.2, 5.1, 2}, 00092 {4.5, 2.3, 1.3, 0.3}, 00093 {7.2, 3.2, 6, 1.8}, 00094 {5.1, 3.8, 1.6, 0.2}, 00095 {7.1, 3, 5.9, 2.1}, 00096 {6, 2.9, 4.5, 1.5}, 00097 {6.4, 3.2, 4.5, 1.5}, 00098 {4.7, 3.2, 1.6, 0.2}, 00099 {6.4, 2.7, 5.3, 1.9}, 00100 {6.8, 3.2, 5.9, 2.3}, 00101 {5, 3.5, 1.3, 0.3}, 00102 {6.9, 3.1, 5.1, 2.3}, 00103 {5.5, 2.5, 4, 1.3}, 00104 {5.7, 4.4, 1.5, 0.4}, 00105 {4.6, 3.1, 1.5, 0.2}, 00106 {4.9, 3.1, 1.5, 0.1}, 00107 {5.6, 3, 4.5, 1.5}, 00108 {5.6, 3, 4.1, 1.3}, 00109 {4.7, 3.2, 1.3, 0.2}, 00110 {5, 3.2, 1.2, 0.2}, 00111 {7.7, 2.8, 6.7, 2}, 00112 {5.7, 2.8, 4.5, 1.3}, 00113 {5.4, 3.4, 1.5, 0.4}, 00114 {4.6, 3.2, 1.4, 0.2}}; 00115 00116 int clasesNo[FI] = { 00117 0, 00118 2, 00119 1, 00120 2, 00121 2, 00122 1, 00123 1, 00124 1, 00125 0, 00126 0, 00127 2, 00128 0, 00129 0, 00130 1, 00131 2, 00132 0, 00133 2, 00134 2, 00135 1, 00136 1, 00137 0, 00138 2, 00139 2, 00140 2, 00141 0, 00142 2, 00143 0, 00144 1, 00145 0, 00146 1, 00147 1, 00148 0, 00149 1, 00150 2, 00151 2, 00152 1, 00153 1, 00154 2, 00155 0, 00156 0, 00157 0, 00158 1, 00159 0, 00160 1, 00161 2, 00162 1, 00163 2, 00164 1, 00165 1, 00166 2, 00167 1, 00168 1, 00169 2, 00170 1, 00171 0, 00172 0, 00173 2, 00174 1, 00175 2, 00176 2, 00177 2, 00178 0, 00179 2, 00180 2, 00181 0, 00182 0, 00183 0, 00184 0, 00185 1, 00186 1, 00187 0, 00188 2, 00189 0, 00190 0, 00191 1, 00192 2, 00193 0, 00194 2, 00195 0, 00196 2, 00197 1, 00198 1, 00199 0, 00200 2, 00201 2, 00202 0, 00203 2, 00204 1, 00205 0, 00206 0, 00207 0, 00208 1, 00209 1, 00210 0, 00211 0, 00212 2, 00213 1, 00214 0, 00215 0}; 00216 00217 00218 00219 00220
Generated on Sun Jul 17 2022 10:16:44 by
1.7.2