Generate_Heldout_Samples: A Function to generate test-train splits using NH county...

Description Usage Arguments Value

Description

A Function to generate test-train splits using NH county data. This is meant for internal use with our own data format.

Usage

1
Generate_Heldout_Samples(files, seed, held_out_proportion = 0.1)

Arguments

files

A string vector containing the names of the well-formatted .Rdata files with data from the counties we wish to generate a test train split from.

seed

The seed we wish to use to generate the random splits. This is set up so we can vary it and so we can reproduce our results.

held_out_proportion

A number between zero and 1, defaults to 0.1

Value

Returns a list of lists where each sub-list contains a test-train split of the data generated by the chosen seed.


matthewjdenny/ContentStructure documentation built on May 21, 2019, 1:01 p.m.