How is scoring done in azure ml?

HARISH KUMAR 21 Reputation points
2022-04-05T09:52:10.267+00:00

Suppose I have 50 features in my dataset, but after feature engineering(one hot encoding or tf-idf) I get 200 feature colums. The model is trained on these 200 features and is deployed and now we have a rest endpoint for the model. Now the customer will hit the endpoint with 50 features but the model is expecting 200 columns. Where will the conversion of 50 to 200 features takes place?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,577 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,151 Reputation points
    2022-04-05T20:26:45.297+00:00

    Hi, thanks for reaching out. It seems you're wondering how to consume the model after feature engineering. The simple answer is that you'll need to apply the same transformations on your testing dataset. The schema of the input dataset should match the schema of the data used to train the model.


    --please don't forget to Accept Answer if the reply is helpful. Thanks.--

    0 comments No comments