-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
When attempting to predict the price of a single house, via
HouseData hd = new HouseData() { Area = "76", BedRooms = 3, BedRoomsBsmt = 0, FullBath = 2, HalfBath = 0, Rooms = 7, ApproxSquFeet = 1300, GarageType = "Attached", GarageSpaces = 2 };
HousePricePrediction.PredictSinglePrice(hd, mlContext, _modelPath);
The following error occurs:
'Type should contain a member named CatGarageType'
It highlights the following line:
var predictionFunction = mlContext.Model.CreatePredictionEngine<HouseData, HousePrediction>(loadedModel, dataViewSchema);
Metadata
Metadata
Assignees
Labels
No labels