7.00.02 - SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
SELECT * FROM HMMDecoder (
  ON initial AS "InitStateProb" PARTITION BY model
  ON state_transition as "TransProb" PARTITION BY model
  ON emission AS "EmissionProb" PARTITION BY model
  ON phrases AS "observation" PARTITION BY model
    ORDER BY model, phrase_id ASC
  InitStateModelColumn ('model')
  InitStateColumn ('tag')
  InitStateProbColumn ('probability')
  TransAttributeColumn ('model')
  TransFromStateColumn ('from_tag')
  TransToStateColumn ('to_tag')
  TransProbColumn ('probability')
  EmitModelColumn ('model')
  EmitStateColumn ('tag')
  EmitObsColumn ('word')
  EmitProbColumn ('probability')
  ModelColumn ('model')
  SeqColumn ('phrase_id')
  ObsColumn ('word')
) ORDER by 1, 2, 3;