Suitable Autoencoder for Activity Recognition dataset Feature Extraction












0












$begingroup$


Dataset: I have text data representing sensor outputs:



1458996986002;    11.43,-15.86,11.20,508.26;        -1.59,-0.22,6.17,40.68;        126.0,-150.9,-105.0,49671.81;        Walk
1459002923002; 16.69,-12.68,13.96,634.65; -2.55,2.13,4.87,34.87; 126.0,-150.9,-105.0,49671.81; Walk


timestamp; acc_x,acc_y,acc_z; gyro_x,gyro_y,gyro_z; magn_x,magn_y,magn_z; ActivityName


Aim: I want to extract features from this text lines before feeding it to Recurrent Neural Network (GRU/LSTM). So aim is automatic feature extraction. Those extracted features (encoder network) will be used before Neural Network for activity recognition task (classification).



Question: Which Autoencoder (denoising, variational, sparse) is suitable for such dataset? Or should i prefer RBM? After choosing feature extraction method, how do i compare the output with input, since input is not 0s and 1s?



What i have read: I read that RBM is generative model, which, even if you give some similar input, it can generate similar correct output. And training autoencoder is said(1) to be easier(2) than RBM. On the other hand, variational autoencoder can do something similar (generative). First question would be is having generative ability has any advantage for above problem, because at the end of pretraining i would just use encoder part and throw decoder layers? If no, denoising autoencoder seems right apporach imo.



Last thing i know, to force network to learn important features from data (instead of memorizing), you can choose following methods: 1) use sandwich like layers, 2) add noise to input 3) regularize autoencoder=make only some nodes active at the same time










share|improve this question









$endgroup$




bumped to the homepage by Community 15 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • $begingroup$
    Also i will be providing about 100 readings at once (based on window size like 2seconds) to autoencoder
    $endgroup$
    – Jemshit Iskenderov
    Mar 21 '18 at 6:42
















0












$begingroup$


Dataset: I have text data representing sensor outputs:



1458996986002;    11.43,-15.86,11.20,508.26;        -1.59,-0.22,6.17,40.68;        126.0,-150.9,-105.0,49671.81;        Walk
1459002923002; 16.69,-12.68,13.96,634.65; -2.55,2.13,4.87,34.87; 126.0,-150.9,-105.0,49671.81; Walk


timestamp; acc_x,acc_y,acc_z; gyro_x,gyro_y,gyro_z; magn_x,magn_y,magn_z; ActivityName


Aim: I want to extract features from this text lines before feeding it to Recurrent Neural Network (GRU/LSTM). So aim is automatic feature extraction. Those extracted features (encoder network) will be used before Neural Network for activity recognition task (classification).



Question: Which Autoencoder (denoising, variational, sparse) is suitable for such dataset? Or should i prefer RBM? After choosing feature extraction method, how do i compare the output with input, since input is not 0s and 1s?



What i have read: I read that RBM is generative model, which, even if you give some similar input, it can generate similar correct output. And training autoencoder is said(1) to be easier(2) than RBM. On the other hand, variational autoencoder can do something similar (generative). First question would be is having generative ability has any advantage for above problem, because at the end of pretraining i would just use encoder part and throw decoder layers? If no, denoising autoencoder seems right apporach imo.



Last thing i know, to force network to learn important features from data (instead of memorizing), you can choose following methods: 1) use sandwich like layers, 2) add noise to input 3) regularize autoencoder=make only some nodes active at the same time










share|improve this question









$endgroup$




bumped to the homepage by Community 15 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • $begingroup$
    Also i will be providing about 100 readings at once (based on window size like 2seconds) to autoencoder
    $endgroup$
    – Jemshit Iskenderov
    Mar 21 '18 at 6:42














0












0








0





$begingroup$


Dataset: I have text data representing sensor outputs:



1458996986002;    11.43,-15.86,11.20,508.26;        -1.59,-0.22,6.17,40.68;        126.0,-150.9,-105.0,49671.81;        Walk
1459002923002; 16.69,-12.68,13.96,634.65; -2.55,2.13,4.87,34.87; 126.0,-150.9,-105.0,49671.81; Walk


timestamp; acc_x,acc_y,acc_z; gyro_x,gyro_y,gyro_z; magn_x,magn_y,magn_z; ActivityName


Aim: I want to extract features from this text lines before feeding it to Recurrent Neural Network (GRU/LSTM). So aim is automatic feature extraction. Those extracted features (encoder network) will be used before Neural Network for activity recognition task (classification).



Question: Which Autoencoder (denoising, variational, sparse) is suitable for such dataset? Or should i prefer RBM? After choosing feature extraction method, how do i compare the output with input, since input is not 0s and 1s?



What i have read: I read that RBM is generative model, which, even if you give some similar input, it can generate similar correct output. And training autoencoder is said(1) to be easier(2) than RBM. On the other hand, variational autoencoder can do something similar (generative). First question would be is having generative ability has any advantage for above problem, because at the end of pretraining i would just use encoder part and throw decoder layers? If no, denoising autoencoder seems right apporach imo.



Last thing i know, to force network to learn important features from data (instead of memorizing), you can choose following methods: 1) use sandwich like layers, 2) add noise to input 3) regularize autoencoder=make only some nodes active at the same time










share|improve this question









$endgroup$




Dataset: I have text data representing sensor outputs:



1458996986002;    11.43,-15.86,11.20,508.26;        -1.59,-0.22,6.17,40.68;        126.0,-150.9,-105.0,49671.81;        Walk
1459002923002; 16.69,-12.68,13.96,634.65; -2.55,2.13,4.87,34.87; 126.0,-150.9,-105.0,49671.81; Walk


timestamp; acc_x,acc_y,acc_z; gyro_x,gyro_y,gyro_z; magn_x,magn_y,magn_z; ActivityName


Aim: I want to extract features from this text lines before feeding it to Recurrent Neural Network (GRU/LSTM). So aim is automatic feature extraction. Those extracted features (encoder network) will be used before Neural Network for activity recognition task (classification).



Question: Which Autoencoder (denoising, variational, sparse) is suitable for such dataset? Or should i prefer RBM? After choosing feature extraction method, how do i compare the output with input, since input is not 0s and 1s?



What i have read: I read that RBM is generative model, which, even if you give some similar input, it can generate similar correct output. And training autoencoder is said(1) to be easier(2) than RBM. On the other hand, variational autoencoder can do something similar (generative). First question would be is having generative ability has any advantage for above problem, because at the end of pretraining i would just use encoder part and throw decoder layers? If no, denoising autoencoder seems right apporach imo.



Last thing i know, to force network to learn important features from data (instead of memorizing), you can choose following methods: 1) use sandwich like layers, 2) add noise to input 3) regularize autoencoder=make only some nodes active at the same time







neural-network classification feature-extraction autoencoder rbm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 19 '18 at 18:20









Jemshit IskenderovJemshit Iskenderov

1012




1012





bumped to the homepage by Community 15 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 15 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • $begingroup$
    Also i will be providing about 100 readings at once (based on window size like 2seconds) to autoencoder
    $endgroup$
    – Jemshit Iskenderov
    Mar 21 '18 at 6:42


















  • $begingroup$
    Also i will be providing about 100 readings at once (based on window size like 2seconds) to autoencoder
    $endgroup$
    – Jemshit Iskenderov
    Mar 21 '18 at 6:42
















$begingroup$
Also i will be providing about 100 readings at once (based on window size like 2seconds) to autoencoder
$endgroup$
– Jemshit Iskenderov
Mar 21 '18 at 6:42




$begingroup$
Also i will be providing about 100 readings at once (based on window size like 2seconds) to autoencoder
$endgroup$
– Jemshit Iskenderov
Mar 21 '18 at 6:42










1 Answer
1






active

oldest

votes


















0












$begingroup$

Because you want to do activity recognition based on time windows using deep learning models with autoencoders I would strongly suggest to have a look at the following articles:



https://www.researchgate.net/publication/323019783_An_Effective_Deep_Autoencoder_Approach_for_Online_Smartphone-Based_Human_Activity_Recognition
It gives an overview of a custom CNN/RNN model which might give an initial idea of how to proceed for the specific task of AR.



and



https://ieeexplore.ieee.org/document/8422895
It gives a general idea of how to reconstruct sensor data with semantic meanings before feeding the constructed data features to another model.






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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f29275%2fsuitable-autoencoder-for-activity-recognition-dataset-feature-extraction%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    Because you want to do activity recognition based on time windows using deep learning models with autoencoders I would strongly suggest to have a look at the following articles:



    https://www.researchgate.net/publication/323019783_An_Effective_Deep_Autoencoder_Approach_for_Online_Smartphone-Based_Human_Activity_Recognition
    It gives an overview of a custom CNN/RNN model which might give an initial idea of how to proceed for the specific task of AR.



    and



    https://ieeexplore.ieee.org/document/8422895
    It gives a general idea of how to reconstruct sensor data with semantic meanings before feeding the constructed data features to another model.






    share|improve this answer









    $endgroup$


















      0












      $begingroup$

      Because you want to do activity recognition based on time windows using deep learning models with autoencoders I would strongly suggest to have a look at the following articles:



      https://www.researchgate.net/publication/323019783_An_Effective_Deep_Autoencoder_Approach_for_Online_Smartphone-Based_Human_Activity_Recognition
      It gives an overview of a custom CNN/RNN model which might give an initial idea of how to proceed for the specific task of AR.



      and



      https://ieeexplore.ieee.org/document/8422895
      It gives a general idea of how to reconstruct sensor data with semantic meanings before feeding the constructed data features to another model.






      share|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        Because you want to do activity recognition based on time windows using deep learning models with autoencoders I would strongly suggest to have a look at the following articles:



        https://www.researchgate.net/publication/323019783_An_Effective_Deep_Autoencoder_Approach_for_Online_Smartphone-Based_Human_Activity_Recognition
        It gives an overview of a custom CNN/RNN model which might give an initial idea of how to proceed for the specific task of AR.



        and



        https://ieeexplore.ieee.org/document/8422895
        It gives a general idea of how to reconstruct sensor data with semantic meanings before feeding the constructed data features to another model.






        share|improve this answer









        $endgroup$



        Because you want to do activity recognition based on time windows using deep learning models with autoencoders I would strongly suggest to have a look at the following articles:



        https://www.researchgate.net/publication/323019783_An_Effective_Deep_Autoencoder_Approach_for_Online_Smartphone-Based_Human_Activity_Recognition
        It gives an overview of a custom CNN/RNN model which might give an initial idea of how to proceed for the specific task of AR.



        and



        https://ieeexplore.ieee.org/document/8422895
        It gives a general idea of how to reconstruct sensor data with semantic meanings before feeding the constructed data features to another model.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 19 '18 at 10:09









        hristijan_dshristijan_ds

        863




        863






























            draft saved

            draft discarded




















































            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%2f29275%2fsuitable-autoencoder-for-activity-recognition-dataset-feature-extraction%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

            Callistus I

            Tabula Rosettana

            How to label and detect the document text images