拓端数据(tecdat):基于R语言的FP树fpgrowth关联

作者: 拓端tecdat | 来源:发表于2020-04-13 22:35 被阅读0次

原文链接:http://tecdat.cn/?p=5393

研究煤矿隐患数据的挖掘以实现海量隐患数据的有效利用,在分析矿山数据挖掘枝术和煤矿隐患数据特点的基础上,提出煤矿隐患数据挖掘是矿山数字化的重要组成部分,给出煤矿隐患数据挖掘的概念,设计了煤矿隐患数据挖掘模型,并进一步分析了适用于煤矿隐患数据的挖掘算法。以关联算法为例,对隐患数据进行多维关联规则挖掘,分析挖掘结果表明隐患多维数据之间存在紧密关联性,能够为煤矿安全决策提供支持。

以下以R语言为例为大家介绍关联规则在煤矿隐患管理的应用

dat1=read.csv("安全隐患数据FP-Growth.csv",header=T ,stringsAsFactors=T)read datahead(dat1)have a look at data隐患日期隐患单位隐患条数汇报人隐患地点隐患地点.11 2009/1/2综采队5条张立新1106工作面工作面2 2009/1/2综采队赵军孙旭光1106工作面工作面3 2009/1/2综采队郎志俊赵建军1106工作面工作面4 2009/1/2机电二队4条宋慧刚李思光一采区胶带巷胶带巷5 2009/1/2机电二队4条宋慧刚李思光一采区胶带巷胶带巷6 2009/1/2机电二队4条宋慧刚李思光一采区胶带巷胶带巷处理措施处理时间负责人隐患描述1处理2009/1/3赵海根1、有两组支架高压胶管破2处理开水幕2009/1/3陈小旦1、皮带机头硬架尾部压柱不吃劲3调整管理2009/1/3陈小旦2、60-66架煤墙松软,有片帮现象4整改2009/1/3崔庆忠1、主皮带上坡处第一道挡车器有一个肖未插到位5整改2009/1/3崔庆忠2、主皮带机头消防水管未码放6整改2009/1/3崔庆忠4、主皮带机头有一盏灯一头未吊挂隐患主题隐患时间1支架问题第一季度2皮带机问题第一季度3片帮问题第一季度4皮带机问题第一季度5火灾问题第一季度6皮带机问题第一季度隐患主题、隐患时间、隐患地点和隐患单位dat1=as(dat1[c("隐患主题","隐患时间","隐患地点.1","隐患单位")],"transactions")inspect(frequentsets[1:10])察看求得的频繁项集review frequent setsitemssupport[1]{隐患主题=片帮问题,隐患地点.1=工作面}0.05084388[2]{隐患地点.1=排水巷,隐患单位=综掘二队}0.05327004[3]{隐患主题=支架问题,隐患地点.1=工作面}0.06329114[4]{隐患时间=第二季度,隐患地点.1=猴车巷}0.05126582[5]{隐患地点.1=猴车巷,隐患单位=综掘三队}0.08829114[6]{隐患时间=第二季度,隐患单位=综掘一队}0.05000000[7]{隐患地点.1=风巷,隐患单位=综掘一队}0.08164557[8]{隐患时间=第二季度,隐患单位=综掘二队}0.05527426[9]{隐患时间=第二季度,隐患单位=综掘三队}0.05991561[10] {隐患地点.1=工作面,隐患单位=综采队}0.13491561根据支持度对求得的频繁项集排序并察看(等价于inspect(sort(frequentsets)[1:10])itemssupport[1]{隐患时间=第二季度}0.3750000[2]{隐患地点.1=工作面}0.2995781[3]{隐患时间=第一季度}0.2668776[4]{隐患时间=第三季度}0.1997890[5]{隐患单位=综安队}0.1775316[6]{隐患地点.1=风巷}0.1585443[7]{隐患地点.1=工作面,隐患单位=综安队}0.1521097[8]{隐患主题=锚杆问题}0.1464135[9]{隐患时间=第四季度}0.1437764[10] {隐患主题=皮带机问题}0.1431435

need-to-insert-img

fp growth tree Mine association rules

<-as(c(appearance,list(labels =itemLabels(data))),\n\"APappearance\")\nappearance <-as(appearance,\"APappearance\")\ncontrol <-as(control,\"APcontrol\")\nparameter <-as(parameter,\"APparameter\")\nif (control@verbose) {\nprint(parameter)\n \n\ncall <-match.call()\nresult@info <-list(data =call$data,ntransactions =length(data),\nsupport =parameter@support,confidence =parameter@confidence)\nif (is(result,\"rules\")) {\nvalidObject(result@lhs@data)\nvalidObject(result@rhs@data)\n}\nelse {\nvalidObject(result@items@data)\n}\nresult\n}\n\n\n\nrules=fptree(dat1,parameter=list(support=0.06,confidence=0.1,minlen=2))求关联规则\n\n\nsummary(rules)Inspect transactions\n\nset of 25 rules\n\nrule length distribution (lhs + rhs):sizes\n23\n223\n\nMin. 1st Qu.MedianMean 3rd Qu.Max.\n2.002.002.002.122.003.00\n\nsummary of quality measures:\nsupportconfidencelift\nMin.:0.06276Min.:0.1868Min.:0.9775\n1st Qu.:0.064561st Qu.:0.29281st Qu.:1.0806\nMedian :0.07078Median :0.4244Median :1.3247\nMean:0.08642Mean:0.4940Mean:2.5253\n3rd Qu.:0.088293rd Qu.:0.66433rd Qu.:3.2100\nMax.:0.15211Max.:0.9676Max.:7.2803\n\nmining info:\ndata ntransactions support confidence\ndat194800.060.1\n\ninspect(head(rules))\n\nlhsrhssupportconfidence\n[1] {隐患主题=支架问题} => {隐患地点.1=工作面} 0.06329114 0.9600000\n[2] {隐患地点.1=工作面} => {隐患主题=支架问题} 0.06329114 0.2112676\n[3] {隐患地点.1=猴车巷} => {隐患单位=综掘三队} 0.08829114 0.9676301\n[4] {隐患单位=综掘三队} => {隐患地点.1=猴车巷} 0.08829114 0.6642857\n[5] {隐患单位=综掘一队} => {隐患地点.1=风巷}0.08164557 0.7267606\n[6] {隐患地点.1=风巷}=> {隐患单位=综掘一队} 0.08164557 0.5149701\nlift\n[1] 3.204507\n[2] 3.204507\n[3] 7.280264\n[4] 7.280264\n[5] 4.583959\n[6] 4.583959\n\nquality(head(rules))\n\nsupport confidencelift\n1 0.063291140.9600000 3.204507\n2 0.063291140.2112676 3.204507\n3 0.088291140.9676301 7.280264\n4 0.088291140.6642857 7.280264\n5 0.081645570.7267606 4.583959\n6 0.081645570.5149701 4.583959\n\nrules <-sort(rules,by=\"support\")\ninspect(head(rules,n=40))Look at rules with highest support\n\nlhsrhs\n[1]{隐患单位=综安队}=> {隐患地点.1=工作面}\n[2]{隐患地点.1=工作面}=> {隐患单位=综安队}\n[3]{隐患单位=综采队}=> {隐患地点.1=工作面}\n[4]{隐患地点.1=工作面}=> {隐患单位=综采队}\n[5]{隐患地点.1=工作面}=> {隐患时间=第二季度}\n[6]{隐患时间=第二季度}=> {隐患地点.1=工作面}\n[7]{隐患地点.1=猴车巷}=> {隐患单位=综掘三队}\n[8]{隐患单位=综掘三队}=> {隐患地点.1=猴车巷}\n[9]{隐患时间=第一季度}=> {隐患地点.1=工作面}\n[10] {隐患地点.1=工作面}=> {隐患时间=第一季度}\n[11] {隐患单位=综掘一队}=> {隐患地点.1=风巷}\n[12] {隐患地点.1=风巷}=> {隐患单位=综掘一队}\n[13] {隐患单位=综安队}=> {隐患时间=第二季度}\n[14] {隐患时间=第二季度}=> {隐患单位=综安队}\n[15] {隐患地点.1=风巷}=> {隐患时间=第二季度}\n[16] {隐患时间=第二季度}=> {隐患地点.1=风巷}\n[17] {隐患地点.1=工作面,隐患单位=综安队}=> {隐患时间=第二季度}\n[18] {隐患时间=第二季度,隐患单位=综安队}=> {隐患地点.1=工作面}\n[19] {隐患时间=第二季度,隐患地点.1=工作面} => {隐患单位=综安队}\n[20] {隐患时间=第三季度}=> {隐患地点.1=工作面}\n[21] {隐患地点.1=工作面}=> {隐患时间=第三季度}\n[22] {隐患主题=支架问题}=> {隐患地点.1=工作面}\n[23] {隐患地点.1=工作面}=> {隐患主题=支架问题}\n[24] {隐患单位=综安队}=> {隐患时间=第一季度}\n[25] {隐患时间=第一季度}=> {隐患单位=综安队}\nsupportconfidence lift\n[1]0.15210970 0.85680332.8600336\n[2]0.15210970 0.50774652.8600336\n[3]0.13491561 0.96165413.2100286\n[4]0.13491561 0.45035213.2100286\n[5]0.10981013 0.36654930.9774648\n[6]0.10981013 0.29282700.9774648\n[7]0.08829114 0.96763017.2802642\n[8]0.08829114 0.66428577.2802642\n[9]0.08639241 0.32371541.0805712\n[10] 0.08639241 0.28838031.0805712\n[11] 0.08164557 0.72676064.5839588\n[12] 0.08164557 0.51497014.5839588\n[13] 0.07078059 0.39869281.0631808\n[14] 0.07078059 0.18874821.0631808\n[15] 0.07004219 0.44178311.1780883\n[16] 0.07004219 0.18677921.1780883\n[17] 0.06455696 0.42441051.1317614\n[18] 0.06455696 0.91207153.0445205\n[19] 0.06455696 0.58789633.3115012\n[20] 0.06339662 0.31731781.0592159\n[21] 0.06339662 0.21161971.0592159\n[22] 0.06329114 0.96000003.2045070\n[23] 0.06329114 0.21126763.2045070\n[24] 0.06276371 0.35353541.3247095\n[25] 0.06276371 0.23517791.3247095\n\nLook at rules with highest support\n\nlhsrhs\n[1]{隐患地点.1=猴车巷}=> {隐患单位=综掘三队}\n[2]{隐患单位=综采队}=> {隐患地点.1=工作面}\n[3]{隐患主题=支架问题}=> {隐患地点.1=工作面}\n[4]{隐患时间=第二季度,隐患单位=综安队}=> {隐患地点.1=工作面}\n[5]{隐患单位=综安队}=> {隐患地点.1=工作面}\n[6]{隐患单位=综掘一队}=> {隐患地点.1=风巷}\n[7]{隐患单位=综掘三队}=> {隐患地点.1=猴车巷}\n[8]{隐患时间=第二季度,隐患地点.1=工作面} => {隐患单位=综安队}\n[9]{隐患地点.1=风巷}=> {隐患单位=综掘一队}\n[10] {隐患地点.1=工作面}=> {隐患单位=综安队}\n[11] {隐患地点.1=工作面}=> {隐患单位=综采队}\n[12] {隐患地点.1=风巷}=> {隐患时间=第二季度}\n[13] {隐患地点.1=工作面,隐患单位=综安队}=> {隐患时间=第二季度}\n[14] {隐患单位=综安队}=> {隐患时间=第二季度}\n[15] {隐患地点.1=工作面}=> {隐患时间=第二季度}\n[16] {隐患单位=综安队}=> {隐患时间=第一季度}\n[17] {隐患时间=第一季度}=> {隐患地点.1=工作面}\n[18] {隐患时间=第三季度}=> {隐患地点.1=工作面}\n[19] {隐患时间=第二季度}=> {隐患地点.1=工作面}\n[20] {隐患地点.1=工作面}=> {隐患时间=第一季度}\n[21] {隐患时间=第一季度}=> {隐患单位=综安队}\n[22] {隐患地点.1=工作面}=> {隐患时间=第三季度}\n[23] {隐患地点.1=工作面}=> {隐患主题=支架问题}\n[24] {隐患时间=第二季度}=> {隐患单位=综安队}\n[25] {隐患时间=第二季度}=> {隐患地点.1=风巷}\nsupportconfidence lift\n[1]0.08829114 0.96763017.2802642\n[2]0.13491561 0.96165413.2100286\n[3]0.06329114 0.96000003.2045070\n[4]0.06455696 0.91207153.0445205\n[5]0.15210970 0.85680332.8600336\n[6]0.08164557 0.72676064.5839588\n[7]0.08829114 0.66428577.2802642\n[8]0.06455696 0.58789633.3115012\n[9]0.08164557 0.51497014.5839588\n[10] 0.15210970 0.50774652.8600336\n[11] 0.13491561 0.45035213.2100286\n[12] 0.07004219 0.44178311.1780883\n[13] 0.06455696 0.42441051.1317614\n[14] 0.07078059 0.39869281.0631808\n[15] 0.10981013 0.36654930.9774648\n[16] 0.06276371 0.35353541.3247095\n[17] 0.08639241 0.32371541.0805712\n[18] 0.06339662 0.31731781.0592159\n[19] 0.10981013 0.29282700.9774648\n[20] 0.08639241 0.28838031.0805712\n[21] 0.06276371 0.23517791.3247095\n[22] 0.06339662 0.21161971.0592159\n[23] 0.06329114 0.21126763.2045070\n[24] 0.07078059 0.18874821.0631808\n[25] 0.07004219 0.18677921.1780883\n\nLook at rules with highest lift\n\nlhsrhs\n[1]{隐患地点.1=猴车巷}=> {隐患单位=综掘三队}\n[2]{隐患单位=综掘三队}=> {隐患地点.1=猴车巷}\n[3]{隐患单位=综掘一队}=> {隐患地点.1=风巷}\n[4]{隐患地点.1=风巷}=> {隐患单位=综掘一队}\n[5]{隐患时间=第二季度,隐患地点.1=工作面} => {隐患单位=综安队}\n[6]{隐患单位=综采队}=> {隐患地点.1=工作面}\n[7]{隐患地点.1=工作面}=> {隐患单位=综采队}\n[8]{隐患地点.1=工作面}=> {隐患主题=支架问题}\n[9]{隐患主题=支架问题}=> {隐患地点.1=工作面}\n[10] {隐患时间=第二季度,隐患单位=综安队}=> {隐患地点.1=工作面}\n[11] {隐患单位=综安队}=> {隐患地点.1=工作面}\n[12] {隐患地点.1=工作面}=> {隐患单位=综安队}\n[13] {隐患单位=综安队}=> {隐患时间=第一季度}\n[14] {隐患时间=第一季度}=> {隐患单位=综安队}\n[15] {隐患地点.1=风巷}=> {隐患时间=第二季度}\n[16] {隐患时间=第二季度}=> {隐患地点.1=风巷}\n[17] {隐患地点.1=工作面,隐患单位=综安队}=> {隐患时间=第二季度}\n[18] {隐患时间=第一季度}=> {隐患地点.1=工作面}\n[19] {隐患地点.1=工作面}=> {隐患时间=第一季度}\n[20] {隐患单位=综安队}=> {隐患时间=第二季度}\n[21] {隐患时间=第二季度}=> {隐患单位=综安队}\n[22] {隐患时间=第三季度}=> {隐患地点.1=工作面}\n[23] {隐患地点.1=工作面}=> {隐患时间=第三季度}\n[24] {隐患地点.1=工作面}=> {隐患时间=第二季度}\n[25] {隐患时间=第二季度}=> {隐患地点.1=工作面}\nsupportconfidence lift\n[1]0.08829114 0.96763017.2802642\n[2]0.08829114 0.66428577.2802642\n[3]0.08164557 0.72676064.5839588\n[4]0.08164557 0.51497014.5839588\n[5]0.06455696 0.58789633.3115012\n[6]0.13491561 0.96165413.2100286\n[7]0.13491561 0.45035213.2100286\n[8]0.06329114 0.21126763.2045070\n[9]0.06329114 0.96000003.2045070\n[10] 0.06455696 0.91207153.0445205\n[11] 0.15210970 0.85680332.8600336\n[12] 0.15210970 0.50774652.8600336\n[13] 0.06276371 0.35353541.3247095\n[14] 0.06276371 0.23517791.3247095\n[15] 0.07004219 0.44178311.1780883\n[16] 0.07004219 0.18677921.1780883\n[17] 0.06455696 0.42441051.1317614\n[18] 0.08639241 0.32371541.0805712\n[19] 0.08639241 0.28838031.0805712\n[20] 0.07078059 0.39869281.0631808\n[21] 0.07078059 0.18874821.0631808\n[22] 0.06339662 0.31731781.0592159\n[23] 0.06339662 0.21161971.0592159\n[24] 0.10981013 0.36654930.9774648\n[25] 0.10981013 0.29282700.9774648","classes":{"has":1}}" data-cke-widget-upcasted="1" data-cke-widget-keep-attr="0" data-widget="codeSnippet" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; white-space: pre-wrap; word-wrap: break-word;"> fptree=function (data,parameter =NULL,appearance =NULL,control =NULL){dataappearance <-as(c(appearance,list(labels =itemLabels(data))),"APappearance")appearance <-as(appearance,"APappearance")validObject(result@rhs@data)}else {validObject(result@items@data)}result }rules=fptree(dat1,parameter=list(support=0.06,confidence=0.1,minlen=2))求关联规则summary(rules)Inspect transactionsset of 25 rulesrule length distribution (lhs + rhs):sizes23223Min. 1st Qu.MedianMean 3rd Qu.Max.2.002.002.002.122.003.00summary of quality measures:supportconfidenceliftMin.:0.06276Min.:0.1868Min.:0.97751st Qu.:0.064561st Qu.:0.29281st Qu.:1.0806Median :0.07078Median :0.4244Median :1.3247Mean:0.08642Mean:0.4940Mean:2.52533rd Qu.:0.088293rd Qu.:0.66433rd Qu.:3.2100Max.:0.15211Max.:0.9676Max.:7.2803mining info:data ntransactions support confidencedat194800.060.1 inspect(head(rules))lhsrhssupportconfidence[1] {隐患主题=支架问题} => {隐患地点.1=工作面} 0.06329114 0.9600000[2] {隐患地点.1=工作面} => {隐患主题=支架问题} 0.06329114 0.2112676[3] {隐患地点.1=猴车巷} => {隐患单位=综掘三队} 0.08829114 0.9676301[4] {隐患单位=综掘三队} => {隐患地点.1=猴车巷} 0.08829114 0.6642857[5] {隐患单位=综掘一队} => {隐患地点.1=风巷}0.08164557 0.7267606[6] {隐患地点.1=风巷}=> {隐患单位=综掘一队} 0.08164557 0.5149701lift[1] 3.204507 [2] 3.204507 [3] 7.280264 [4] 7.280264 [5] 4.583959 [6] 4.583959 quality(head(rules))support confidencelift1 0.063291140.9600000 3.204507 2 0.063291140.2112676 3.204507 3 0.088291140.9676301 7.280264 4 0.088291140.6642857 7.280264 5 0.081645570.7267606 4.583959 6 0.081645570.5149701 4.583959 rules <-sort(rules,by="support") inspect(head(rules,n=40))Look at rules with highest supportlhsrhs[1]{隐患单位=综安队}=> {隐患地点.1=工作面}[2]{隐患地点.1=工作面}=> {隐患单位=综安队}[3]{隐患单位=综采队}=> {隐患地点.1=工作面}[4]{隐患地点.1=工作面}=> {隐患单位=综采队}[5]{隐患地点.1=工作面}=> {隐患时间=第二季度}[6]{隐患时间=第二季度}=> {隐患地点.1=工作面}[7]{隐患地点.1=猴车巷}=> {隐患单位=综掘三队}[8]{隐患单位=综掘三队}=> {隐患地点.1=猴车巷}[9]{隐患时间=第一季度}=> {隐患地点.1=工作面}[10] {隐患地点.1=工作面}=> {隐患时间=第一季度}[11] {隐患单位=综掘一队}=> {隐患地点.1=风巷}[12] {隐患地点.1=风巷}=> {隐患单位=综掘一队}[13] {隐患单位=综安队}=> {隐患时间=第二季度}[14] {隐患时间=第二季度}=> {隐患单位=综安队}[15] {隐患地点.1=风巷}=> {隐患时间=第二季度}[16] {隐患时间=第二季度}=> {隐患地点.1=风巷}[17] {隐患地点.1=工作面,隐患单位=综安队}=> {隐患时间=第二季度}[18] {隐患时间=第二季度,隐患单位=综安队}=> {隐患地点.1=工作面}[19] {隐患时间=第二季度,隐患地点.1=工作面} => {隐患单位=综安队}[20] {隐患时间=第三季度}=> {隐患地点.1=工作面}[21] {隐患地点.1=工作面}=> {隐患时间=第三季度}[22] {隐患主题=支架问题}=> {隐患地点.1=工作面}[23] {隐患地点.1=工作面}=> {隐患主题=支架问题}[24] {隐患单位=综安队}=> {隐患时间=第一季度}[25] {隐患时间=第一季度}=> {隐患单位=综安队}supportconfidence lift[1]0.15210970 0.85680332.8600336 [2]0.15210970 0.50774652.8600336 [3]0.13491561 0.96165413.2100286 [4]0.13491561 0.45035213.2100286 [5]0.10981013 0.36654930.9774648 [6]0.10981013 0.29282700.9774648 [7]0.08829114 0.96763017.2802642 [8]0.08829114 0.66428577.2802642 [9]0.08639241 0.32371541.0805712 [10] 0.08639241 0.28838031.0805712 [11] 0.08164557 0.72676064.5839588 [12] 0.08164557 0.51497014.5839588 [13] 0.07078059 0.39869281.0631808 [14] 0.07078059 0.18874821.0631808 [15] 0.07004219 0.44178311.1780883 [16] 0.07004219 0.18677921.1780883 [17] 0.06455696 0.42441051.1317614 [18] 0.06455696 0.91207153.0445205 [19] 0.06455696 0.58789633.3115012 [20] 0.06339662 0.31731781.0592159 [21] 0.06339662 0.21161971.0592159 [22] 0.06329114 0.96000003.2045070 [23] 0.06329114 0.21126763.2045070 [24] 0.06276371 0.35353541.3247095 [25] 0.06276371 0.23517791.3247095 Look at rules with highest supportlhsrhs[1]{隐患地点.1=猴车巷}=> {隐患单位=综掘三队}[2]{隐患单位=综采队}=> {隐患地点.1=工作面}[3]{隐患主题=支架问题}=> {隐患地点.1=工作面}[4]{隐患时间=第二季度,隐患单位=综安队}=> {隐患地点.1=工作面}[5]{隐患单位=综安队}=> {隐患地点.1=工作面}[6]{隐患单位=综掘一队}=> {隐患地点.1=风巷}[7]{隐患单位=综掘三队}=> {隐患地点.1=猴车巷}[8]{隐患时间=第二季度,隐患地点.1=工作面} => {隐患单位=综安队}[9]{隐患地点.1=风巷}=> {隐患单位=综掘一队}[10] {隐患地点.1=工作面}=> {隐患单位=综安队}[11] {隐患地点.1=工作面}=> {隐患单位=综采队}[12] {隐患地点.1=风巷}=> {隐患时间=第二季度}[13] {隐患地点.1=工作面,隐患单位=综安队}=> {隐患时间=第二季度}[14] {隐患单位=综安队}=> {隐患时间=第二季度}[15] {隐患地点.1=工作面}=> {隐患时间=第二季度}[16] {隐患单位=综安队}=> {隐患时间=第一季度}[17] {隐患时间=第一季度}=> {隐患地点.1=工作面}[18] {隐患时间=第三季度}=> {隐患地点.1=工作面}[19] {隐患时间=第二季度}=> {隐患地点.1=工作面}[20] {隐患地点.1=工作面}=> {隐患时间=第一季度}[21] {隐患时间=第一季度}=> {隐患单位=综安队}[22] {隐患地点.1=工作面}=> {隐患时间=第三季度}[23] {隐患地点.1=工作面}=> {隐患主题=支架问题}[24] {隐患时间=第二季度}=> {隐患单位=综安队}[25] {隐患时间=第二季度}=> {隐患地点.1=风巷}supportconfidence lift[1]0.08829114 0.96763017.2802642 [2]0.13491561 0.96165413.2100286 [3]0.06329114 0.96000003.2045070 [4]0.06455696 0.91207153.0445205 [5]0.15210970 0.85680332.8600336 [6]0.08164557 0.72676064.5839588 [7]0.08829114 0.66428577.2802642 [8]0.06455696 0.58789633.3115012 [9]0.08164557 0.51497014.5839588 [10] 0.15210970 0.50774652.8600336 [11] 0.13491561 0.45035213.2100286 [12] 0.07004219 0.44178311.1780883 [13] 0.06455696 0.42441051.1317614 [14] 0.07078059 0.39869281.0631808 [15] 0.10981013 0.36654930.9774648 [16] 0.06276371 0.35353541.3247095 [17] 0.08639241 0.32371541.0805712 [18] 0.06339662 0.31731781.0592159 [19] 0.10981013 0.29282700.9774648 [20] 0.08639241 0.28838031.0805712 [21] 0.06276371 0.23517791.3247095 [22] 0.06339662 0.21161971.0592159 [23] 0.06329114 0.21126763.2045070 [24] 0.07078059 0.18874821.0631808 [25] 0.07004219 0.18677921.1780883 Look at rules with highest liftlhsrhs[1]{隐患地点.1=猴车巷}=> {隐患单位=综掘三队}[2]{隐患单位=综掘三队}=> {隐患地点.1=猴车巷}[3]{隐患单位=综掘一队}=> {隐患地点.1=风巷}[4]{隐患地点.1=风巷}=> {隐患单位=综掘一队}[5]{隐患时间=第二季度,隐患地点.1=工作面} => {隐患单位=综安队}[6]{隐患单位=综采队}=> {隐患地点.1=工作面}[7]{隐患地点.1=工作面}=> {隐患单位=综采队}[8]{隐患地点.1=工作面}=> {隐患主题=支架问题}[9]{隐患主题=支架问题}=> {隐患地点.1=工作面}[10] {隐患时间=第二季度,隐患单位=综安队}=> {隐患地点.1=工作面}[11] {隐患单位=综安队}=> {隐患地点.1=工作面}[12] {隐患地点.1=工作面}=> {隐患单位=综安队}[13] {隐患单位=综安队}=> {隐患时间=第一季度}[14] {隐患时间=第一季度}=> {隐患单位=综安队}[15] {隐患地点.1=风巷}=> {隐患时间=第二季度}[16] {隐患时间=第二季度}=> {隐患地点.1=风巷}[17] {隐患地点.1=工作面,隐患单位=综安队}=> {隐患时间=第二季度}[18] {隐患时间=第一季度}=> {隐患地点.1=工作面}[19] {隐患地点.1=工作面}=> {隐患时间=第一季度}[20] {隐患单位=综安队}=> {隐患时间=第二季度}[21] {隐患时间=第二季度}=> {隐患单位=综安队}[22] {隐患时间=第三季度}=> {隐患地点.1=工作面}[23] {隐患地点.1=工作面}=> {隐患时间=第三季度}[24] {隐患地点.1=工作面}=> {隐患时间=第二季度}[25] {隐患时间=第二季度}=> {隐患地点.1=工作面}supportconfidence lift[1]0.08829114 0.96763017.2802642 [2]0.08829114 0.66428577.2802642 [3]0.08164557 0.72676064.5839588 [4]0.08164557 0.51497014.5839588 [5]0.06455696 0.58789633.3115012 [6]0.13491561 0.96165413.2100286 [7]0.13491561 0.45035213.2100286 [8]0.06329114 0.21126763.2045070 [9]0.06329114 0.96000003.2045070 [10] 0.06455696 0.91207153.0445205 [11] 0.15210970 0.85680332.8600336 [12] 0.15210970 0.50774652.8600336 [13] 0.06276371 0.35353541.3247095 [14] 0.06276371 0.23517791.3247095 [15] 0.07004219 0.44178311.1780883 [16] 0.07004219 0.18677921.1780883 [17] 0.06455696 0.42441051.1317614 [18] 0.08639241 0.32371541.0805712 [19] 0.08639241 0.28838031.0805712 [20] 0.07078059 0.39869281.0631808 [21] 0.07078059 0.18874821.0631808 [22] 0.06339662 0.31731781.0592159 [23] 0.06339662 0.21161971.0592159 [24] 0.10981013 0.36654930.9774648 [25] 0.10981013 0.29282700.9774648

need-to-insert-img

相关文章

网友评论

    本文标题:拓端数据(tecdat):基于R语言的FP树fpgrowth关联

    本文链接:https://www.haomeiwen.com/subject/toiomhtx.html