METHOD_0 ( ) { java . util . List < org . apache . spark . sql . IDENT_0 > IDENT_1 = java . util . Arrays . asList ( org . apache . spark . sql . IDENT_2 . create ( 0.0 , 0.0 , new org . apache . spark . IDENT_3 . linalg . METHOD_1 ( new double [ ] { FLOAT_0 , FLOAT_1 , 0.0 } ) ) , org . apache . spark . sql . IDENT_2 . create ( 1.0 , 1.0 , new org . apache . spark . IDENT_3 . linalg . METHOD_1 ( new double [ ] { 0.0 , FLOAT_2 , FLOAT_3 } ) ) , org . apache . spark . sql . IDENT_2 . create ( 2.0 , 1.0 , new org . apache . spark . IDENT_3 . linalg . METHOD_1 ( new double [ ] { 0.0 , FLOAT_2 , FLOAT_0 } ) ) , org . apache . spark . sql . IDENT_2 . create ( FLOAT_4 , 2.0 , new org . apache . spark . IDENT_3 . linalg . METHOD_1 ( new double [ ] { FLOAT_0 , FLOAT_2 , FLOAT_5 } ) ) ) ; double [ ] IDENT_4 = new double [ ] { 0.0 , FLOAT_3 , FLOAT_0 , FLOAT_5 } ; org . apache . spark . sql . types . IDENT_5 schema = new org . apache . spark . sql . types . METHOD_2 ( new org . apache . spark . sql . types . IDENT_6 [ ] { new org . apache . spark . sql . types . METHOD_3 ( STRING_0 , org . apache . spark . sql . types . IDENT_7 . IDENT_8 , false , org . apache . spark . sql . types . IDENT_9 . empty ( ) ) , new org . apache . spark . sql . types . METHOD_3 ( STRING_1 , org . apache . spark . sql . types . IDENT_7 . IDENT_8 , false , org . apache . spark . sql . types . IDENT_9 . empty ( ) ) , new org . apache . spark . sql . types . METHOD_3 ( STRING_2 , new org . apache . spark . IDENT_3 . linalg . METHOD_4 ( ) , false , org . apache . spark . sql . types . IDENT_9 . empty ( ) ) } ) ; org . apache . spark . sql . IDENT_10 < org . apache . spark . sql . IDENT_0 > IDENT_11 = spark . METHOD_5 ( IDENT_1 , schema ) ; org . apache . spark . IDENT_3 . feature . IDENT_12 IDENT_13 = new org . apache . spark . IDENT_3 . feature . METHOD_6 ( ) ; IDENT_13 . METHOD_7 ( 1 ) ; IDENT_13 . METHOD_8 ( STRING_2 ) ; IDENT_13 . METHOD_9 ( STRING_1 ) ; IDENT_13 . METHOD_10 ( STRING_3 ) ; org . apache . spark . IDENT_3 . feature . IDENT_14 IDENT_15 = IDENT_13 . METHOD_11 ( IDENT_11 ) ; byte [ ] IDENT_16 = com . IDENT_17 . IDENT_18 . IDENT_3 . IDENT_19 . IDENT_20 . METHOD_12 ( IDENT_15 ) ; java . lang . String IDENT_21 = new java . lang . String ( IDENT_16 ) ; com . IDENT_17 . IDENT_18 . IDENT_3 . IDENT_22 . IDENT_23 IDENT_22 = com . IDENT_17 . IDENT_18 . IDENT_3 . IDENT_24 . IDENT_25 . METHOD_13 ( IDENT_16 ) ; java . util . List < org . apache . spark . sql . IDENT_0 > IDENT_26 = IDENT_15 . transform ( IDENT_11 ) . METHOD_14 ( STRING_0 ) . select ( STRING_0 , STRING_1 , STRING_2 , STRING_3 ) . METHOD_15 ( ) ; for ( org . apache . spark . sql . IDENT_0 row : IDENT_26 ) { java . util . Map < java . lang . String , java . lang . Object > data = new java . util . HashMap ( ) ; data . put ( IDENT_15 . METHOD_16 ( ) , ( ( org . apache . spark . IDENT_3 . linalg . METHOD_1 ) ( row . get ( 2 ) ) ) . toArray ( ) ) ; IDENT_22 . transform ( data ) ; double [ ] output = ( ( double [ ] ) ( data . get ( IDENT_15 . METHOD_17 ( ) ) ) ) ; System . out . println ( java . util . Arrays . toString ( output ) ) ; "<AssertPlaceHolder>" ; } } transform ( com . IDENT_17 . IDENT_18 . IDENT_3 . IDENT_22 . Map ) { java . lang . String IDENT_27 = ( ( java . lang . String ) ( input . get ( IDENT_28 . METHOD_18 ( ) . iterator ( ) . next ( ) ) ) ) ; input . put ( IDENT_28 . METHOD_19 ( ) . iterator ( ) . next ( ) , METHOD_20 ( IDENT_27 ) ) ; }
org . junit . Assert . assertArrayEquals ( output , ( ( org . apache . spark . IDENT_3 . linalg . METHOD_1 ) ( row . get ( 3 ) ) ) . toArray ( ) , 0.0 )