Test querie return prediction from empty parameter

hmirza
hmirza Registered Posts: 3 ✭✭✭

Hi,

i was testing my prediction model endpoint, by Test queries from my datasets, and its working perfictly,,

But,, when i test my model with empty features query, it also returnts a prediction , even when i passed nothing to the features parameters, where it should rather return empty value.

whad tyou think is the problem causing this ?

testq.PNG

thank you

Answers

  • Emma
    Emma Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 52 Dataiker

    Hey @hmirza
    ,

    This is expected behaviour! You can simulate the same thing on your Flow by passing a dataset with column names and no values to a Scoring recipe.

    Emma

  • Simona
    Simona Registered Posts: 1

    Why is this an expected behavior? Is there at least some recommendation on how and wehere to deal with data validation, if Dataiku doesn't provide any data structure for the request / response expected formats out of the box? A documentation about this would be really valuable since having model output a prediction even without input features / features missing is not good.

Setup Info
    Tags
      Help me…