-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.R.example.R
More file actions
62 lines (44 loc) · 1.9 KB
/
config.R.example.R
File metadata and controls
62 lines (44 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# basic configuration stuff
base_config <- list(path_to_NCAA = '~/Google Drive/NCAA/',
# should be path to NCAA folder on google drive
repository_location = '/s/Programming/NCAA_2016'
# this should be the path to the folder that this file is in -- the root of
# the ncaa_2016 git repository
)
#data_recipe, list scripts relative to repo root here:
data_recipe <- list(
data_building_files = list(
# This should always include builder_script.R so that the correct get_features
# and get team data functions get loaded. Any other scripts can be named in
# this list along with this one.
"data_building/createEnduranceFeature.R",
"data_building/builder_script.R"
),
data_to_load = list(
# these files should be specified relative to the NCAA folder
#Define paths and file names
kaggle.submission.file = "2016_competition/data_2016_specific/kaggle_dataset/SampleSubmission.rds",
season.file = "2016_competition/data_2016_specific/kaggle_dataset/RegularSeasonDetailedResults.csv",
tourney.file = "2016_competition/data_2016_specific/kaggle_dataset/TourneyCompactResults.csv"
),
features_to_add = list(
# feature names in this list should be the name of the feature to add
Seed='2016_competition/data_2016_specific/kaggle_dataset/TourneySeeds.rds',
# if the feature is built by a builder script, then enter its file name as NULL. The object returned by the builder script must be the same name as the feature name for it to be properly renamed. For example, the
team.survscores="NULL"
),
#Define training period for features
first.training.season = 2005,
last.training.season = 2009,
first.validation.season=2010,
last.validation.season=2015,
training_split=.3
)
# Model Recipe:
model_recipe <- list(
model_files = list(
#this should be relative to the repository root
"modeling_scripts/sample_model.R"
),
output_file='submission.csv'
)