SemiSupervisedSelfTrainingModel
Description
You can use a semi-supervised self-training method to label unlabeled data by
using the fitsemiself
function. The resulting SemiSupervisedSelfTrainingModel
object contains the
fitted labels for the unlabeled observations (FittedLabels
) and their
scores (LabelScores
). You can also use the
SemiSupervisedSelfTrainingModel
object as a classifier, trained on both the
labeled and unlabeled data, to classify new data by using the predict
function.
Creation
Create a SemiSupervisedSelfTrainingModel
object by using fitsemiself
.
Properties
Object Functions
predict | Label new data using semi-supervised self-trained classifier |
Examples
Tips
You can use interpretability features, such as
lime
,shapley
,partialDependence
, andplotPartialDependence
, to interpret how predictors contribute to predictions. You must define a custom function and pass it to the interpretability functions. The custom function must return labels forlime
, scores of a single class forshapley
, and scores of one or more classes forpartialDependence
andplotPartialDependence
. For an example, see Specify Model Using Function Handle.
Version History
Introduced in R2020b