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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...