<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to calculate the linear regression coefficients in SPlunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429286#M169178</link>
    <description>&lt;P&gt;@dragut, get &lt;A href="https://splunkbase.splunk.com/app/2890/"&gt;Machine Learning Toolkit App&lt;/A&gt; from Splunkbase. It has the macro/SPL required to calculate R2 statistics for Forcasting time series.&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 07:52:05 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-05-29T07:52:05Z</dc:date>
    <item>
      <title>How to calculate the linear regression coefficients in SPlunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429285#M169177</link>
      <description>&lt;P&gt;I have calculated the ten different percentiles of a response time field and want to make a linear regression of the the 10 data values  with the 0.1 to 1 interval points. Is there a way to get the intercept and slope values and R2 stats in Splunk? Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 05:46:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429285#M169177</guid>
      <dc:creator>dragut</dc:creator>
      <dc:date>2018-05-29T05:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the linear regression coefficients in SPlunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429286#M169178</link>
      <description>&lt;P&gt;@dragut, get &lt;A href="https://splunkbase.splunk.com/app/2890/"&gt;Machine Learning Toolkit App&lt;/A&gt; from Splunkbase. It has the macro/SPL required to calculate R2 statistics for Forcasting time series.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 07:52:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429286#M169178</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-29T07:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the linear regression coefficients in SPlunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429287#M169179</link>
      <description>&lt;P&gt;What about slope and intercept?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 01:30:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429287#M169179</guid>
      <dc:creator>dragut</dc:creator>
      <dc:date>2018-06-04T01:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the linear regression coefficients in SPlunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429288#M169180</link>
      <description>&lt;P&gt;Please check out &lt;A href="https://splunkbase.splunk.com/app/2890"&gt;Splunk Machine Learning Toolkit App&lt;/A&gt; (MLTK). With current release 3.2 it has 30 algorithms implemented for 8 different categories: &lt;A href="http://docs.splunk.com/Documentation/MLApp/latest/User/Algorithms"&gt;http://docs.splunk.com/Documentation/MLApp/latest/User/Algorithms&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://www.splunk.com/pdfs/solution-guides/machine-learning-quick-ref-guide.pdf"&gt;https://www.splunk.com/pdfs/solution-guides/machine-learning-quick-ref-guide.pdf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;MLTK also allows you to import the algorithm of your choice to Splunk using &lt;A href="http://docs.splunk.com/Documentation/MLApp/latest/API/Introduction"&gt;Machine Learning API&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Once the app is installed, it also has links to several video tutorials related to Machine Learning Toolkit.&lt;/P&gt;

&lt;P&gt;While you should be using MLTK App for implementing Machine Learning in your Splunk App, you can also refer to following Wiki for Linear Regression implementation using SPL.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://wiki.splunk.com/Community:Plotting_a_linear_trendline"&gt;https://wiki.splunk.com/Community:Plotting_a_linear_trendline&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please try out  MLTK, read documentation and go through tutorial videos and confirm!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 04:29:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429288#M169180</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-06-04T04:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the linear regression coefficients in SPlunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429289#M169181</link>
      <description>&lt;P&gt;As  @niketnilay mentioned, the best way is to actually install the Splunk MLTK app (remember to install python sdk app as well) and try out the linear regression model. Intercept, R2 are all available features in the Splunk MLTK app.&lt;BR /&gt;
My concern is that are you are using 10 samples to make  a prediction? If so, your model won't be valid. You need samples size in thousands or at least around 300-500&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 08:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-linear-regression-coefficients-in-SPlunk/m-p/429289#M169181</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-06-04T08:49:32Z</dc:date>
    </item>
  </channel>
</rss>

