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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...