文件名称:regression
文件大小:167B
文件格式:M
更新时间:2015-03-21 21:41:57
regression
function [weights] = regression(train_data_X, train_data_Y) %JUST ONE LINE OF CODE weights = inv(train_data_X'*train_data_X)*train_data_X'*train_data_Y; return;
文件名称:regression
文件大小:167B
文件格式:M
更新时间:2015-03-21 21:41:57
regression
function [weights] = regression(train_data_X, train_data_Y) %JUST ONE LINE OF CODE weights = inv(train_data_X'*train_data_X)*train_data_X'*train_data_Y; return;