Learn R Programming

deepregression (version 2.2.0)

check_and_install: 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)

Value

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

Arguments

force

if TRUE, forces the installations

engine

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