Splunk Dev

Splunk ML toolkit, Python Scientific Computing : pasty package version upgrade issue

absdef
New Member

Hello, I am writing a custom algorithm for fitting a GLM model for Negative Binomial using the latest versions of Splunk ML toolkit and Python for Scientific Computing on Splunk Enterprise (local).

I encountered this issue:

"ValueError: For numerical factors, num_columns must be an int"

I researched a bit and found out that this is because of the 'pasty' package version 0.4 that comes with scipy. It occurs on Windows 64 bit.

The solution is to upgrade the 'pasty' package to higher version. How do I upgrade this with the Python for Scientific Computing/ML Toolkit in Splunk?

On a related note, how do I check what versions of scipy/other packages are being used in Python for Scientific Computing 1.2?

0 Karma

kbondarev
New Member

Hi,

you can see all the package versions in the readme file in the app folder:

  • numpy 1.10.4
  • scipy 0.17.0
  • pandas 0.17.1
  • scikit-learn 0.17.0
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...