It looks like you're new here. Sign in or register to get started.
Good luck - my set-up checklist starts below:
As far as
setting up Keras in RapidMiner (and other related Python packages Keras needs),
here's what seems to be working for me on several Dev boxes in my shop (caveat:
all boxes are running Windows 7 64 bit, with SP1 - all machines have either 16
or 32 GB of RAM and I7 processors).
Install the Keras extension from the Rapid Miner Extensions Marketplace into
Download and install Anaconda 3 (https://www.anaconda.com/)
Get the appropriate version (64 or 32 bit).
the Anaconda Navigator (should now be in your Windows Program Group)
a new environment using the Anaconda Navigator. The Navigator (as of this
writing) will suggest using Python 3.6, but there is also an option for Python
3.5, Tick on Python 3.5 as I understand that the RapidMiner Keras
extension was developed using Python 3.5. I named my Environment py35.
After Anaconda creates the environment, open up the Anaconda Prompt
(should be listed as a shortcut from the Start Menu, or within the Anaconda
program group. Though I didn't have to, you could left click on the icon
for the Anaconda prompt and select "Run as Administrator"
neeed to activate the new environment you just created. From the prompt
type: activate <environment name>. If you named your environment
py35, you would type: activate py35. Then hit Enter/Return. After
a few seconds, the Anaconda prompt will return, and the environment will be
active. The new environment name should now be part of the Anaconda
7. To see
a list of existing Python packages in your new environment, type conda list and
then Enter/Return. You should see a short list of packages.
now need to install a few more Python packages. Type conda install pandas
and then Enter. After a few seconds, you will be asked to confirm that
you want to do the installation. Type y and the downloading and
installation of pandas (and other dependent packages) will begin. When the
installation has finished, you'll be returned to the Anaconda prompt for your
Type conda install scikit-learn and then Enter. Confim that you
want to do the install, and then it should start. When the install is
done, you'll be returned to the prompt for your Anaconda environment.
You now need to install a package named Graphviz which requires some
extra steps. Go to http://www.graphviz.org/ and download graphviz-238.msi. Then run the msi file
you have downloaded to install graphviz (which is a Windows Forms application).
open the Windows Control Panel, select the System App, and then Advanced System
Settings --> Environment Variables. Add the path to the Graphviz
executable to (at the least) the PATH environment variable for your user
account. The value to append to your existing PATH is C:\Program
Files (x86)\Graphviz2.38\bin Type in a semicolon in front
of C:\Program Files (x86)\Graphviz2.38\bin in order to seperate it from
the previous entry in your PATH statement. For good measure (though it
may not be strictly neccessary, I also added the following directories to my
(remember to type in a semicolon after C:\Program Files
(x86)\Graphviz2.38\bin before typing in another entry).
your Windows User Account name for the YourUserName directly above.
To confirm that your PATH environment variable value has been updated,
open a Command Window and type path and then enter. The value of your PATH
environment variable will echo to the screen. If what you see doesn't
include the entries you just added, you'll need to re-boot your system and
Assuming your PATH has been updated, you can install graphviz (from
within the Anaconda prompt for your environment - which should now also show up
as a shortcut from the Start Menu or from within the anaconda Program Group) by
typing conda install graphviz and then Enter.
Then install the pydot package by typing pip install pydot and then Enter
Last but not least, install Keras (recently updated to version 2.0.6) by
typing conda install -c conda-forge keras and then Enter. After
confirming that you want to do the install, Keras and numerous dependent
packages will be installed, and you'll be back at the Anaconda prompt for your
If you want to use Tensorboard to visualize your models install the
latest version of Tensorflow and Tensorboard by typing
pip install --ignore-installed --upgrade
Enter. Quite a few packages will be installed, and you'll be back at the
re: Tensorflow and Tensorboard, visit https://www.tensorflow.org
type conda list and then Enter, you will see that your environment now contains
many more packages.
configuration step needs to occur within RapidMiner Studio by selecting
Settings -> Preferences and telling RapidMiner Studio where python.exe is
within your Python environment. By default, the complete path should be:
the disk icon to the left of the Test command button and navigate to python.exe
within your environment twice - once for the "Keras" option and once
for the "Python Scripting" option in the Preferences dialog. Be
sure to click on the "Test" button both times. If there are no
errors, you'll get a message box stating that Python has been detected within
Anaconda. On all my Dev boxes, there were no errors, hopefully there will
be no errors on your system.
all of the set up commands above may not work with Windows 10, but Windows 10
does allow you to set compatibility mode to run various programs, so perhaps
experimenting with compatibility settings would help.
installation described above is a CPU installation as opposed to a GPU
installation. GPU installtions will run keras models quicker, but have
hardware requirements and the install is tricky. For more info on this
subject visit https://www.google.ca/search?q=keras+gpu+installation&oq=keras+gpu+installation&aqs=chrome..69i57j69...
should (hopefully) now be able to run the Keras samples provided with RapidMiner
which are in the repository under the entry Keras Samples.
Using Tensorboard to visualize Deep Learning outputs in a browser is a whole other subject, but again, hopefully these notes will allow you to run the Keras samples and facilitate your own development work.