Learn R Programming

TrafficBDE (version 0.1.2)

PreProcessingLink: PreProcessing second model

Description

This function processes the data.

Usage

PreProcessingLink(DataList)

Value

A list with the following components:

  • trainset The trainset for the model

  • testset The testset to be predict

  • Minimum The min values of each column of the initial dataset

  • Maximum The max values of each column of the initial dataset

Arguments

DataList

A list with the following components: trainData, testData, trainDataWide, cormat

Author

Aikaterini Chatzopoulou, Kleanthis Koupidis

Details

This function returns as a list object the parameters needed to train the model and predict.

Examples

Run this code
if (FALSE) {
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)}

Run the code above in your browser using DataLab