TrainCR: Train

View source: R/TrainCR.R

TrainCRR Documentation

Train

Description

This function trains the model.

Usage

TrainCR(List,predict)

Arguments

List

A list with the following components: trainset, testset, Min, Max

predict

The value to be predicted

Details

This function returns the trained model.

Value

The train model

Author(s)

Aikaterini Chatzopoulou, Kleanthis Koupidis

See Also

PreProcessingLink

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")
## End(Not run)


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