Actualiser EXO4/scripts/q2.sce
This commit is contained in:
parent
8398708aac
commit
245fea917a
@ -4,4 +4,6 @@ plot2d(X,Y,-1);
|
|||||||
[a,b] = reglin(X',Y');
|
[a,b] = reglin(X',Y');
|
||||||
y_reg = a*X+b;
|
y_reg = a*X+b;
|
||||||
plot2d(X,y_reg,5);
|
plot2d(X,y_reg,5);
|
||||||
corrcoef(X,Y)
|
corrcoef(X,Y)
|
||||||
|
xlabel('Salaires');
|
||||||
|
ylabel('Expérience');
|
Loading…
Reference in New Issue
Block a user