constituent.models: Constituent model (pre-trained base learners)

constituent.modelsR Documentation

Constituent model (pre-trained base learners)

Description

List of constituent models trained with caretList.

Usage

constituent.models

Format

A list of train objects.

  • glmnet: a generalized linear model (GLM) with Elastic-Net regularization (glmnet)

  • svmRadial: a Support Vector Machine (SVM) with a radial kernel (ksvm with kernel = "rbfdot")

  • ranger: a Random Forest (ranger)

  • xgbTree: an eXtreme Gradient Boosting (XGBoost) machine (xgboost with learner = "tree")

Details

Individual models were tuned to individually defined tuning grids using 5-times repeated 10-fold cross validation to 6292 labeled tweets. "Best" models were selected among these candidates based on which tuning parameter combinations yielded the highest F1 value. These "best" candidates were then trained to the complete training data in a 10-times repeated 10-fold cross validation scheme.


haukelicht/politicaltweets documentation built on July 3, 2023, 4:11 a.m.