// Copyright 2020 The MACE Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #ifndef MICRO_EXAMPLES_DATA_HAR_H_ #define MICRO_EXAMPLES_DATA_HAR_H_ static float data_har_jogging[270] = { 5.012288, 11.264028, 0.95342433, -0.6946377, 12.680544, 0.50395286, 4.903325, 10.882658, -0.08172209, -0.61291564, 18.496431, 3.0237172, -1.1849703, 12.108489, 7.205164, 1.3756552, -2.4925237, -6.510526, -0.61291564, 10.56939, 5.706926, -0.50395286, 13.947236, 7.0553403, -8.430995, 11.413852, 5.134871, 0.95342433, 1.3756552, 1.6480621, -8.19945, 19.57244, 2.7240696, 1.4165162, 5.7886477, 2.982856, -1.879608, -2.982856, -0.29964766, -6.1291566, 6.851035, -8.158588, 5.829509, 18.0061, 8.539958, 6.2789803, 2.982856, 2.9147544, -1.56634, 8.308413, -1.4573772, 3.5276701, 13.593107, 9.425281, -2.0294318, -5.706926, -10.18802, 2.7649305, 10.337844, -9.724928, 3.568531, 13.6748295, 1.5390993, -0.50395286, 3.8681788, 3.718355, -2.3018389, 1.6889231, 0.08172209, -3.568531, 19.57244, 6.510526, -0.8036005, -3.2961242, -4.630918, 0.50395286, 10.841797, 13.525005, 5.706926, 15.595298, 6.1700177, -8.662541, 7.273266, 4.0180025, -1.334794, 1.2258313, 2.3699405, -4.5900574, 19.57244, 4.7126403, 3.8681788, 3.759216, 0.84446156, -1.7978859, 1.5390993, 8.730643, 7.668256, 11.264028, -1.3075534, -2.3699405, 14.2877445, 8.281172, 2.7240696, 1.4573772, 0.88532263, -3.5957718, 18.659876, -0.6537767, 3.9499009, 4.140586, 3.990762, 0.46309182, -2.4108016, 2.4108016, 3.7864566, 14.137921, -3.1463003, 3.336985, 19.231932, 6.5513873, 5.6660647, 3.7864566, 0.53119355, 0.23154591, 0.7627395, 0.7627395, -4.8216033, 19.57244, 8.158588, 1.8387469, -1.1168685, -2.7921712, -3.2961242, 10.079058, 13.824653, 11.604536, 17.079916, 1.334794, -3.173541, 14.015338, 5.706926, 0.61291564, 1.1168685, 2.5606253, -7.8861814, 19.57244, 1.9885708, 3.1463003, 5.243834, 4.671779, -3.0237172, -4.3312707, -3.336985, -0.08172209, 11.917805, -7.8861814, -1.0351465, 14.818938, 4.6036777, -2.4516625, 2.5333846, 3.486809, -1.3756552, 2.070293, -0.19068487, -2.4925237, 19.57244, 6.469665, 1.4573772, -5.243834, -4.372132, -1.4165162, 9.80665, 5.7477865, -1.2666923, 14.709975, 6.2108784, -3.6774938, 3.173541, 3.7864566, 1.8387469, 2.7649305, -1.7570249, -1.2666923, 19.313654, 6.3198414, 2.4108016, -7.6546354, -6.1291566, -0.61291564, 16.358038, 4.944186, 0.040861044, 17.502148, 2.5333846, -7.6546354, 7.8180795, 4.372132, -1.2666923, 0.7218784, 0.8036005, -5.012288, 19.57244, 5.5162406, 1.9477097, 2.7921712, 2.070293, -5.053149, 1.6480621, 7.6273947, 9.384419, 13.443283, 1.0351465, -5.434519, 13.211738, 6.4424243, -0.61291564, 1.879608, 1.4165162, 4.7126403, -6.5513873, -6.0201936, -1.7570249, 9.302697, -6.428804, -0.9125633, 10.501288, -0.27240697, 2.6014864, 19.381754, 4.440233, 5.7886477, 3.214402, 1.1441092, -1.9885708, 12.4489975, -2.7240696, 1.4165162, 16.780268, 8.471856, 0.42223078, -8.267551, -7.3549876, -3.568531, 10.95076, -0.8036005, -4.671779, 11.727119, 0.38136974, -2.1383946, 1.6889231, 3.5276701, -1.334794, 2.4925237, -0.3405087, -2.9147544, 19.57244, 7.5865335, 3.5276701, -3.9499009, -1.920469, -4.0588636, 10.038197, 14.2877445}; static float data_har_walking[270] = { -0.99, 11.45, -3.0645783, 1.18, 14.94, -3.718355, 1.27, 13.82, -1.2258313, -0.15, 11.14, -2.1111538, -1.38, 8.05, -0.84446156, -1.99, 5.94, 0.14982383, -0.08, 4.94, 0.88532263, -0.27, 4.14, 2.2609777, -3.26, 6.44, 4.1814466, -5.75, 13.02, 7.273266, -2.37, 10.65, 8.008764, -0.46, 15.94, 0.7218784, 1.8, 6.13, -1.1168685, -4.75, 10.84, -3.0645783, -1.46, 8.39, 0.88532263, 1.33, 7.78, -0.46309182, -3.72, 8.47, -0.7218784, -3.72, 8.47, -0.7218784, -1.88, 7.63, -0.08172209, -1.12, 9.3, -0.10896278, -2.37, 10.95, -0.8036005, -4.06, 12.3, -0.7627395, -3.41, 14.52, -0.7218784, 0.34, 12.22, -3.7864566, 0.76, 15.32, -2.6014864, -0.04, 13.53, -1.1849703, -0.53, 9.72, -2.1792557, 0.11, 5.52, -1.6480621, 0.38, 4.06, 0.46309182, 0.04, 3.26, 0.14982383, -3.34, 5.83, 4.862464, -6.05, 13.14, 7.668256, -0.91, 11.14, 11.073342, -0.5, 16.13, -0.9125633, -0.27, 7.7, -1.1849703, -3.45, 9.28, -2.1383946, -2.03, 9.04, -0.53119355, 2.03, 6.89, -0.5720546, -2.18, 7.5, -1.3756552, -1.8, 7.21, -0.0, -1.57, 9.96, 0.08172209, -3.21, 12.07, -0.14982383, -5.09, 12.22, -0.7627395, -2.68, 14.98, -3.173541, 1.99, 12.79, -3.2961242, 0.84, 14.82, -2.2609777, 0.69, 13.21, -2.2609777, -1.08, 9.15, -1.2258313, -0.95, 4.9, -0.7627395, -0.11, 4.67, 0.19068487, 0.61, 3.49, 0.08172209, -1.84, 5.48, 5.134871, -5.6, 14.06, 7.3958488, -1.08, 12.03, 8.308413, 1.73, 14.56, 2.9147544, -0.76, 5.94, -5.325556, -5.6, 12.83, -0.0, 0.04, 6.66, -0.9942854, 1.65, 7.89, -0.6537767, -2.3, 7.93, -2.3426998, -1.92, 8.24, -0.040861044, -1.42, 9.96, -0.14982383, -3.72, 11.5, 0.14982383, -4.59, 12.18, -0.5720546, -2.79, 14.25, -3.2961242, 3.15, 13.02, -3.1054392, 1.46, 14.94, -2.2201166, -2.22, 12.49, -2.1111538, -1.42, 9.53, -1.607201, -0.11, 6.17, -0.8036005, 0.34, 4.71, 0.10896278, 1.04, 3.49, 0.53119355, -1.99, 5.05, 3.255263, -6.66, 14.29, 7.082581, -3.87, 10.04, 9.765789, -1.5, 18.39, -0.6946377, 2.37, 5.01, -0.5720546, -5.24, 10.76, -3.173541, -1.46, 8.2, 0.53119355, 2.6, 6.97, -0.040861044, -3.53, 8.85, -1.879608, -1.23, 7.06, -0.23154591, -1.53, 11.3, 0.23154591, -2.53, 11.65, -0.6946377, -3.83, 12.34, -0.50395286, -2.96, 13.25, -3.173541, 2.83, 13.25, -3.173541, 0.65, 14.41, -1.1441092, -0.89, 11.8, -2.6014864, -1.18, 7.21, -1.334794}; static float data_har_standing[270] = { 3.17, 9.28, 1.1441092, 3.3, 9.23, 1.1168685, 3.21, 9.3, 1.1849703, 3.17, 9.28, 1.0760075, 3.17, 9.34, 1.1168685, 3.26, 9.28, 1.1168685, 3.21, 9.3, 1.1168685, 3.21, 9.23, 1.1168685, 3.17, 9.28, 1.1168685, 3.15, 9.28, 1.1849703, 3.17, 9.34, 1.1168685, 3.21, 9.28, 1.1849703, 3.21, 9.3, 1.0760075, 3.15, 9.34, 1.1168685, 3.21, 9.28, 1.0760075, 3.21, 9.34, 1.1441092, 3.26, 9.3, 1.1441092, 3.17, 9.34, 1.1168685, 3.21, 9.3, 1.1168685, 3.21, 9.28, 1.1168685, 3.26, 9.28, 1.1849703, 3.17, 9.3, 1.1168685, 3.21, 9.28, 1.1168685, -1.88, 9.85, -0.23154591, -0.19, 9.92, -0.5720546, -0.61, 10.27, -0.88532263, 0.76, 10.57, -1.7570249, 0.42, 9.47, -1.1168685, 0.38, 9.47, -1.9477097, -1.04, 10.65, -1.525479, -1.92, 9.51, -0.5720546, -1.31, 9.85, -0.53119355, -0.08, 9.92, -1.7570249, 1.73, 9.77, -0.8036005, 1.5, 9.92, -1.4573772, 1.27, 10.5, -1.879608, 0.61, 10.12, -1.9885708, -0.53, 9.77, -1.879608, -0.42, 9.62, -1.6480621, 0.65, 10.42, -2.2201166, 0.65, 10.42, -2.2201166, 1.61, 9.38, -1.8387469, 1.61, 9.43, -1.525479, 1.61, 9.43, -1.525479, 0.95, 10.27, -1.3075534, 0.19, 10.38, -1.1849703, 0.31, 9.81, -1.4165162, 1.12, 9.62, -1.6889231, 1.23, 9.85, -1.6480621, 1.04, 9.7, -1.8387469, 0.57, 9.89, -2.0294318, 0.65, 9.96, -1.9885708, 0.95, 9.96, -1.7570249, 1.42, 10, -1.7297841, 1.69, 9.89, -1.525479, 1.46, 10, -1.4165162, 0.69, 9.77, -1.6889231, 0.08, 9.96, -1.9477097, -0.08, 10.19, -2.1111538, 0.38, 9.72, -1.9885708, 0.93, 10.12, -2.1111538, 1.33, 9.62, -1.9885708, 1.08, 9.85, -1.9477097, 0.8, 9.77, -1.7570249, 0.69, 10.34, -1.6889231, 0.72, 9.66, -1.3075534, 0.69, 10, -1.3756552, 0.93, 9.62, -1.4573772, 0.76, 10.12, -1.607201, 0.93, 9.72, -1.7978859, 0.76, 10.23, -1.9885708, 0.76, 9.23, -1.920469, 0.57, 10.34, -2.1383946, 0.99, 9.58, -1.879608, 1.33, 10.04, -1.7978859, 1.61, 9.85, -1.4165162, 0.61, 10.15, -0.88532263, 0.53, 9.58, -1.4573772, 0.15, 10.19, -1.920469, 0.34, 9.85, -1.334794, 0.8, 10.31, -1.7978859, 0.69, 9.53, -1.9477097, 0.8, 9.92, -1.879608, 0.5, 10.04, -1.1849703, 1.12, 9.43, -1.7978859, 1.31, 10.27, -1.2666923, 1.5, 9.77, -1.607201, 0.46, 10.04, -0.9125633, 0.31, 9.85, -1.0760075, 0.61, 10.19, -1.1849703}; #endif // MICRO_EXAMPLES_DATA_HAR_H_