Module Expr Str Import alias Import alias identifier Import alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A Unit test of kmeans.

TODO: implement a clustering algorithm that is less sensitive to the
initial cluster selection.  We can't verify the output because this algorithm
chooses initial clusters in a non-robust way.
 N/A collections N/A raco.scheme scheme N/A raco.myrial.myrial_test myrial_test raco types KmeansTest N/A N/A myrial_test MyrialTestCase N/A N/A points N/A N/A 1 1.0 1.0 N/A 2 0.99 0.99 N/A 3 1.01 1.01 N/A 4 10.0 10.0 N/A 5 10.99 10.99 N/A 6 10.01 10.01 N/A 7 100.0 100.0 N/A 8 100.99 100.99 N/A 9 100.01 100.01 N/A points_table N/A N/A collections Counter points N/A points_schema N/A N/A scheme Scheme N/A N/A id N/A types LONG_TYPE N/A x N/A types DOUBLE_TYPE N/A y N/A types DOUBLE_TYPE N/A points_key public:adhoc:points setUp N/A N/A self N/A N/A N/A N/A N/A N/A super KmeansTest self setUp N/A N/A N/A N/A self db ingest N/A KmeansTest points_key N/A KmeansTest points_table N/A KmeansTest points_schema N/A test_kmeans N/A N/A self N/A N/A N/A N/A open examples/kmeans.myl fh N/A N/A query N/A N/A fh read N/A N/A N/A self execute_query query skip_json True N/A N/A