Skip to content

Commit 1f0207f

Browse files
author
Merouane Atig
committed
Map features
1 parent 2d52483 commit 1f0207f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mlclass-ex5/polyFeatures.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
%
1616
%
1717

18-
18+
for i=1:p
19+
X_poly(:, i) = X .^ i;
20+
end
1921

2022

2123

0 commit comments

Comments
 (0)