Splunk Search

How can I fix deep learning toolkit fit error?

mrcamilo01
New Member

Hi i'm trying to create a vanilla dense neural network in the splunk deep learning toolkit, but when i try to use the command

| fit MLTKContainer algo=nn_regresion "field" from * into: app:XYZ

i got the error:

  • MLTKC error: /fit: ERROR: unable to load algo code from module. Ended with exception: module 'app.model.nn_regresion' has no attribute 'summary'

Someone knows, what did i do wrong? or it's a deep learning toolkit problem?

Labels (1)
0 Karma

moses_meniscus
Explorer

Just a note you might have to define a function in your python code

something like:

def summary():

      <your python code>

 

Hope that helps!

0 Karma
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...