I’m trying to learn reinforcement learning & all the tutorials I found so far use a program called numpy or something called numpy. I’ve downloaded it & unzipped it, but still get there no module named numpy. Can someone help me fix the problem or point to some stuff that don’t use it
guess i’m not using it. time to find a place that don’t use it. Any advice?
This is the main tutorial page about Processing’s Python Mode (Jython-based) flavor:
For the original C-based Python, go here:
I don’t see reinforcement learning in those tutorials
I dunno what kinda tutorials are those. But I bet they require the original Python.
Thonny is a quick and easy way to get Python set up and running. It comes bundled with an editor and Python. You can install numpy from the Thonny package manager (Tools > Manage Packages).
ty I got python on my computer just trying to learn how to do reinforcement learning and every dumb tutorial says use python & a bunch of libraries
You can add Python packages using pip. You might need to install it first, then open your command-line/terminal and type:
pip install numpy
IDEs like Thonny and PyCharm include package managers that handle this process for you.
I really starting to hate how you need hundred libraries to do one simple thing
Python works with numpy.
Processing.py does not and will not work with numpy. For why, see:
Does this mean I can use SciPy!? NumPy!?
No. Processing’s Python Mode is implemented in Java, and relies on the Jython project’s implementation of the Python programming language. You can use any “pure Python” module, meaning any Python
I would recommend using Anaconda with all machine learning related activities. Installing python with it installs numpy, pandas, scikit-learn etc. libraries used with machine learning. You might need to install Tensorflow and Keras to do Deep Learning based transfer learning, but that too can be done by Anaconda.
If you want to use Processing visualization with python3, check out p5py.
Note it does not interface with Java libraries.
I got it working. Then the tutorial I was watching switched from reinforcement learning to supervised learning.