Given a formula object and a data.frame, extract the design matrix X for the labeled observations, X_u for the unlabeled observations and y for the labels of the labeled observations. Note: always removes the intercept
SSLDataFrameToMatrices(model, D)
Formula object with model
data.frame object with objects
list object with the following objects:
design matrix of the labeled data
design matrix of the unlabeled data
integer vector indicating the labels of the labeled data
names of the classes corresponding to the integers in y
Other RSSL utilities:
LearningCurveSSL()
,
add_missinglabels_mar()
,
df_to_matrices()
,
measure_accuracy()
,
missing_labels()
,
split_dataset_ssl()
,
split_random()
,
true_labels()