Description Usage Details See Also Examples
These functions are used for testing and establishing a python environment
connection with neuralprophet
.
1 2 3 4 5 6 7 8 9 |
is_nprophet_activated()
: Determines if a Neural Prophet Environment has been activated
during library(neuralprophet)
.
If TRUE
, then you should be good to go.
If FALSE
, then a connection between neuralprophet
and your neuralprophet Python has not been activated.
activate_nprophet()
: Attempts to activate a connection between neuralprophet
and an associated NeuralProphet Python Environment using reticulate::use_condaenv(required = TRUE)
.
It first looks for the system environment variable, 'NPROPHET_PYTHON', for a path to the python executable
It next looks for a Conda Environment named 'nprophet' (this is what most users will have)
get_python_env()
: Returns the configuration for the python environment that is being discovered
using reticulate::py_discover_config()
.
check_nprophet_dependencies()
: Checks whether Neural Prophet required python dependencies are present in the
currently activated Python Environment.
detect_default_nprophet_env()
: Detects if an 'nprophet' python environment is available.
Returns a tibble
containing the
Returns NULL
if an 'nprophet' environment is not detected
install_nprophet()
- Used to install the python environment needed to run neuralprophet
.
1 2 3 4 | # Returns TRUE if NeuralProphet connection established on package load
is_nprophet_activated()
#
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.