Where can I find an algorithm for human activity classification using thigh and shank sensors?












1












$begingroup$


I am working on a project where I initially need to classify the type of activity a subject is performing based on raw accelerometer and gyroscope data from the thigh and shank of both legs. The type of activities would be day-to-day tasks such as standing, sitting, running, sit-to-stand, stair climbing, if playing sports, cutting, etc.



I have tried reading papers and looking on git to find an algorithm that will do this for me. I know that there are a lot of algorithms available, but none seem to utilize sensors on the leg. Most are sensors on the chest or through a person's phone.



Where would I be able to find an algorithm that will take the data I have an classify the activities being performed? Can I do this with algorithms that aren't initially made for the sensor placement I am using?



Any help would be greatly appreciated.










share|improve this question







New contributor




Eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$

















    1












    $begingroup$


    I am working on a project where I initially need to classify the type of activity a subject is performing based on raw accelerometer and gyroscope data from the thigh and shank of both legs. The type of activities would be day-to-day tasks such as standing, sitting, running, sit-to-stand, stair climbing, if playing sports, cutting, etc.



    I have tried reading papers and looking on git to find an algorithm that will do this for me. I know that there are a lot of algorithms available, but none seem to utilize sensors on the leg. Most are sensors on the chest or through a person's phone.



    Where would I be able to find an algorithm that will take the data I have an classify the activities being performed? Can I do this with algorithms that aren't initially made for the sensor placement I am using?



    Any help would be greatly appreciated.










    share|improve this question







    New contributor




    Eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    $endgroup$















      1












      1








      1





      $begingroup$


      I am working on a project where I initially need to classify the type of activity a subject is performing based on raw accelerometer and gyroscope data from the thigh and shank of both legs. The type of activities would be day-to-day tasks such as standing, sitting, running, sit-to-stand, stair climbing, if playing sports, cutting, etc.



      I have tried reading papers and looking on git to find an algorithm that will do this for me. I know that there are a lot of algorithms available, but none seem to utilize sensors on the leg. Most are sensors on the chest or through a person's phone.



      Where would I be able to find an algorithm that will take the data I have an classify the activities being performed? Can I do this with algorithms that aren't initially made for the sensor placement I am using?



      Any help would be greatly appreciated.










      share|improve this question







      New contributor




      Eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.







      $endgroup$




      I am working on a project where I initially need to classify the type of activity a subject is performing based on raw accelerometer and gyroscope data from the thigh and shank of both legs. The type of activities would be day-to-day tasks such as standing, sitting, running, sit-to-stand, stair climbing, if playing sports, cutting, etc.



      I have tried reading papers and looking on git to find an algorithm that will do this for me. I know that there are a lot of algorithms available, but none seem to utilize sensors on the leg. Most are sensors on the chest or through a person's phone.



      Where would I be able to find an algorithm that will take the data I have an classify the activities being performed? Can I do this with algorithms that aren't initially made for the sensor placement I am using?



      Any help would be greatly appreciated.







      python classification matlab






      share|improve this question







      New contributor




      Eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 9 hours ago









      EricEric

      61




      61




      New contributor




      Eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Eric is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          0












          $begingroup$

          What you want to do can be called activity recognition or time-series classification. Almost all classification algorithms can be made to do this. A popular choice is to use a type of RNN (recurrent neural network) called a LSTM (long short-term memory). It is made to work with sequences and handles time series quite well.



          Here are some relevant readings that might get you started:



          Activity recognition tutorial using RNN models



          Similar tutorial using various models






          share|improve this answer











          $endgroup$





















            0












            $begingroup$

            Human activity recognition generally tends to classify various activities from data collected through sensors.




            • As @Eric stated, RNNs and LSTMs can do the best job since, they can handle temporal data or time series. But, they lack the ability of extracting useful hierarchical features from the data.


            • Here comes 1 Dimensional Convolutional networks. They are similar to ones which are used in image classification but they work on a single dimension. They can efficiently parse the features of the sequential data of the sensors. But, they lack the temporal feature.




            Why can't we fuse both the CNN and LSTM together?




            Yes, this is the correct solution. We can first stack the Convolutional and maxpooling layers and then reshape the output. This output could be fed to the LSTM which will handle the temporal part.



            You can read this and this.



            Hence, good feature extraction is accompanied with temporal data handling.






            share|improve this answer









            $endgroup$














              Your Answer





              StackExchange.ifUsing("editor", function () {
              return StackExchange.using("mathjaxEditing", function () {
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
              });
              });
              }, "mathjax-editing");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "557"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });






              Eric is a new contributor. Be nice, and check out our Code of Conduct.










              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48893%2fwhere-can-i-find-an-algorithm-for-human-activity-classification-using-thigh-and%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0












              $begingroup$

              What you want to do can be called activity recognition or time-series classification. Almost all classification algorithms can be made to do this. A popular choice is to use a type of RNN (recurrent neural network) called a LSTM (long short-term memory). It is made to work with sequences and handles time series quite well.



              Here are some relevant readings that might get you started:



              Activity recognition tutorial using RNN models



              Similar tutorial using various models






              share|improve this answer











              $endgroup$


















                0












                $begingroup$

                What you want to do can be called activity recognition or time-series classification. Almost all classification algorithms can be made to do this. A popular choice is to use a type of RNN (recurrent neural network) called a LSTM (long short-term memory). It is made to work with sequences and handles time series quite well.



                Here are some relevant readings that might get you started:



                Activity recognition tutorial using RNN models



                Similar tutorial using various models






                share|improve this answer











                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  What you want to do can be called activity recognition or time-series classification. Almost all classification algorithms can be made to do this. A popular choice is to use a type of RNN (recurrent neural network) called a LSTM (long short-term memory). It is made to work with sequences and handles time series quite well.



                  Here are some relevant readings that might get you started:



                  Activity recognition tutorial using RNN models



                  Similar tutorial using various models






                  share|improve this answer











                  $endgroup$



                  What you want to do can be called activity recognition or time-series classification. Almost all classification algorithms can be made to do this. A popular choice is to use a type of RNN (recurrent neural network) called a LSTM (long short-term memory). It is made to work with sequences and handles time series quite well.



                  Here are some relevant readings that might get you started:



                  Activity recognition tutorial using RNN models



                  Similar tutorial using various models







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 8 hours ago

























                  answered 8 hours ago









                  Simon LarssonSimon Larsson

                  687114




                  687114























                      0












                      $begingroup$

                      Human activity recognition generally tends to classify various activities from data collected through sensors.




                      • As @Eric stated, RNNs and LSTMs can do the best job since, they can handle temporal data or time series. But, they lack the ability of extracting useful hierarchical features from the data.


                      • Here comes 1 Dimensional Convolutional networks. They are similar to ones which are used in image classification but they work on a single dimension. They can efficiently parse the features of the sequential data of the sensors. But, they lack the temporal feature.




                      Why can't we fuse both the CNN and LSTM together?




                      Yes, this is the correct solution. We can first stack the Convolutional and maxpooling layers and then reshape the output. This output could be fed to the LSTM which will handle the temporal part.



                      You can read this and this.



                      Hence, good feature extraction is accompanied with temporal data handling.






                      share|improve this answer









                      $endgroup$


















                        0












                        $begingroup$

                        Human activity recognition generally tends to classify various activities from data collected through sensors.




                        • As @Eric stated, RNNs and LSTMs can do the best job since, they can handle temporal data or time series. But, they lack the ability of extracting useful hierarchical features from the data.


                        • Here comes 1 Dimensional Convolutional networks. They are similar to ones which are used in image classification but they work on a single dimension. They can efficiently parse the features of the sequential data of the sensors. But, they lack the temporal feature.




                        Why can't we fuse both the CNN and LSTM together?




                        Yes, this is the correct solution. We can first stack the Convolutional and maxpooling layers and then reshape the output. This output could be fed to the LSTM which will handle the temporal part.



                        You can read this and this.



                        Hence, good feature extraction is accompanied with temporal data handling.






                        share|improve this answer









                        $endgroup$
















                          0












                          0








                          0





                          $begingroup$

                          Human activity recognition generally tends to classify various activities from data collected through sensors.




                          • As @Eric stated, RNNs and LSTMs can do the best job since, they can handle temporal data or time series. But, they lack the ability of extracting useful hierarchical features from the data.


                          • Here comes 1 Dimensional Convolutional networks. They are similar to ones which are used in image classification but they work on a single dimension. They can efficiently parse the features of the sequential data of the sensors. But, they lack the temporal feature.




                          Why can't we fuse both the CNN and LSTM together?




                          Yes, this is the correct solution. We can first stack the Convolutional and maxpooling layers and then reshape the output. This output could be fed to the LSTM which will handle the temporal part.



                          You can read this and this.



                          Hence, good feature extraction is accompanied with temporal data handling.






                          share|improve this answer









                          $endgroup$



                          Human activity recognition generally tends to classify various activities from data collected through sensors.




                          • As @Eric stated, RNNs and LSTMs can do the best job since, they can handle temporal data or time series. But, they lack the ability of extracting useful hierarchical features from the data.


                          • Here comes 1 Dimensional Convolutional networks. They are similar to ones which are used in image classification but they work on a single dimension. They can efficiently parse the features of the sequential data of the sensors. But, they lack the temporal feature.




                          Why can't we fuse both the CNN and LSTM together?




                          Yes, this is the correct solution. We can first stack the Convolutional and maxpooling layers and then reshape the output. This output could be fed to the LSTM which will handle the temporal part.



                          You can read this and this.



                          Hence, good feature extraction is accompanied with temporal data handling.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 17 mins ago









                          Shubham PanchalShubham Panchal

                          37118




                          37118






















                              Eric is a new contributor. Be nice, and check out our Code of Conduct.










                              draft saved

                              draft discarded


















                              Eric is a new contributor. Be nice, and check out our Code of Conduct.













                              Eric is a new contributor. Be nice, and check out our Code of Conduct.












                              Eric is a new contributor. Be nice, and check out our Code of Conduct.
















                              Thanks for contributing an answer to Data Science Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48893%2fwhere-can-i-find-an-algorithm-for-human-activity-classification-using-thigh-and%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Ponta tanko

                              Tantalo (mitologio)

                              Erzsébet Schaár