SSLDataFrameToMatrices | R Documentation |
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)
model |
Formula object with model |
D |
data.frame object with objects |
list object with the following objects:
X |
design matrix of the labeled data |
X_u |
design matrix of the unlabeled data |
y |
integer vector indicating the labels of the labeled data |
classnames |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.