Skip to contents

R6 class for settting the global machine learning framework.

R6 class for settting the global machine learning framework.

Value

The function does nothing return. It is used for its side effects.

Details

R6 class for setting the global machine learning framework to 'PyTorch' or 'tensorflow'.

Methods


Method get_framework()

Method for requesting the used machine learning framework.

Usage

AifeducationConfiguration$get_framework()

Returns

Returns a string containing the used machine learning framework for TextEmbeddingModels as well as for TextEmbeddingClassifierNeuralNet.


Method set_global_ml_backend()

Method for setting the global machine learning framework.

Usage

AifeducationConfiguration$set_global_ml_backend(backend)

Arguments

backend

string Framework to use for training and inference. backend="tensorflow" for 'tensorflow' and backend="pytorch" for 'PyTorch'.

Returns

This method does nothing return. It is used for setting the global configuration of 'aifeducation'.


Method global_framework_set()

Method for checking if the global ml framework is set.

Usage

AifeducationConfiguration$global_framework_set()

Returns

Return TRUE if the global machine learning framework is set. Otherwise FALSE.


Method clone()

The objects of this class are cloneable with this method.

Usage

AifeducationConfiguration$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.