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
0
votes
0answers
10 views

when updating the bias matrix, do we get the total sum of dZ or the sum of the axis of dZ?

I'm currently studying how to implement a neural network from scratch to know how it works, I came across this article: https://www.samsonzhang.com/2020/11/24/understanding-the-math-behind-neural-...
0
votes
0answers
12 views

Using GAN to create multiple images as per multiple input layers

How to use GAN to create multiple images like https://opensea.io/collection/boredapeyachtclub here, each attribute is variable like fur, BG, Expression, Sunglasses, etc. Is there any GAN software to ...
0
votes
0answers
32 views

Yolo from scratch dataset and output

Hi I coded a YOLO model from scratch and just came to realise that my dataset does not fit the models output. This is what I mean: The model outputs a ...
4
votes
1answer
127 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
0answers
20 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
1answer
199 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
203 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: ...
2
votes
2answers
91 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 ...