Top "Data-science" questions

Implementation questions about data science.

'Conda' is not recognized as internal or external command

I installed Anaconda3 4.4.0 (32 bit) on my Windows 7 Professional machine and imported NumPy and Pandas on Jupyter notebook so I assume …

python anaconda conda data-science
Unable to allocate array with shape and data type

I'm facing an issue with allocating huge arrays in numpy on Ubuntu 18 while not facing the same issue on MacOS. …

python numpy data-science
How to load a model from an HDF5 file in Keras?

How to load a model from an HDF5 file in Keras? What I tried: model = Sequential() model.add(Dense(64, input_…

python machine-learning keras data-science
Where do I call the BatchNormalization function in Keras?

If I want to use the BatchNormalization function in Keras, then do I need to call it once only at …

python keras neural-network data-science batch-normalization
ValueError: Wrong number of items passed - Meaning and suggestions?

I am receiving the error: ValueError: Wrong number of items passed 3, placement implies 1, and I am struggling to figure out …

python pandas prediction data-science
How big should batch size and number of epochs be when fitting a model in Keras?

I am training on 970 samples and validating on 243 samples. How big should batch size and number of epochs be when …

python machine-learning keras data-science
ValueError: invalid literal for int() with base 10: '196.41'

I don't understand why it works with different scenarios, but not with this one. Basically, some gentleman helped me out …

python web-scraping beautifulsoup data-science valueerror
How to plot multiple pandas columns on the y-axis of line graph

I have dataframe total_year, which contains three columns (year, action, comedy) . total_year I want to plot the year …

python pandas matplotlib plot data-science
pandas reset_index after groupby.value_counts()

I am trying to groupby a column and compute value counts on another column. import pandas as pd dftest = pd.…

python pandas dataframe data-manipulation data-science
pandas.to_numeric - find out which string it was unable to parse

Applying pandas.to_numeric to a dataframe column which contains strings that represent numbers (and possibly other unparsable strings) results …

python pandas data-science data-cleaning