android调用matlab代码-FitnessActivityTracker:使用运动传感器数据对步行和跑步进行分类的Android应用

上传者: 38559992 | 上传时间: 2021-09-24 16:11:58 | 文件大小: 1.84MB | 文件类型: ZIP
android调用matlab代码健身追踪安卓应用项目 以前的分类系统是实验性的,大部分时间都不起作用。 之前分类器的大部分代码都被扔掉了,并记录了一组新的训练数据。 课程范围缩小到 3 个: 0 空闲,几乎没有运动 1 空闲,超出阈值 2 步行 3 慢跑或跑步。 借助基于阈值的系统,我们能够通过更新的特征集获得更高的准确度。 每个输入数据集的特征总数增加到 13 个。 由于总共有 8 个数据集(XYZ 轴上的加速度和合成矢量,以及 XYZ 轴上的陀螺仪旋转数据和合成矢量),因此我们总共有 104 个特征。 训练数据记录在三个会话中,一个用于一般闲置使用,一个记录用户步行,另一个记录用户慢跑和冲刺。 录音的总长度约为 21 分钟。 数据被分成 50 个样本(或 16.6Hz 时大约 3 秒),特征被提取并记录在矩阵中,以及相应的类标签。 使用新的数据集和更新的特征,我们使用 MATLAB 的分类学习器获得了以下分类器准确度预测: 分类学习器建议的准确率为 99.6%,但在实践中略低于此。 使用 50% 保持验证选项,我们看到失败率没有变化,这是我们的分类系统良好的好兆头。 人体测试表明

文件下载

资源详情

[{"title":"( 97 个子文件 1.84MB ) android调用matlab代码-FitnessActivityTracker:使用运动传感器数据对步行和跑步进行分类的Android应用","children":[{"title":"FitnessActivityTracker-master","children":[{"title":"FitnessApp","children":[{"title":".gitignore <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"app","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"musamahmood","children":[{"title":"fitnessapp","children":[{"title":"MainActivityTest_imageview.java <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"MainActivityTest_checkTrackingEnabled.java <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"MainActivityTest_UI_Elements.java <span style='color:#111;'> 5.94KB </span>","children":null,"spread":false},{"title":"MainActivityTest_UserStatisticsButton.java <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"MainActivityTest_backgroundActivityTracking.java <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"MainActivityTest_StandingActivity.java <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"MainActivityTest_activityButtonTest.java <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"MainActivityTest_StepCounter.java <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"MainActivityTest_CurrentActivity.java <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_data_control.xml <span style='color:#111;'> 11.84KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"raw","children":[{"title":"happiness.mp3 <span style='color:#111;'> 341.66KB </span>","children":null,"spread":false},{"title":"ringtone.mp3 <span style='color:#111;'> 290.25KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 470B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 9.82KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"navigation.xml <span style='color:#111;'> 609B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":[{"title":"running_104.png <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"question_104.png <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"ic_home_black_24dp.xml <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"ic_dashboard_black_24dp.xml <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"ic_notifications_black_24dp.xml <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"walking_104.png <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"standing_100.png <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"siting_104.png <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":false},{"title":"xml","children":[{"title":"provider_paths.xml <span style='color:#111;'> 168B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 14.35KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 10.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 435B </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 907B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 752B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 383B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"cpp","children":[{"title":"activityClassifier_types.h <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"activityTracker_types.h <span style='color:#111;'> 515B </span>","children":null,"spread":false},{"title":"resultant_types.h <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"rtGetInf.h <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"native-lib.cpp <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"activityClassifier.h <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"resultant.cpp <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"rtwtypes.h <span style='color:#111;'> 4.89KB </span>","children":null,"spread":false},{"title":"rtGetNaN.h <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"rtGetNaN.cpp <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"activityClassifier.cpp <span style='color:#111;'> 743.11KB </span>","children":null,"spread":false},{"title":"jniExecutor.cpp <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"resultant.h <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"rtGetInf.cpp <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"rt_nonfinite.cpp <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"rt_nonfinite.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"java","children":[{"title":"musamahmood","children":[{"title":"fitnessapp","children":[{"title":"MainActivity.java <span style='color:#111;'> 23.89KB </span>","children":null,"spread":false},{"title":"DataControlActivity.java <span style='color:#111;'> 11.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"musamahmood","children":[{"title":"fitnessapp","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 400B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"opencsv-3.7.jar <span style='color:#111;'> 44.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"proguard-rules.pro <span style='color:#111;'> 927B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"settings.gradle <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 504B </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"gradle.xml <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 74B </span>","children":null,"spread":false}],"spread":true},{"title":"runConfigurations.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 357B </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"MATLAB_Code","children":[{"title":"step_counter.m <span style='color:#111;'> 186B </span>","children":null,"spread":false},{"title":"TestExecutor.m <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"knnclassify.m <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"activityFeatureExtractionGyro.m <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"resultant.m <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"WalkingData_9min.csv <span style='color:#111;'> 1.06MB </span>","children":null,"spread":false},{"title":"activityClassifier.m <span style='color:#111;'> 284.70KB </span>","children":null,"spread":false},{"title":"FcountMax.m <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"JoggingRunningData_3min.csv <span style='color:#111;'> 343.67KB </span>","children":null,"spread":false},{"title":"_config.mat <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"FcountMin.m <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"dataTraining.mat <span style='color:#111;'> 108.29KB </span>","children":null,"spread":false},{"title":"motionSensorFilter.m <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"activityFeatureExtractionAcc.m <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"WalkingData.csv <span style='color:#111;'> 92.42KB </span>","children":null,"spread":false},{"title":"BaselineData_8.5_min.csv <span style='color:#111;'> 901.66KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明