FAQ Database Discussion Community

pybrain - ClassificationDataSet - how to understand the output when using SoftmaxLayer

I am trying to build first classifier with Pybrain neural network along with specialized ClassificationDataSet and I am not sure I fully understand it works. So I have a pandas dataframe with 6 feature columns and 1 column for class label (Survived, just 0 or 1). I build a dataset...

Python 2.7.9 PyBrain issue with SciPy

I just tried installing SciPy using scipy‑0.15.1‑cp27‑none‑win_amd64.whl I have Python 2.7.9 x64 installed I have wheel installed I have numpy installed I am working under Windows7 The log said that scipy has been successfully installed after running: pip install scipy-0.15.1-cp27-none-win_amd64.whl The log said that pybrain has been installed succeffully as...

PyBrain: passing empty floats or switching them with neutral values?

Right now, I am trying to pass this for a dataset sample: 7/2/2014,7:30,138.885,138.87,138.923,,,,138.88067,138.91434,138.895,,,,138.89657 14,138.9186042,138.8745387,138.923,138.9046667,138.895,138.8696667 But predictably, it gives me a value error since empty strings can't be converted into floats. What I want to do is to pass those empty variables in such a way the associated nodes will do...