Interactive labeling/annotating of time series data












5












$begingroup$


I have a data set of time series data. I'm looking for an annotation (or labeling) tool to visualize it and to be able to interactively add labels on it, in order to get annotated data that I can use for supervised ML.



E.g. the input data is a csv-file and the output is another csv-file of the format timestamp,label.



Therefore I need something like this:




  1. to visualize data

  2. to select a specific area

  3. output the labels with timestamps


As an example:



An example



Building such a tool in python will not take too long, however I was just wondering how other people solve this problem and maybe there are already nice OS tools for doing this. Thank you!










share|improve this question









$endgroup$




bumped to the homepage by Community 11 mins ago


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















  • $begingroup$
    If you're plotting in python, chances are your best bet is to annotate in python, not in the OS.
    $endgroup$
    – Adrian Keister
    Sep 13 '18 at 15:56










  • $begingroup$
    @AdrianKeister When I wrote OS, I meant an open source project.
    $endgroup$
    – mibrl12
    Sep 14 '18 at 11:31
















5












$begingroup$


I have a data set of time series data. I'm looking for an annotation (or labeling) tool to visualize it and to be able to interactively add labels on it, in order to get annotated data that I can use for supervised ML.



E.g. the input data is a csv-file and the output is another csv-file of the format timestamp,label.



Therefore I need something like this:




  1. to visualize data

  2. to select a specific area

  3. output the labels with timestamps


As an example:



An example



Building such a tool in python will not take too long, however I was just wondering how other people solve this problem and maybe there are already nice OS tools for doing this. Thank you!










share|improve this question









$endgroup$




bumped to the homepage by Community 11 mins ago


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















  • $begingroup$
    If you're plotting in python, chances are your best bet is to annotate in python, not in the OS.
    $endgroup$
    – Adrian Keister
    Sep 13 '18 at 15:56










  • $begingroup$
    @AdrianKeister When I wrote OS, I meant an open source project.
    $endgroup$
    – mibrl12
    Sep 14 '18 at 11:31














5












5








5


1



$begingroup$


I have a data set of time series data. I'm looking for an annotation (or labeling) tool to visualize it and to be able to interactively add labels on it, in order to get annotated data that I can use for supervised ML.



E.g. the input data is a csv-file and the output is another csv-file of the format timestamp,label.



Therefore I need something like this:




  1. to visualize data

  2. to select a specific area

  3. output the labels with timestamps


As an example:



An example



Building such a tool in python will not take too long, however I was just wondering how other people solve this problem and maybe there are already nice OS tools for doing this. Thank you!










share|improve this question









$endgroup$




I have a data set of time series data. I'm looking for an annotation (or labeling) tool to visualize it and to be able to interactively add labels on it, in order to get annotated data that I can use for supervised ML.



E.g. the input data is a csv-file and the output is another csv-file of the format timestamp,label.



Therefore I need something like this:




  1. to visualize data

  2. to select a specific area

  3. output the labels with timestamps


As an example:



An example



Building such a tool in python will not take too long, however I was just wondering how other people solve this problem and maybe there are already nice OS tools for doing this. Thank you!







machine-learning python data labels






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 11 '18 at 6:19









mibrl12mibrl12

1261




1261





bumped to the homepage by Community 11 mins 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 11 mins ago


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














  • $begingroup$
    If you're plotting in python, chances are your best bet is to annotate in python, not in the OS.
    $endgroup$
    – Adrian Keister
    Sep 13 '18 at 15:56










  • $begingroup$
    @AdrianKeister When I wrote OS, I meant an open source project.
    $endgroup$
    – mibrl12
    Sep 14 '18 at 11:31


















  • $begingroup$
    If you're plotting in python, chances are your best bet is to annotate in python, not in the OS.
    $endgroup$
    – Adrian Keister
    Sep 13 '18 at 15:56










  • $begingroup$
    @AdrianKeister When I wrote OS, I meant an open source project.
    $endgroup$
    – mibrl12
    Sep 14 '18 at 11:31
















$begingroup$
If you're plotting in python, chances are your best bet is to annotate in python, not in the OS.
$endgroup$
– Adrian Keister
Sep 13 '18 at 15:56




$begingroup$
If you're plotting in python, chances are your best bet is to annotate in python, not in the OS.
$endgroup$
– Adrian Keister
Sep 13 '18 at 15:56












$begingroup$
@AdrianKeister When I wrote OS, I meant an open source project.
$endgroup$
– mibrl12
Sep 14 '18 at 11:31




$begingroup$
@AdrianKeister When I wrote OS, I meant an open source project.
$endgroup$
– mibrl12
Sep 14 '18 at 11:31










2 Answers
2






active

oldest

votes


















0












$begingroup$

I'm using axvspan() function from matplotlib.pyplot.
Main disadvantage is a difficult configuration of text labels.



import matplotlib.pyplot as plt
import numpy as np
t = np.arange(0,3.14,0.01)
s = np.sin(t)
plt.axvspan(t[12], t[100], facecolor='blue', alpha=0.2)
plt.plot(t,s,color='red')





share|improve this answer









$endgroup$





















    0












    $begingroup$

    Nova can do it interactively. https://github.com/hcmlab/nova
    It's much more powerful than just labeling time-series data, but you can just do labeling with it. Also, I suggest you set the sample rate frequency to 1Hz. Best of Luck.






    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%2f38080%2finteractive-labeling-annotating-of-time-series-data%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$

      I'm using axvspan() function from matplotlib.pyplot.
      Main disadvantage is a difficult configuration of text labels.



      import matplotlib.pyplot as plt
      import numpy as np
      t = np.arange(0,3.14,0.01)
      s = np.sin(t)
      plt.axvspan(t[12], t[100], facecolor='blue', alpha=0.2)
      plt.plot(t,s,color='red')





      share|improve this answer









      $endgroup$


















        0












        $begingroup$

        I'm using axvspan() function from matplotlib.pyplot.
        Main disadvantage is a difficult configuration of text labels.



        import matplotlib.pyplot as plt
        import numpy as np
        t = np.arange(0,3.14,0.01)
        s = np.sin(t)
        plt.axvspan(t[12], t[100], facecolor='blue', alpha=0.2)
        plt.plot(t,s,color='red')





        share|improve this answer









        $endgroup$
















          0












          0








          0





          $begingroup$

          I'm using axvspan() function from matplotlib.pyplot.
          Main disadvantage is a difficult configuration of text labels.



          import matplotlib.pyplot as plt
          import numpy as np
          t = np.arange(0,3.14,0.01)
          s = np.sin(t)
          plt.axvspan(t[12], t[100], facecolor='blue', alpha=0.2)
          plt.plot(t,s,color='red')





          share|improve this answer









          $endgroup$



          I'm using axvspan() function from matplotlib.pyplot.
          Main disadvantage is a difficult configuration of text labels.



          import matplotlib.pyplot as plt
          import numpy as np
          t = np.arange(0,3.14,0.01)
          s = np.sin(t)
          plt.axvspan(t[12], t[100], facecolor='blue', alpha=0.2)
          plt.plot(t,s,color='red')






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 18 '18 at 20:57









          RolanRolan

          1




          1























              0












              $begingroup$

              Nova can do it interactively. https://github.com/hcmlab/nova
              It's much more powerful than just labeling time-series data, but you can just do labeling with it. Also, I suggest you set the sample rate frequency to 1Hz. Best of Luck.






              share|improve this answer









              $endgroup$


















                0












                $begingroup$

                Nova can do it interactively. https://github.com/hcmlab/nova
                It's much more powerful than just labeling time-series data, but you can just do labeling with it. Also, I suggest you set the sample rate frequency to 1Hz. Best of Luck.






                share|improve this answer









                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  Nova can do it interactively. https://github.com/hcmlab/nova
                  It's much more powerful than just labeling time-series data, but you can just do labeling with it. Also, I suggest you set the sample rate frequency to 1Hz. Best of Luck.






                  share|improve this answer









                  $endgroup$



                  Nova can do it interactively. https://github.com/hcmlab/nova
                  It's much more powerful than just labeling time-series data, but you can just do labeling with it. Also, I suggest you set the sample rate frequency to 1Hz. Best of Luck.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 11 at 6:33









                  drerDdrerD

                  1




                  1






























                      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%2f38080%2finteractive-labeling-annotating-of-time-series-data%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