2 ExampleModel MiningSchema ModelStats. ExampleModel, modelname functionname algorithmname functionname associationrules, sequences, classification, r

Similar documents
(Informative) D-Case D-Case [1] D-Case ( DEOS: 2014) D-Case GSN (Goal Structuring Notation)[2] D-Case GSN [2] [2] D-Case D-Case [2] [3] D-Case GSN D-C

国土数値情報(医療機関)

XSLT XSLT xsd XSLT XML xsd XPath <xsl:template ]

Microsoft Word - ix18_doc_v3

目次 1.1 地図 XMLファイルのファイル仕様 地図 XMLファイルの作成単位 地図 XMLファイルの命名規約 地図 XMLファイルの記録形式 地図 XMLファイルの基本データ型 地図 XML

デザイン・スペース・エクスプローラ

CAC

AtCoder Regular Contest 073 Editorial Kohei Morita(yosupo) A: Shiritori if python3 a, b, c = input().split() if a[len(a)-1] == b[0] and b[len(

国土技術政策総合研究所 研究資料

01.12期・井須英次1.doc

1.3期・井上健0.doc


2 3

2

ID010-2

untitled



EPSON エプソンプリンタ共通 取扱説明書 ネットワーク編

untitled

ありがとうございました

EPSON エプソンプリンタ共通 取扱説明書 ネットワーク編

公務員人件費のシミュレーション分析

198

ネットショップ・オーナー2 ユーザーマニュアル


新婚世帯家賃あらまし

/9/ ) 1) 1 2 2) 4) ) ) 2x + y 42x + y + 1) 4) : 6 = x 5) : x 2) x ) x 2 8x + 10 = 0

110527BR機能カ?イト?_110527BR機能カ?イト?


u u u 1 1

JavaScript 1.! DOM Ajax Shelley Powers,, JavaScript David Flanagan, JavaScript 2

Dataflow Designer ガイド




Plan of Talk CAS CAS 2 CAS Single Sign On CAS CAS 2 CAS Aug. 19, 2005 NII p. 2/32



net-h12_12.doc

(資料2)第7回資料その1(ヒアリング概要)


<4D F736F F D DEC8BC A95BD90AC E A982BA81698AB A B B4790DF90AB8EBE8AB FC89408A4F816A82CC93AE8CFC82C98AD682B782E9838C837C815B D

, , ,210 9, ,

B B B B B B

CX-Checker CX-Checker (1)XPath (2)DOM (3) 3 XPath CX-Checker. MISRA-C 62%(79/127) SQMlint 76%(13/17) XPath CX-Checker 3. CX-Checker 4., MISRA-C CX- Ch

IM-PDFAutoConverter for Accel Platform — セットアップガイド   第7版  

25 II :30 16:00 (1),. Do not open this problem booklet until the start of the examination is announced. (2) 3.. Answer the following 3 proble


ディメンション・ゼロ プロジェクト レヴォリューション 汎用フロアルール

Microsoft PowerPoint - MFER_CDA_ f.ppt

\\afs001-0m0005\project02\A32\M

00.\...ec5

スライド 1

1 2. Nippon Cataloging Rules NCR [6] (1) 5 (2) 4 3 (3) 4 (4) 3 (5) ISSN 7 International Standard Serial Number ISSN (6) (7) 7 16 (8) ISBN ISSN I

はじめに

SMILE-BS_人事給与


SAS® 9.4 XML LIBNAME Engine: ユーザーガイド

.,,,.,,,,,.,,,, Inoue,.,,,,.,.,,.,,,.,.,,,.,,,,,.,,.,,.,,,.,,,,

Transcription:

1 PMML 1.1 PMML IT Data Mining Group XML PMML PMML XML Verion 1.0 Version 2.1 Version 3.0 SOURCEFORGE.NET Public Forum 1.2 PMML XMLSchema <xs:element name="examplemodel"> <xs:complextype> <xs:sequence> <xs:element ref="extension" minoccurs="0" maxoccurs="unbounded"/> <xs:element ref="miningschema"/> <xs:element ref="modelstats" minoccurs="0" maxoccurs="1"/>... <xs:element ref="extension" minoccurs="0" maxoccurs="unbounded"/> </xs:sequence> <xs:attribute name="modelname" type="xs:string" use="optional"/> <xs:attribute name="functionname" type="mining-function" use="required"/> <xs:attribute name="algorithmname" type="xs:string" use="optional"/> </xs:complextype> 1

2 ExampleModel MiningSchema ModelStats. ExampleModel, modelname functionname algorithmname functionname associationrules, sequences, classification, regression, clustering 1.3 <xs:simpletype name="real-number"> <xs:restriction base="xs:double"/> </xs:simpletype> <Array n="3" type="int"> 1 22 3 </Array> <Array n="3" type="string"> ab "a b" "with \"quotes\" " </Array> n type

3 1.4 PMML PMML < DataDictionary > transaction item < AssociationModel > 0.6 0.5 < MiningSchema > transaction item.< Itemset > id = 1 < AssociationRule > id = 1 (antecedent) id = 2 (consequent) 1.0 <?xml version="1.0"?> <PMML version="2.1" > <Header copyright="www.dmg.org" description= "example model for association rules"/> <DataDictionary numberoffields="2" > <DataField name="transaction" optype="categorical" /> <DataField name="item" optype="categorical" /> </DataDictionary> <AssociationModel functionname="associationrules" numberoftransactions="4" numberofitems="3" minimumsupport="0.6" minimumconfidence="0.5" numberofitemsets="3" numberofrules="2"> <MiningSchema> <MiningField name="transaction"/> <MiningField name="item"/> </MiningSchema> <!-- We have three items in our input data --> <Item id="1" value="cracker" /> <Item id="2" value="coke" /> <Item id="3" value="water" />

4 <!-- and two frequent itemsets with a single item --> <Itemset id="1" support="1.0" numberofitems="1"> <ItemRef itemref="1" /> </Itemset> <Itemset id="2" support="1.0" numberofitems="1"> <ItemRef itemref="3" /> </Itemset> <!-- and one frequent itemset with two items. --> <Itemset id="3" support="1.0" numberofitems="2"> <ItemRef itemref="1" /> <ItemRef itemref="3" /> </Itemset> <!-- Two rules satisfy the requirements --> <AssociationRule support="1.0" confidence="1.0" antecedent="1" consequent="2" /> <AssociationRule support="1.0" confidence="1.0" antecedent="2" consequent="1" /> </AssociationModel> </PMML>

2 PMML 2.1 XMLSchema., MiningSchema ModelStats Graph.GraphModel (modeln ame), functionname, (algorithmname), (recordcount), ModelStats <?xml version="1.0" encoding="euc-jp"?> <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" targetnamespace="http://www.dmg.org/pmml-2_1" xmlns="http://www.dmg.org/pmml-2_1" elementformdefault="unqualified"> <xs:element name="graphmodel"> <xs:complextype> <xs:sequence> <xs:element ref="extension" minoccurs="0" maxoccurs="unbounded"/> <xs:element ref="miningschema"/> <xs:element ref="modelstats" minoccurs="0" maxoccurs="1"/> <xs:element ref="graph"/> <xs:element ref="extension" minoccurs="0" maxoccurs="unbounded"/> </xs:sequence> <xs:attribute name="modelname" type="xs:string" use="optional"/> <xs:attribute name="functionname" type="mining-function" use="required"/> 5

6 <xs:attribute name="algorithmname" type="xs:string" use="optional"/> <xs:attribute name="recordcount" type="number" use="optional"/> </xs:complextype> Graph V ertex Edge. V ertex Edge maxoccurs (unbounded) Graph graphid miningstatus grapht ype support Graph <xs:element name="graph"> <xs:complextype> <xs:sequence> <xs:element ref="extension" minoccurs="0" maxoccurs="unbounded"/> <xs:element ref="vertex" minoccurs="0" maxoccurs="unbounded"/> <xs:element ref="edge" minoccurs="0" maxoccurs="unbounded"/> </xs:sequence> <xs:attribute name="graphid" type="xs:string" use="optional"/> <xs:attribute name="miningstatus" type="mining-status" use="optional"/> <xs:attribute name="graphtype" type="graph-type" use="optional"/> <xs:attribute name="support" type="prob-number" use="optional"/> </xs:complextype> miningstatus MINING ST AT US original induced general <xs:simpletype name="mining-status"> <xs:restriction base="string">

7 <xs:enumeration value="original"/> <xs:enumeration value="induced"/> <xs:enumeration value="general"/> </xs:restriction> </xs:simpletype> GRAP H T Y P E <xs:simpletype name="graph-type"> <xs:restriction base="string"> <xs:enumeration value="unrootedtree"/> <xs:enumeration value="rootedtree"/> <xs:enumeration value="orderedtree"/> <xs:enumeration value="path"/> <xs:enumeration value="graph"/> </xs:restriction> </xs:simpletype> V ertex Edge V ertex V ertexlabel V ertex V ertexid dimension V ertexlabel. V ertexlabel field value Edge EdgeLabel edgeid EdgeLabel dimension edget ype V ertex bgnv ertexid endv ertexid <xs:element name="vertex"> <xs:complextype> <xs:sequence> <xs:element ref="vertexlabel" minoccurs="0" maxoccurs="unbounded"/> </xs:sequence> <xs:attribute name="vertexid" type="xs:string" use="required"/>

8 <xs:attribute name="dimension" type="xs:int"/> </xs:complextype> <xs:element name="vertexlabel"> <xs:attribute name="field" type="xs:string"/> <xs:attribute name="value" type="xs:string"/> <xs:element name="edge"> <xs:complextype> <xs:sequence> <xs:element ref="edgelabel" minoccurs="0" maxoccurs="unbounded"/> </xs:sequence> <xs:attribute name="edgeid" type="xs:string" use="required"/> <xs:attribute name="edgetype" type="edge-type" default="undirected"/> <xs:attribute name="dimension" type="xs:int"/> <xs:attribute name="bgnvertexid" type="xs:string"/> <xs:attribute name="endvertexid" type="xs:string"/> </xs:complextype> <xs:simpletype name="edge-type"> <xs:restriction base="string"> <xs:enumeration value="directed"/> <xs:enumeration value="undirected"/> </xs:restriction> </xs:simpletype> <xs:element name="edgelabel"> <xs:attribute name="field" type="xs:string"/> <xs:attribute name="value" type="xs:string"/> </xs:schema> 2.2 2.1 PMML. < DataDictionary > atomy bondtype

9 2.1: atomy H C bondtype < GraphModel > sample < MiningSchema > atomy bondtype < Graph > < Graph >., < V ertex > V ertex atomy (dimension 1) (H C) < Edge > Edge edget ype undirected bondtype bgnv ertexid endv ertexid V ertex C V ertex <?xml version="1.0" encoding="euc-jp"?> <PMML version="2.1" > <Header copyright="www.dmg.org" description="sample Graph Model"/> <DataDictionary numberoffields="2"> <DataField name="atomy" optype="categorical"> <Value value="h"/> <Value value="c"/> </DataField> <DataField name="bondtype" optype="categorical"> <Value value="singlebond"/>

10 <Value value="aromaticbond"/> <Value value="doublebond"/> <Value value="triplebond"/> </DataField> </DataDictionary> <GraphModel modelname="sample"> <MiningSchema> <MiningField name="atomy"/> <MiningField name="bondtype"/> </MiningSchema> <Graph graphid="1"> <Vertex VertexId="1" dimension="1"> <VertexLabel field="atomy" value="h"/> <Vertex VertexId="2" dimension="1"> <VertexLabel field="atomy" value="h"/> <Vertex VertexId="3" dimension="1"> <VertexLabel field="atomy" value="c"/> <Vertex VertexId="4" dimension="1"> <VertexLabel field="atomy" value="c"/> <Vertex VertexId="5" dimension="1"> <VertexLabel field="atomy" value="h"/> <Vertex VertexId="6" dimension="1"> <VertexLabel field="atomy" value="h"/> <Edge edgeid="1" edgetype="undirected" dimension="1" bgnvertexid="1" endvertexid="3"> <EdgeLabel field="bondtype" value="singlebond"/> </Edge> <Edge edgeid="2" edgetype="undirected" dimension="1" bgnvertexid="2" endvertexid="3"> <EdgeLabel field="bondtype" value="singlebond"/>

11 </Edge> <Edge edgeid="3" edgetype="undirected" dimension="1" bgnvertexid="3" endvertexid="4"> <EdgeLabel field="bondtype" value="doublebond"/> </Edge> <Edge edgeid="4" edgetype="undirected" dimension="1" bgnvertexid="4" endvertexid="5"> <EdgeLabel field="bondtype" value="singlebond"/> </Edge> <Edge edgeid="5" edgetype="undirected" dimension="1" bgnvertexid="4" endvertexid="6"> <EdgeLabel field="bondtype" value="singlebond"/> </Edge> </Graph>... </GraphModel> </PMML>