Skip to contents

Train Model

Trains the model, uses the four internal functions listed in the subsection below. Note that the arguments of these functions exist to help with testing and can be ignored.

Train_model()
Trains model

Internal functions used by Train_model()

get_data()
Extracts data used to create features for model
get_NLP()
Creates the NLP features
get_create_features()
Creates a feature matrix for CRAN packages
get_CRAN_logs()
Calculates a monthly package download threshold

Helpers

download_taskview_data()
Downloads Task View data
save_or_return_objects()
Save or return objects