pred_score {creditmodel}R Documentation

pred_score

Description

pred_score is for using logistic regression model model to predict new data.

Usage

pred_score(
  model,
  dat,
  x_list = NULL,
  bins_table = NULL,
  obs_id = NULL,
  miss_values = list(-1, "-1", "NULL", "-1", "-9999", "-9996", "-9997", "-9995",
    "-9998", -9999, -9998, -9997, -9996, -9995),
  woe_name = FALSE
)

Arguments

model

Logistic Regression Model generated by training_model.

dat

Dataframe of new data.

x_list

Into the model variables.

bins_table

a data.frame generated by get_bins_table

obs_id

The name of ID of observations or key variable of data. Default is NULL.

miss_values

Special values.

woe_name

Logical. Whether woe variable's name contains 'woe'.Default is FALSE.

Value

new scores.

See Also

training_model, lr_params, xgb_params, rf_params


[Package creditmodel version 1.3.1 Index]