This functions splits data into labeled and unlabeled data.
Arguments
- embedding
Object of class EmbeddedText.
- target
Named
factor
containing all cases with labels and missing labels.
Value
Returns a list
with the following components
embeddings_labeled:
Object of class EmbeddedText containing only the cases which have labels.embeddings_unlabeled:
Object of class EmbeddedText containing only the cases which have no labels.targets_labeled:
Namedfactor
containing the labels of relevant cases.
See also
Other Auxiliary Functions:
array_to_matrix()
,
calc_standard_classification_measures()
,
check_embedding_models()
,
clean_pytorch_log_transformers()
,
create_iota2_mean_object()
,
create_synthetic_units()
,
generate_id()
,
get_coder_metrics()
,
get_folds()
,
get_n_chunks()
,
get_stratified_train_test_split()
,
get_synthetic_cases()
,
get_train_test_split()
,
is.null_or_na()
,
matrix_to_array_c()
,
summarize_tracked_sustainability()
,
to_categorical_c()