Artificial Intelligence for Education


[Up] [Top]

Documentation for package ‘aifeducation’ version 0.2.0

Help Pages

array_to_matrix Array to matrix
bow_pp_create_basic_text_rep Prepare texts for text embeddings with a bag of word approach.
bow_pp_create_vocab_draft Function for creating a first draft of a vocabulary This function creates a list of tokens which refer to specific universal part-of-speech tags (UPOS) and provides the corresponding lemmas.
check_aif_py_modules Check if all necessary python modules are available
combine_embeddings Combine embedded texts
create_bert_model Function for creating a new transformer based on BERT
create_longformer_model Function for creating a new transformer based on Longformer
create_roberta_model Function for creating a new transformer based on RoBERTa
create_synthetic_units Create synthetic units
EmbeddedText Embedded text
get_coder_metrics Calculate reliability measures based on content analysis
get_n_chunks Get the number of chunks/sequences for each case
get_synthetic_cases Create synthetic cases for balancing training data
install_py_modules Installing necessary python modules to an environment
load_ai_model Loading models created with 'aifeducation'
matrix_to_array_c Reshape matrix to array
save_ai_model Saving models created with 'aifeducation'
set_config_cpu_only Setting cpu only for 'tensorflow'
set_config_gpu_low_memory Setting gpus' memory usage
set_config_os_environ_logger Sets the level for logging information in tensor flow.
set_config_tf_logger Sets the level for logging information in tensor flow.
TextEmbeddingClassifierNeuralNet Text embedding classifier with a neural net
TextEmbeddingModel Text embedding model
train_tune_bert_model Function for training and fine-tuning a BERT model
train_tune_longformer_model Function for training and fine-tuning a Longformer model
train_tune_roberta_model Function for training and fine-tuning a RoBERTa model