check_and_install {deepregression}R Documentation

Function to check python environment and install necessary packages

Description

If you encounter problems with installing the required python modules please make sure, that a correct python version is configured using py_discover_config and change the python version if required. Internally uses keras::install_keras.

Usage

check_and_install(force = FALSE, engine)

Arguments

force

if TRUE, forces the installations

engine

character; check if tf(= tensorflow) or torch is available

Value

Function that checks if a Python environment is available and contains TensorFlow. If not the recommended version is installed.


[Package deepregression version 2.2.0 Index]