What's the deal with Deno? We talk with a major contributor to find out. Listen now.

Questions tagged [numpy]

For questions related to the NumPy library that are NOT just about programming issues (which are off-topic here).

Filter by
Sorted by
Tagged with
2
votes
2answers
77 views

How can I perform lossless compression of images so that they can be stored to train a CNN?

I have a set of images, which are quite large in size (1000x1000), and as such do not easily fit into memory. I'd like to compress these images, such that little information is missing. I am looking ...
2
votes
1answer
77 views

Why is my derivation of the back-propagation equations inconsistent with Andrew Ng's slides from Coursera?

I am using the cross-entropy cost function to calculate its derivatives using different variables $Z, W$ and $b$ at different instances. Please refer image below for calculation. As per my knowledge, ...
1
vote
1answer
84 views

Value Iteration failing to converge to optimal value function in Sutton-Barto's Gambler problem

In Example 4.3:Gambler's Problem of Sutton and Barto's book whose code is given here. In this code the value function array is initialized as np.zeros(states) where ...
1
vote
0answers
15 views

Neural network algorithm implementation for Iris dataset

I want to use Neural network algorithm over famous Iris dataset. Iris dataset attributes names sepal length in cm sepal width in cm petal length in cm petal width in cm Sample dataset: ...
1
vote
0answers
55 views

How get matrix of word embeddings in FastText of gensim?

I try get the matrix embedding of my model but I can't because although this code gives no error it never ends running. The code is: ...