Search code examples
azuremachine-learningdata-scienceazure-machine-learning-servicemachine-learning-model

Azure ML Prediction Is Constant


I am using the Azure ML model available at https://gallery.azure.ai/Experiment/Weather-prediction-model-1 to design a prediction mechanism based on temperature and humidity. I haven't done any changes to the existing model and feeding in data from a simulator. The prediction output is stuck at 0.489944100379944. I have taken over 17k samples and still, the prediction is constant at this value.

Any help will be highly appreciated.

N.B. - This is my first stint with ML


Solution

  • This was caused by the training dataset. The dataset had characters in the humidity and temperature columns. This led to the model expecting characters but operating on floating point numbers. I cleaned the dataset and ensured that there are only floats in the temperature and humidity columns. Then I used this training data for the model and phew!!!! Everything's working now.