Learn R Programming

aifeducation (version 1.0.2)

check_aif_py_modules: Check if all necessary python modules are available

Description

This function checks if all python modules necessary for the package aifeducation to work are available.

Usage

check_aif_py_modules(trace = TRUE, check = "pytorch")

Value

The function prints a table with all relevant packages and shows which modules are available or unavailable.

If all relevant modules are available, the functions returns TRUE. In all other cases it returns FALSE

Arguments

trace

bool TRUE if a list with all modules and their availability should be printed to the console.

check

string determining the machine learning framework to check for.

  • check = "pytorch": for 'pytorch'.

  • check = "tensorflow": for 'tensorflow'.

  • check = "all": for both frameworks.

See Also

Other Installation and Configuration: install_aifeducation(), install_py_modules(), set_transformers_logger()