1.0 - 8.00 - SVMSparseSummary Example 2: OutputSummary ('false') - Teradata Vantage

Teradata® Vantage Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.0
8.00
Release Date
May 2019
Content Type
Programming Reference
Publication ID
B700-4003-098K
Language
English (United States)

Input

SQL Call

SELECT DISTINCT * FROM SVMSparseSummary (
  ON svm_iris_input_train AS "input" PARTITION BY 1
  ON svm_iris_model AS model DIMENSION
  USING
  AttributeNameColumn ('attribute')
  OutputSummary ('false')
) AS dt ORDER BY classid, attributeid;

Output

classid classlabel attribute attributeid weight
0 setosa petal_length 0 -1.07927133381139
0 setosa petal_width 1 -0.558808502012156
0 setosa sepal_length 2 0.293032173674806
0 setosa sepal_width 3 0.565479913733184
0 setosa <bias> 4 0
1 versicolor petal_length 0 0.806536177499727
1 versicolor petal_width 1 -2.37374487610651
1 versicolor sepal_length 2 0.637750658139575
1 versicolor sepal_width 3 -1.5271432393421
1 versicolor <bias> 4 0
2 virginica petal_length 0 1.91938311998953
2 virginica petal_width 1 2.70710226326744
2 virginica sepal_length 2 -1.71970806488612
2 virginica sepal_width 3 -1.33210459268234
2 virginica <bias> 4 0