Description Usage Arguments Value Examples
This function is a demonstration function for using LightGBM regression in LauraeML
without premade folds. It has alpha
, lambda
, and lambda_bias
as tunable hyperparameters. It also accepts feature selection, and performs full logging (every part is commented in the source) with writing to an external file in order to follow the hyperparameters and feature count.
1 2 | LauraeML_lgbreg(x, y, mobile, parallelized, maximize, logging, data, label,
folds)
|
x |
Type: vector (numeric). The hyperparameters to use. |
y |
Type: vector (numeric). The features to use, as binary format (0 for not using, 1 for using). |
mobile |
Type: environment. The environment passed from |
parallelized |
Type: parallel socket cluster (makeCluster or similar). The |
maximize |
Type: boolean. The |
logging |
Type: character. The |
data |
Type: data.table (mandatory). The data features. Comes from |
label |
Type: vector (numeric). The labels. Comes from |
folds |
Type: list of numerics. The folds as list. Comes from |
The score of the cross-validated xgboost gblinear model, for the provided hyperparameters and features to use.
1 2 3 4 | ## Not run:
# To add
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.