Actualiser EXO4/scripts/q2.sce

This commit is contained in:
Marco ORFAO 2024-06-17 01:02:13 +02:00
parent 8398708aac
commit 245fea917a

View File

@ -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');