Given a dataset
Set
Based on least square method, we have squared error
where
Then our goal is
The target function
After derivation, we have
If matrix
Even if
Given a dataset
Set
Based on least square method, we have squared error
where
Then our goal is
The target function
After derivation, we have
If matrix
Even if