I've bought a book about Machine Learning, and it needs an environment setup. The code in the book is
$ export ML_PATH="$HOME/ml"
$ mkdir -p $ML_PATH
but as far as I know, this are Linux/UNIX commands, so there are alternatives for Windows?
The export combined with the import command allows you to batch install applications on your PC. The export command is often used to create a file that you can share with other developers, or for use when restoring your build environment.
To set an environment variable, use the command " export varname=value ", which sets the variable and exports it to the global environment (available to other processes). Enclosed the value with double quotes if it contains spaces. To set a local variable, use the command " varname =value " (or " set varname =value ").
Export is a built-in command of the Bash shell. It is used to mark variables and functions to be passed to child processes. Basically, a variable will be included in child process environments without affecting other environments.
set
(Answers must be 30 chars minimum. Oh yes they must.)
SET ML_PATH="$HOME/ml"
SET mkdir $ML_PATH`
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With