# Questions tagged [matrix]

A matrix is a collection of numbers arranged into a fixed number of rows and columns.

46 questions
Filter by
Sorted by
Tagged with
12 views

### Conventions for dimensions of input and weight matrices in neural networks?

Im currently learning neural networks and I see conflicting decsriptions of the dimensions of weight and input matrices on the internet. I just wanted to know if there is some convention which more ...
8 views

### How to draw multiple matrices (with grid, custom color per cell) in 3D with raycast?

I would like to draw multiple matrix with ray-casting in 3D. More specific like this (source) I have seen similar figure in some paper (I forgot which one). I wonder how they can draw like this. If ...
37 views

97 views

### Faster 3D Matrix Operation - Python

I am working with 3D matrix in Python, for example, given matrix like this with size of 2x3x4: ...
318 views

### How are weights calculated in a feed-forward neural network before they are summed up with bias?

I have read a lot of papers and watched different videos, it seems like they explain how they are summed up with bias before entering the activation function. What I am trying to understand is the ...
245 views

### how exp(-z) is working in a sigmoid function in neural networks while z is a matrix?

function g = sigmoid(z) %SIGMOID Compute sigmoid function J = SIGMOID(z) computes the sigmoid of z.% g = 1.0 ./ (1.0 + exp(-z)); end i'm going through andrew ng coursera course i have a doubt ...
29 views

### Is this matrix correctly built?

I was reading an article called "Ensemble learning in recommender systems: combining multiple user interactions for ranking personalization" where they explain a method they use called "BPR ...
145 views

### How can I create convolutions or linear layers that operate on vectors rather than scalars in pytorch?

Consider an nn.Linear(2,3) layer transform like the one below. It uses a 2x3 matrix of scalar weights to create a weighted sum for each scalar element in the ...
625 views

### How can I perform backpropagation directly in matrix form?

I had made a neural network library a few months ago, and I wasn't too familiar with matrices. So, instead of performing matrix dot products (between weights and inputs, then adding a bias matrix), I ...
49k views

### Normalize matrix in Python numpy

I've an array like this: ...