Package weka.associations

Examples of weka.associations.FPGrowth$FPTreeRoot$Header


 
 
  public m2(){
    created=true;
   
    header=new Header();
    modelname=new ZeroTerminatedString("Test");
    anims=new AnimSequ[1];
    anims[0]=new AnimSequ();
    bone=new Bones[1];
    bone[0]=new Bones();
View Full Code Here


    int ofsTextures;
    int nVertices, ofsVertices,nBones,ofsBones;
    int texlength[];
    int texoffs[];
   
    header = new Header(buff);
   
   
    // check magic
    if(header.getMagic().compareTo("MD20") != 0) {
      throw new InvalidClassException("Invalid m2 Data.");
View Full Code Here

    //if(created){
      //running offset
      int ro=0;
      //Headersize+0x10Bytes for Name+AnimSequ+Bone+0x10 for bonelookup
      ByteBuffer tmp=doRebirth(calcSize());
      header=new Header();
      tmp.put(header.buff);
      fillLine(tmp);
      ro=tmp.position();
      header.setofsName(ro);
      header.setlName(modelname.toString().length()+1);//zeroterminated
View Full Code Here

    BufferedReader br = new BufferedReader(new FileReader(arffout));
    Instances inst = new Instances(br);
    br.close();

    FPGrowth fp = new FPGrowth();
    fp.setLowerBoundMinSupport(5.0);
    fp.setNumRulesToFind(100000);
    fp.setUpperBoundMinSupport(1.0);
    fp.setMinMetric(.0);
    fp.buildAssociations(inst);
    List<FPGrowth.AssociationRule> rules = fp.getAssociationRules();

    Set fpgrowth = new TreeSet();
    String pattern;
    PrintWriter writer;
    writer = new PrintWriter(new FileWriter(fpout));
View Full Code Here

TOP

Related Classes of weka.associations.FPGrowth$FPTreeRoot$Header

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.