“存储关联规则结果”

ocortocort 成员职位:4贡献我
2019年6月编辑 帮助
你好,

是否有办法将表视图中显示的关联规则结果存储到数据库表或至少存储到CSV中?
我只找到了textwwriter节点,但它缺乏大量信息,难以处理。

提前感谢并祝贺v5

Oriol。

答案

  • IngoRMIngoRM 管理员、版主、员工、RapidMiner认证分析师、RapidMiner认证专家、社区经理、RMResearcher、会员、大学教授职位:1751年RM创始人
    正确的。

    顺便说一句:欢迎来到我们的论坛,感谢你对v5;D的好评

    欢呼,
    Ingo
  • ocortocort 成员职位:4贡献我
    Groovy的模型工作得很好。谢谢你的帮助,我没有找到主题。

    我正在使用嵌入在Java应用程序中的Weka,但我会考虑改用你的库,它现在看起来更强大了。
  • IngoRMIngoRM 管理员、版主、员工、RapidMiner认证分析师、RapidMiner认证专家、社区经理、RMResearcher、会员、大学教授职位:1751年RM创始人
    当然是。我刚刚在我的邮件中搜索了我们的一个用户对RapidMiner的评论:

    “RapidMiner就像Weka +更多的算法+更多的预处理和过程控制+更好的可视化”


    不要误解我的意思:Weka给了我们很多启发,它是数据挖掘步骤的一个很好的库。但我认为上面的引用在某种程度上抓住了RapidMiner的一些基本思想,尤其是在预处理和支持整个数据挖掘过程方面。

    欢呼,
    Ingo

  • 黑线鳕黑线鳕 成员职位:849Maven
    你好,Oriol

    谢谢你的反馈,总是很有用的。实际上,我认为Groovy网关对于像我这样想要在内部进行探索的傻瓜来说是一个整洁的第一步。我现在甚至在java扩展上欺骗自己……

    如果我的第一个回答有点唐突,我很抱歉——让我也欢迎你来到这个谜题的天堂

  • ocortocort 成员职位:4贡献我
    没错,Ingo,对我来说,它有一个关键特性,那就是健壮。
    自从你上耶鲁大学以来,我就一直在用你的软件作为我的Weka GUI,因为Weka界面总是给我带来内存、崩溃等问题……
    但现在我看到你在各方面都好多了: D
    我将花些时间玩一下5.0

    没问题,阿道克,我知道总是回答同样的问题很无聊。我总是在问之前做一个搜索:-)
    顺便说一下,我说的胜利很快,数据库编写器不接受执行脚本输出作为示例集:-(好吧,我会找到一个解决方案,没关系:- d
  • 黑线鳕黑线鳕 成员职位:849Maven
    你好,

    看起来像可怕的无穷问题,但不要害怕,有一个现成的解决方案,以“睡眠八移除”的形式操作!我的MS 2005数据垃圾桶打嗝满意如果我运行以下…

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <过程version = " 5.0 " >
    > <上下文
    <输入>
    <位置/ >
    输入> < /
    < >输出
    <位置/ >
    <位置/ >
    < / >输出
    <宏/ >
    > < /上下文





    < /操作符>





    < /操作符>


    < /操作符>







    > < /过程
    < /操作符>



    < /操作符>


    < /操作符>

    <参数key="script" value="import com.rapidminer.tools.Ontology; AssociationRules rules = input[0]; &# 10; //构造属性集 attribute [] attributes= new attribute [11]; attributes[0] = AttributeFactory.createAttribute("前提", Ontology.STRING); attributes[1] = AttributeFactory.createAttribute("前提";Ontology.INTEGER); & # 10;属性[2]= AttributeFactory.createAttribute(“Conclusion" Ontology.STRING); & # 13; & # 10;属性[3]= AttributeFactory.createAttribute(“结论Items" Ontology.INTEGER); & # 13; & # 10;属性[4]= AttributeFactory.createAttribute(“Confidence" Ontology.REAL); & # 13; & # 10;属性[5]= AttributeFactory.createAttribute(“Conviction" Ontology.REAL); & # 13; & # 10;属性[6]= AttributeFactory.createAttribute(“Gain",attributes[7] = AttributeFactory.createAttribute("Laplace", Ontology.REAL); attributes[9] = AttributeFactory.createAttribute("Ps", Ontology.REAL); attributes[10] = AttributeFactory.createAttribute("Total Support",DataRowFactory ROW_FACTORY = new DataRowFactory(0); String[] strings= new String[11]; for (AssociationRule rule: rules){ //构造示例数据 字符串[0]= rule.toPremiseString (); & # 13; & # 10;字符串[1]= rule.premise.size () .toString (); & # 13; & # 10;字符串[2]= rule.toConclusionString (); & # 13; & # 10;字符串[3]= rule.conclusion.size () .toString (); & # 13; & # 10;字符串[4]= rule.getConfidence () .toString (); & # 13; & # 10;字符串[5]= rule.getConviction () .toString (); & # 13; & # 10; strings[6]=rule.getGain().toString(); strings[7]=rule.getLaplace().toString(); strings[8]=rule.getLift().toString(); strings[9]=rule.getPs().toString(); strings[10]=rule.getTotalSupport().toString(); // make and add row DataRow row = ROW_FACTORY.create(strings, attributes); table.addDataRow(row); } ExampleSet exampleSet = table.createExampleSet(); return exampleSet; "/>
    < /操作符>

    <列出关键= "列" / >
    < /操作符>





    < /操作符>










    > < /过程
    < /操作符>
    > < /过程
    哦,我在法国,我的胃在叫,所以是时候吃点东西喝点酒了祝你们周末愉快。

    皮普皮普。




  • ocortocort 成员职位:4贡献我
    没问题!
    谢谢
登录注册置评。