Mercurial > repos > saket-choudhary > inchlib_clust
diff inchlib_clust/test-data/inchlib_output.json @ 0:60f93f839759 draft default tip
Uploaded
author | saket-choudhary |
---|---|
date | Tue, 07 Oct 2014 19:35:50 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inchlib_clust/test-data/inchlib_output.json Tue Oct 07 19:35:50 2014 -0400 @@ -0,0 +1,131 @@ +{ + "data": { + "nodes": { + "0": { + "count": 1, + "distance": 0, + "objects": [ + "1" + ], + "features": [ + 5.1, + 3.5, + 1.4, + 0.2 + ], + "parent": 5 + }, + "1": { + "count": 1, + "distance": 0, + "objects": [ + "2" + ], + "features": [ + 4.9, + 3.0, + 1.4, + 0.2 + ], + "parent": 7 + }, + "2": { + "count": 1, + "distance": 0, + "objects": [ + "3" + ], + "features": [ + 4.7, + 3.2, + 1.3, + 0.2 + ], + "parent": 6 + }, + "3": { + "count": 1, + "distance": 0, + "objects": [ + "4" + ], + "features": [ + 4.6, + 3.1, + 1.5, + 0.2 + ], + "parent": 6 + }, + "4": { + "count": 1, + "distance": 0, + "objects": [ + "5" + ], + "features": [ + 5.0, + 3.6, + 1.4, + 0.2 + ], + "parent": 5 + }, + "5": { + "count": 2, + "distance": 0.141, + "left_child": 0, + "parent": 8, + "right_child": 4 + }, + "6": { + "count": 2, + "distance": 0.245, + "left_child": 2, + "parent": 7, + "right_child": 3 + }, + "7": { + "count": 3, + "distance": 0.337, + "left_child": 1, + "parent": 8, + "right_child": 6 + }, + "8": { + "count": 5, + "distance": 0.852, + "left_child": 5, + "right_child": 7 + } + }, + "feature_names": [ + "feature 1", + "feature 2", + "feature 3", + "feature 4" + ] + }, + "metadata": { + "nodes": { + "0": [ + "class 1" + ], + "1": [ + "class 1" + ], + "2": [ + "class 2" + ], + "3": [ + "class 2" + ], + "4": [ + "class 3" + ] + }, + "feature_names": [ + "class" + ] + } +} \ No newline at end of file