python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Why the numpy pinv did not give the correct result
I have a pseudoinverse problem as follows:
Y = W.T @ X
Where
Y.shape = (2, 800)
W.shape = (9, 2)
X.shape = (9, 800)
I have Y and X and I am looking for W. I used numpy.linalg.pinv.
W = Y @ numpy.lin...
zdm
Votes: 0
Answers: 0
Predicting values using Polynomial/Least Squares Regression
I have a dataset of 2 variables (called x with shape n x 2 values of x1 and x2) and 1 output (called y). I am having trouble understanding how to calculate predicted output values from the polynomial ...
6900HS
Votes: 0
Answers: 1
solving system of 16 nonlinear equations with 16 unknowns
I am trying to solve a system of 16 nonlinear equations that has 16 unknowns using lsqnonlin.
my variables are all depend on other equations (exp: SegmaD is unknown and defined as (SegmaD= EpR2Teta) t...
Eline Issa
Votes: 0
Answers: 1
How do I create a loop for multiple iteration of linear regression of OLS with dynamic LHS and RHS?
I have a dataset with multiple columns with variables that I want to check for correlations. My identifier is country code and the remaining are all variables that are to be studied. The goal is to fi...
Abhishek Pant
Votes: 0
Answers: 0