Nishant Gangwarnishantgangwar.hashnode.dev·Apr 30, 2024Beginner's Guide to Deep Learning: Matrices and Linear Algebra ExplainedIn the world of computers learning to be smart, deep learning is like a superstar. It's making amazing things happen in many areas. But did you know that the secret behind its success is actually some basic math? Yeah, it's all about numbers and patt...DiscussArtificial Intelligence
Obidur Rahmanashfin.hashnode.dev·Apr 22, 2024Unveiling the Core Concepts and Applications of Linear Algebra in Machine LearningFundamental Concepts of Linear Algebra Linear algebra is the secret weapon of machine learning. It helps algorithms manipulate data like pros, efficiently. In this comprehensive guide, we dive into the fundamentals to better understand how it powers ...Discuss·1 like·33 readslinear algebra
Pravin M.Dpravinmd.hashnode.dev·Apr 6, 2024Write a Basic Matrix in PythonThis article will help you write a very basic matrix in Python using the popular PyTorch Library What is Matrix? Well what is matrix in the first place? Matrix according to Mathematics is a rectangular array of numbers, symbols or expressions arrang...DiscussPython
Raunak Kaushalraunakkaushal.hashnode.dev·Mar 10, 2024Matrix Multiplication in C program// Matrix Multiplication #include<stdio.h> int main() { int r1, c1, r2, c2, i, j, k; printf("Enter number of rows for first matrix: "); scanf("%d", &r1); printf("Enter number of columns for first matrix: "); scanf("%d", &c1); printf("Enter number of ...DiscussMatrix
Gagan G Saralayagagang.hashnode.dev·Mar 7, 2024C program to input a matrix and change the diagonal elements to zero.Here is a program to convert the diagonal elements to zero. It cheaks if the element i==j and converts it to zero. And it cheaks if the element i+j+1 == to the number of rows and converts to zero. Here is the code. #include<stdio.h> #include<math.h>...Discuss7daystreak
Gulshan Kumarperfinsights.hashnode.dev·Dec 21, 2023Count Negative Numbers in a Sorted MatrixQ - Given a m x n matrix grid which is sorted in non-increasing order both row-wise and column-wise, return the number of negative numbers in grid. LeetCode Problem: Link | Click Here class Solution { public int countNegatives(int[][] grid) { ...DiscussJava SolutionJava
Gagan G Saralayagagang.hashnode.dev·Dec 13, 2023Two Dimensional Arrays in CExample program 3 Here is a program that consists of multiple sub-programs regarding two-dimensional arrays. A lot can be learnt from analyzing this one program. This program Inputs the elements for 2 matrices. Adds both of them and prints the resu...Discuss#exampleprograms
Gulshan Kumarperfinsights.hashnode.dev·Dec 13, 2023Find special Positions in a Binary Matrix.Q - Given an m x n binary matrix mat, return the number of special positions in mat. A position (i, j) is called special if mat[i][j] == 1 and all other elements in row i and column j are 0 (rows and columns are 0-indexed). LeetCode Problem: Link | C...DiscussJava Solutionleetcode
Pelumi Adebayopswith.me·Aug 30, 2023Decoding the Multidimensional Matrix SearchUnderstanding Multidimensional Array Multidimensional arrays play a significant role in problem-solving, especially in computer programming and data manipulation tasks. They provide a way to organize and store data in a structured manner with multipl...Discuss·10 likes·99 readsAlgorithm & Data Structurealgorithms
Sham Vijayiamvbenz.hashnode.dev·Aug 20, 2023Linear Algebra for Machine LearningIntroduction Linear algebra is the backbone of Artificial Intelligence, from simple regressions to K-Means clustering. It's the essential toolkit AI employs to perform its wonders. Essentially, AI is a fusion of mathematics and computer processing. T...Discuss·41 readsMachine Learning