<?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: Splunk Machine Learning Toolkit: fit/apply Numeric Outlier Detection? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Machine-Learning-Toolkit-fit-apply-Numeric-Outlier/m-p/303385#M36148</link>
    <description>&lt;P&gt;Thank you - that's exactly what I was looking for!&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 16:28:56 GMT</pubDate>
    <dc:creator>lradics</dc:creator>
    <dc:date>2017-07-11T16:28:56Z</dc:date>
    <item>
      <title>Splunk Machine Learning Toolkit: fit/apply Numeric Outlier Detection?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Machine-Learning-Toolkit-fit-apply-Numeric-Outlier/m-p/303383#M36146</link>
      <description>&lt;P&gt;In using the Machine Learning Toolkit, I've noticed that some assistants (such as Predict Numeric Fields) have an option to save the chosen specifications as a model, and/or train said saved model on a schedule - which, to the best of my knowledge, would then allow the model to grow increasingly intelligent based on the data flowing through it.&lt;/P&gt;

&lt;P&gt;Is there an equivalent method for training the Detect Numeric Outliers assistant?  So that when it finds outliers for a given time period, it's using data from past trainings in order to determine a suitable average and outlier threshold?&lt;/P&gt;

&lt;P&gt;I don't know if it's relevant, but here's the SPL I'm using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=xxx source=xxx reactionTime user=* | sort 0 _time | eval rxnTime=reactionTime/1000 | dedup ID | where rxnTime &amp;lt; 100 | where reactionTime != -1 | eventstats avg("rxnTime") as avg stdev("rxnTime") as stdev  | eval lowerBound=(avg-stdev*exact(1.2)), upperBound=(avg+stdev*exact(5)) | eval isOutlier=if('rxnTime' &amp;lt; lowerBound OR 'rxnTime' &amp;gt; upperBound, 1, 0) | search isOutlier=1 | table _time, "rxnTime", lowerBound, upperBound, isOutlier, avg, user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 14:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Machine-Learning-Toolkit-fit-apply-Numeric-Outlier/m-p/303383#M36146</guid>
      <dc:creator>lradics</dc:creator>
      <dc:date>2017-07-11T14:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Machine Learning Toolkit: fit/apply Numeric Outlier Detection?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Machine-Learning-Toolkit-fit-apply-Numeric-Outlier/m-p/303384#M36147</link>
      <description>&lt;P&gt;the way to save a model and keep using it is to &lt;STRONG&gt;fit&lt;/STRONG&gt; it into a saved model and &lt;STRONG&gt;apply&lt;/STRONG&gt; it. to do that, you need to use an algorithm from the scikit you can get here:  &lt;A href="http://scikit-learn.org/stable/auto_examples/index.html"&gt;http://scikit-learn.org/stable/auto_examples/index.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;the algorithm for numerical/categorical outliers is OneClassSVM. &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/MLApp/2.2.0/User/Algorithms#Anomaly_Detectors"&gt;https://docs.splunk.com/Documentation/MLApp/2.2.0/User/Algorithms#Anomaly_Detectors&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 15:39:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Machine-Learning-Toolkit-fit-apply-Numeric-Outlier/m-p/303384#M36147</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-07-11T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Machine Learning Toolkit: fit/apply Numeric Outlier Detection?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Machine-Learning-Toolkit-fit-apply-Numeric-Outlier/m-p/303385#M36148</link>
      <description>&lt;P&gt;Thank you - that's exactly what I was looking for!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:28:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Machine-Learning-Toolkit-fit-apply-Numeric-Outlier/m-p/303385#M36148</guid>
      <dc:creator>lradics</dc:creator>
      <dc:date>2017-07-11T16:28:56Z</dc:date>
    </item>
  </channel>
</rss>

