#NEWLINE# def predict( self , resource ) : #NEWLINE# #INDENT# key_value_dict = resource . get_many ( [ 'X' , 'num_reported_answers' ] ) #NEWLINE# X = key_value_dict . get ( 'X' , [ ] ) #NEWLINE# num_reported_answers = key_value_dict . get ( 'num_reported_answers' , [ ] ) #NEWLINE# return ( X , num_reported_answers )