Skip to content

Commit 1524ee6

Browse files
committed
Merge pull request #597 from LaurentBerger:loadknearest
2 parents 7b929df + a4eca64 commit 1524ee6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

testdata/ml/opencv_ml_knn.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<opencv_storage>
3+
<opencv_ml_knn>
4+
<format>3</format>
5+
<is_classifier>1</is_classifier>
6+
<default_k>10</default_k>
7+
<samples type_id="opencv-matrix">
8+
<rows>3</rows>
9+
<cols>2</cols>
10+
<dt>f</dt>
11+
<data>
12+
1. 1. 3. 3. 10. 5.</data></samples>
13+
<responses type_id="opencv-matrix">
14+
<rows>3</rows>
15+
<cols>1</cols>
16+
<dt>f</dt>
17+
<data>
18+
0. 1. 2.</data></responses></opencv_ml_knn>
19+
</opencv_storage>

0 commit comments

Comments
 (0)