parameters: (payload)
return_statement: return (payload.get('diameter', -1.0),
                  payload['confidence'],
                  payload['timestamp'],
                  payload['norm_pos'][0],
                  payload['norm_pos'][1])
docstring: Combine payload's primitive fields into sample
docstring_summary: Combine payload's primitive fields into sample
docstring_tokens: Combine payload s primitive fields into sample
function: def _generate_primitive_sample(payload):
          """Combine payload's primitive fields into sample"""
          return (payload.get('diameter', -1.0),
                  payload['confidence'],
                  payload['timestamp'],
                  payload['norm_pos'][0],
                  payload['norm_pos'][1])
function_tokens: def _generate_primitive_sample ( payload ) : return ( payload . get ( 'diameter' , - 1.0 ) , payload [ 'confidence' ] , payload [ 'timestamp' ] , payload [ 'norm_pos' ] [ 0 ] , payload [ 'norm_pos' ] [ 1 ] )