Learn R Programming

aifeducation (version 0.3.3)

split_labeled_unlabeled: Split data into labeled and unlabeled data

Description

This functions splits data into labeled and unlabeled data.

Usage

split_labeled_unlabeled(embedding, target)

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: Named factor containing the labels of relevant cases.

Arguments

embedding

Object of class EmbeddedText.

target

Named factor containing all cases with labels and missing labels.

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()