Examples of learn()


Examples of be.ac.ulg.montefiore.run.jahmm.learn.BaumWelchLearner.learn()

    OpdfWriter<? extends Opdf<O>> opdfWriter = relatedObjs.opdfWriter();
   
    Hmm<O> initHmm = HmmReader.read(hmmFileReader, opdfReader);
    BaumWelchLearner bw = new BaumWelchScaledLearner();
    bw.setNbIterations(nbIterations);
    Hmm<O> hmm = bw.learn(initHmm, seqs);
    HmmWriter.write(hmmFileWriter, opdfWriter, hmm);
  }
}
View Full Code Here

Examples of be.ac.ulg.montefiore.run.jahmm.learn.BaumWelchScaledLearner.learn()

    OpdfWriter<? extends Opdf<O>> opdfWriter = relatedObjs.opdfWriter();
   
    Hmm<O> initHmm = HmmReader.read(hmmFileReader, opdfReader);
    BaumWelchLearner bw = new BaumWelchScaledLearner();
    bw.setNbIterations(nbIterations);
    Hmm<O> hmm = bw.learn(initHmm, seqs);
    HmmWriter.write(hmmFileWriter, opdfWriter, hmm);
  }
}
View Full Code Here

Examples of com.digitalpebble.classification.Learner.learn()

   
    // prune terms
    // creator.pruneTermsDocFreq(2,subjectiveCorpus.size());
   
    long l0 = System.currentTimeMillis();
    creator.learn(subjectiveCorpus);
    long l1 = System.currentTimeMillis();
    System.err.println("learning done in "+(l1-l0));
  }
 
  public void testUseModel() throws Exception{
View Full Code Here

Examples of com.wiieditor.neuralnetwork.NeuralNetwork.learn()

        double [] output=DataInterpolator.convertCharToNeuronDoubleArr(c);
        NeuralData neuralData=gridPanel.getData().getConvertedNeuralData();
        neuralData.setOutputVector(output);
       
        NeuralNetwork n=NeuralNetwork.createNeuralNetwork();
        n.learn(neuralData);
        n.save();
       
        log.info("Entry: NeuralNetwork learnt for "+c);
       
    }
View Full Code Here

Examples of com.yahoo.labs.taxomo.LearnModel.learn()

    return learnBestModel(initialCandidate,d).toString(Model.PrintMode.STATES_ONLY);
  }
 
  Model learnBestModel(Candidate initialCandidate, double d) {
    LearnModel learner = new LearnModel(taxo1, sym1, initialCandidate, strategy, d);
    learner.learn();
    return learner.getBestModel();
  }
 
  String learnBestModelFull(Candidate initialCandidate, int batchSize, int maxIterations) {
    return learnBestModel(initialCandidate, batchSize, maxIterations).toString(Model.PrintMode.FULL);
View Full Code Here

Examples of com.yahoo.labs.taxomo.LearnModel.learn()

 
  Model learnBestModel(Candidate initialCandidate, int batchSize, int numIterations ) {
    LearnModel learner = new LearnModel(taxo1, sym1, initialCandidate, strategy, 1.0);
    learner.setBatchSize(batchSize);
    learner.setMaxIterations(numIterations);
    learner.learn();
    return learner.getBestModel();
  }
 
  Candidate getLeafCandidate() {
    return Candidate.createLeafCandidate(taxo1);
View Full Code Here

Examples of org.wkh.bateman.pso.SimpleParticleSwarmOptimizer.learn()

        double[] xmin = new double[]{minBuy, minSell, 0.0};
        double[] xmax = new double[]{maxBuy, maxSell, maxStop};

        SimpleParticleSwarmOptimizer optimizer = new SimpleParticleSwarmOptimizer(fitness, xmin, xmax, generations);

        return optimizer.learn();
    }

    public static double getMedianHighOpenSpread(String symbol, int days) throws Exception {
        YahooQuoteFetcher yahooFetcher = new YahooQuoteFetcher();
        String quoteStr = yahooFetcher.fetchQuotes(symbol, days, 60*60*24);
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.