Hello everyone,
I want to add an algorithm to Splunk, more specifically the Prophet from Facebook.
How can i add modules to Python Scientific Computing, since this module is not available by default?
I tried add this code before importing and use other python from my computer, but i get a lot of errors
import sys
sys.path.append('/home/myuser/anaconda2/lib/python2.7')
sys.path.append('/home/myuser/anaconda2/lib/python2.7/site-package
The error when the search with the algorithm fail:
Error in 'fit' command: Invalid message received from external search command during search, see search.log.
The Job Inspector show this message:
This search did not successfully execute. Any results returned from this job are not consistent and should not be used.
And looking in the search.log through Job Inspector, I found these errors:
04-25-2019 10:06:21.321 ERROR ChunkedExternProcessor - stderr: ERROR:fbprophet.plot:Importing matplotlib failed. Plotting will not work.
04-25-2019 10:06:21.371 ERROR ChunkedExternProcessor - stderr: /home/myuser/.local/lib/python2.7/site-packages/fbprophet/forecaster.py:794: FutureWarning: Series.nonzero() is deprecated and will be removed in a future version.Use Series.to_numpy().nonzero() instead
04-25-2019 10:06:21.371 ERROR ChunkedExternProcessor - stderr: min_dt = dt.iloc[dt.nonzero()[0]].min()
04-25-2019 10:06:21.402 ERROR ChunkedExternProcessor - Failed attempting to parse transport header: Initial log joint probability = -2.68685
Does anyone know how to fix these, or have a new way to add a library?
Thanks
... View more