Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

methods.html 6.6 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Methods &#8212; California Renewable Curtailments documentation</title>
  6. <link rel="stylesheet" href="_static/haiku.css" type="text/css" />
  7. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  8. <link rel="stylesheet" type="text/css" href="_static/graphviz.css" />
  9. <script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
  10. <script src="_static/jquery.js"></script>
  11. <script src="_static/underscore.js"></script>
  12. <script src="_static/doctools.js"></script>
  13. <script src="_static/language_data.js"></script>
  14. <script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
  15. <script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
  16. <script type="text/x-mathjax-config">MathJax.Hub.Config({"tex2jax": {"inlineMath": [["$", "$"], ["\\(", "\\)"]], "processEscapes": true, "ignoreClass": "document", "processClass": "math|output_area"}})</script>
  17. <link rel="index" title="Index" href="genindex.html" />
  18. <link rel="search" title="Search" href="search.html" />
  19. <link rel="next" title="Example: Predicting Daily Curtailment Events" href="notebooks/1-ttu-logistic-weather.html" />
  20. <link rel="prev" title="Exploratory Data Analysis" href="notebooks/0-ttu-curtailments_eda.html" />
  21. </head><body>
  22. <div class="header" role="banner"><h1 class="heading"><a href="index.html">
  23. <span>California Renewable Curtailments documentation</span></a></h1>
  24. <h2 class="heading"><span>Methods</span></h2>
  25. </div>
  26. <div class="topnav" role="navigation" aria-label="top navigation">
  27. <p>
  28. «&#160;&#160;<a href="notebooks/0-ttu-curtailments_eda.html">Exploratory Data Analysis</a>
  29. &#160;&#160;::&#160;&#160;
  30. <a class="uplink" href="index.html">Contents</a>
  31. &#160;&#160;::&#160;&#160;
  32. <a href="notebooks/1-ttu-logistic-weather.html">Example: Predicting Daily Curtailment Events</a>&#160;&#160;»
  33. </p>
  34. </div>
  35. <div class="content" role="main">
  36. <div class="section" id="methods">
  37. <h1>Methods<a class="headerlink" href="#methods" title="Permalink to this headline">¶</a></h1>
  38. <p>Two branches of statistical learning tools are widely used today:</p>
  39. <dl class="simple">
  40. <dt>Unsupervised Learning:</dt><dd><p>An unsupervised learning method takes inbound unlabeled data and extracts or discovers classificiations and labels in the data.</p>
  41. </dd>
  42. <dt>Supervised Learning</dt><dd><p>In a supervised learning context, inbound data are labeled and an analyst builds features that they likely believe will hold predictive power. They might use an understanding of the physics or mechanisms of a system to decide on those features.</p>
  43. </dd>
  44. </dl>
  45. <p>This study explored the use of two supervised learning methods:</p>
  46. <p>Logistic Regression:</p>
  47. <blockquote>
  48. <div><p>A binary classification algorithm which assigns a probability that some set of features could be labeled in a certain way.</p>
  49. </div></blockquote>
  50. <div class="toctree-wrapper compound">
  51. <p class="caption"><span class="caption-text">notebooks</span></p>
  52. <ul>
  53. <li class="toctree-l1"><a class="reference internal" href="notebooks/1-ttu-logistic-weather.html">Example: Predicting Daily Curtailment Events</a></li>
  54. <li class="toctree-l1"><a class="reference internal" href="notebooks/1-ttu-logistic-weather.html#Single-Model-Run">Single Model Run</a></li>
  55. <li class="toctree-l1"><a class="reference internal" href="notebooks/1-ttu-logistic-weather.html#Multi-Model-Run">Multi-Model Run</a></li>
  56. <li class="toctree-l1"><a class="reference internal" href="notebooks/1-ttu-logistic-weather.html#Visualize-Results">Visualize Results</a></li>
  57. </ul>
  58. </div>
  59. <div class="section" id="statistical-learning-process">
  60. <h2>Statistical Learning Process<a class="headerlink" href="#statistical-learning-process" title="Permalink to this headline">¶</a></h2>
  61. <ol class="arabic simple">
  62. <li><p>A class of variables that we want to predict and use to predict are labeled in an existing dataset. The predictive variables are called “estimators”</p></li>
  63. <li><p>The data are partitioned into two parts - a “training” set which is used to develop the model, and a “test” set which is used to validate the model.</p></li>
  64. <li><p>A statistical model is “fit” to the training data, providing a statistical function which could take in new observations and predict the originals labels.</p></li>
  65. <li><p>The model is used to predict the “test” dataset, and the true label values are compared against the predicted label values.</p></li>
  66. <li><p>Performance metrics of the model are calculated against the test data.</p></li>
  67. <li><p>If the model is robust, it could in principle be deployed (either in a programmatic or manual environment) to ingest a future data stream where events are not known a-priori.</p></li>
  68. </ol>
  69. <p>The choice of a statistical model</p>
  70. </div>
  71. <div class="section" id="tooling">
  72. <h2>Tooling<a class="headerlink" href="#tooling" title="Permalink to this headline">¶</a></h2>
  73. <p>The process above was implemented in scikit-learn <a class="bibtex reference internal" href="zreferences.html#scikit-learn" id="id1">[PVG+11]</a>, a popular machine learning library in the python ecosystem. Other tools of note include:</p>
  74. <dl class="simple">
  75. <dt><a class="reference external" href="https://pycaret.org/">pycaret</a></dt><dd><p>PyCaret is a machine learning framework for quickly producing un-optimized a</p>
  76. </dd>
  77. </dl>
  78. <div class="toctree-wrapper compound">
  79. <p class="caption"><span class="caption-text">notebooks</span></p>
  80. <ul>
  81. <li class="toctree-l1"><a class="reference internal" href="notebooks/3-ttu-train_models.html">Model Development</a></li>
  82. </ul>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. <div class="bottomnav" role="navigation" aria-label="bottom navigation">
  88. <p>
  89. «&#160;&#160;<a href="notebooks/0-ttu-curtailments_eda.html">Exploratory Data Analysis</a>
  90. &#160;&#160;::&#160;&#160;
  91. <a class="uplink" href="index.html">Contents</a>
  92. &#160;&#160;::&#160;&#160;
  93. <a href="notebooks/1-ttu-logistic-weather.html">Example: Predicting Daily Curtailment Events</a>&#160;&#160;»
  94. </p>
  95. </div>
  96. <div class="footer" role="contentinfo">
  97. &#169; Copyright Thomas Tu, 2020.
  98. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.4.4.
  99. </div>
  100. </body>
  101. </html>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...