Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to add training-test split line in my forecast chart

$
0
0
Hello Splunkers, I created my forecast chart in Splunk Machine Learning Toolkit and I want to add a training-test split line as I can see in the showcases of "Forecast Time Series". In addition, I would like the training-test split line to by a dynamic one, as the forecast chart is in a dashboard with inputs regarding prediction algorithm, future timespan and holdback. So, the training-test split line can move depending on the value of holdback that the user chooses. Could you please advise me on how a dynamic training-test split line can be created? Thank you in advance! Afroditi Here is the search that creates the forecast chart: **index=main sourcetype=Mssql:Memory |eval hostname=case(host="CZCHOWV227", "MSSQL_CZCHOWV227", host="CZCHOWV227.PRG-DC.DHL.COM", "MSSQL_CZCHOWV227") |where hostname="MSSQL_CZCHOWV227" |eval _time=_time-21600 |rename second as ple |where ple<=1000 |timechart span=5min avg(ple) as ple |predict ple as ple_prediction algorithm="LLP" holdback=100 future_timespan=120 upper95=high lower95=low|`forecastviz(120, 100, "ple", 95)` |appendcols [|search sourcetype=Mssql:Memory |eval hostname=case(host="CZCHOWV227", "MSSQL_CZCHOWV227", host="CZCHOWV227.PRG-DC.DHL.COM", "MSSQL_CZCHOWV227") |where hostname="MSSQL_CZCHOWV227"| eval ple_threshold=300| table _time ple ple_prediction ple_threshold ]** The forecast chart created is: ![alt text][1] [1]: /storage/temp/254820-ple.jpg

Viewing all articles
Browse latest Browse all 47296

Trending Articles