This message was deleted.
# ask-for-help
s
This message was deleted.
j
``` @bentoml.Runnable.method(batchable=True) #batchable=True, batch_dim=0)
def __call__(self, features: List[IrisFeatures]) -> NDArray[Any]:
input_df = pd.DataFrame([features[0].dict()])
return self.classifier.predict(input_df)```
Hello
This code discards all data except the first feature, which is incorrect.
u
thank you.... I made stupid mistake