PredictionCR {TrafficBDE} | R Documentation |
Prediction
Description
This function predicts the average speed of the road.
Usage
PredictionCR(List,NNOut,predict)
Arguments
List |
A list with the following components: trainset, testset, MinMaxFromScaling |
NNOut |
The train model |
predict |
The value to be predicted |
Details
This function returns the predicted average speed.
Value
The predicted average speed of the road
Author(s)
Aikaterini Chatzopoulou, Kleanthis Koupidis, Charalampos Bratsas
See Also
Examples
## Not run:
SpecLink <- loadDataSpecLink("163204843","1", X163204843_1)
x <- fillMissingValues(SpecLink)
datetime <- "2017-01-27 14:00:00"
newData <- fillMissingDates (x, datetime)
DataList <- loadTrainTest (newData, datetime, "Mean_speed")
List <- PreProcessingLink(DataList)
NNOut <- TrainCR (List,"Mean_speed")
predicted <- PredictionCR(List,NNOut,"Mean_speed")
## End(Not run)
[Package TrafficBDE version 0.1.2 Index]