Skip to content

Commit 5d24c4c

Browse files
committed
fix tab-space mixture issue in README
1 parent a3edf57 commit 5d24c4c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -332,13 +332,13 @@ to classify new data.
332332

333333
For example, if we have the following training data:
334334

335-
LABEL ATTR1 ATTR2 ATTR3 ATTR4 ATTR5
336-
----- ----- ----- ----- ----- -----
337-
1 0 0.1 0.2 0 0
338-
2 0 0.1 0.3 -1.2 0
339-
1 0.4 0 0 0 0
340-
2 0 0.1 0 1.4 0.5
341-
3 -0.1 -0.2 0.1 1.1 0.1
335+
LABEL ATTR1 ATTR2 ATTR3 ATTR4 ATTR5
336+
----- ----- ----- ----- ----- -----
337+
1 0 0.1 0.2 0 0
338+
2 0 0.1 0.3 -1.2 0
339+
1 0.4 0 0 0 0
340+
2 0 0.1 0 1.4 0.5
341+
3 -0.1 -0.2 0.1 1.1 0.1
342342

343343
then the components of svm_problem are:
344344

@@ -347,10 +347,10 @@ to classify new data.
347347
y -> 1 2 1 2 3
348348

349349
x -> [ ] -> (2,0.1) (3,0.2) (-1,?)
350-
[ ] -> (2,0.1) (3,0.3) (4,-1.2) (-1,?)
351-
[ ] -> (1,0.4) (-1,?)
352-
[ ] -> (2,0.1) (4,1.4) (5,0.5) (-1,?)
353-
[ ] -> (1,-0.1) (2,-0.2) (3,0.1) (4,1.1) (5,0.1) (-1,?)
350+
[ ] -> (2,0.1) (3,0.3) (4,-1.2) (-1,?)
351+
[ ] -> (1,0.4) (-1,?)
352+
[ ] -> (2,0.1) (4,1.4) (5,0.5) (-1,?)
353+
[ ] -> (1,-0.1) (2,-0.2) (3,0.1) (4,1.1) (5,0.1) (-1,?)
354354

355355
where (index,value) is stored in the structure `svm_node':
356356

0 commit comments

Comments
 (0)