2011-06-10 2 views
0

지원 벡터 시스템에 대한 PMML 문서 초안을 작성하려고하는데 dmg.org에 지정된 SupportVectorMachine 태그의 targetCategory 속성에 대해 혼동스러워합니다. 내 질문은 두 개 이상의 분류 프로그램이있을 때 어떻게 작동해야합니까? 필요한 경우 targetCategory 및 alternateTargetCategory 속성이 하나씩 있어야합니까?PMML의 targetCategory 속성에 어려움이 있음

<SupportVectorMachine targetCategory="Iris-setosa" alternateTargetCategory="Iris-versicolor" alternateTargetCategory="Iris-virginica"> 

답변

0

내가 좀 더 주위를 보니 내 자신의 질문에 대한 답을 발견 조리개 데이터 세트 감안할 때

는, 나는 이런 식으로 뭔가 될 것 같은데요. KNIME라는 무료 응용 프로그램이 있는데, 이것은 곧 바로 사용되어 PMML 출력을 생성합니다. alternateTargetCategory는 이진 분류에만 사용된다는 것이 밝혀졌습니다. 아이리스 데이터 세트의 경우, SupportVectorMachine의 출력은 다음과 같습니다.

<SupportVectorMachine targetCategory="1"> 
    <SupportVectors numberOfAttributes="4" numberOfSupportVectors="3"> 
    <SupportVector vectorId="1_1_23"/> 
    <SupportVector vectorId="1_1_41"/> 
    <SupportVector vectorId="2_2_98"/> 
    </SupportVectors> 
    <Coefficients numberOfCoefficients="3" absoluteValue="-1.2257883098134195"> 
    <Coefficient value="0.0082595394670607"/> 
    <Coefficient value="5.981904829451028E-4"/> 
    <Coefficient value="0.008857729950005803"/> 
    </Coefficients> 
</SupportVectorMachine> 
<SupportVectorMachine targetCategory="2"> 
    <SupportVectors numberOfAttributes="4" numberOfSupportVectors="16"> 
    ... etc. 
관련 문제