[Solved] Machine-Learning Error: The expected type was 'System.Single' but the actual value was of type 'System.Decimal


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".


Machine-Learning
published
v.0.01




For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email AddressContact: [email protected]