Question: How do you solve Machine-Learning Error: "The expected type was 'System.Single' but the actual value was of type 'System.Decimal"?
Solution: Make sure that you are storing the data as Real in SQL Server Database, If a Machine Learning column is expected as a Single which is a Float then the Data Type in SQL Server Table Column should be a Real.
[NB] If you are working with numbers, a rule of thumb is to make those numbers as "Float" in the Class Modal and then store the data in the Database as "Real".
Welcome, log in to continue reading. It's free and only takes a minute.