PredictionCR: Prediction

View source: R/PredictionCR.R

PredictionCRR 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

PreProcessingLink, TrainCR

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)


TrafficBDE documentation built on March 31, 2023, 8:41 p.m.