public string PredictBay(ContainerDestination containerDestination, int row) { // Add input data var input = new ModelInput { Row = row, ContainerContentType = containerDestination.Container.ContentType.ToString(), ContainerSize = containerDestination.Container.Size.ToString(), ContainerType = containerDestination.Container.ContainerType.ToString(), RouteNumber = containerDestination.Destination.RegionNumber }; // Load model and predict output of sample data ModelOutput result = ConsumeModel.PredictBay(input); return(result.Prediction.ToString()); }