Retraining Machine Learning Model in Microsoft Machine Learning (ML.Net) Error

System.InvalidCastException

  Message=Unable to cast object of type 'Microsoft.ML.Data.TransformerChain`1[Microsoft.ML.ITransformer]' to type 'Microsoft.ML.ISingleFeaturePredictionTransformer`1[System.Object]'.