Package edu.brown.markov

Examples of edu.brown.markov.EstimationThresholds


        est.setConfidenceCoefficient(0.92f);
        est.setAbortProbability(0.0f);
        assert(this.est.isValid());
        System.err.println(est);
       
        EstimationThresholds thresholds = new EstimationThresholds(0.8f);
        assertTrue(est.isSinglePartitioned(thresholds));
        assertTrue(est.isReadOnlyAllPartitions(thresholds));
        assertFalse(est.isAbortable(thresholds));
       
        thresholds = new EstimationThresholds(1.0f);
        assertTrue(est.isSinglePartitioned(thresholds));
        assertFalse(est.isReadOnlyAllPartitions(thresholds));
        assertFalse(est.isAbortable(thresholds));
    }
View Full Code Here


        assertFalse(multip_path.isEmpty());
        assertNotNull(singlep_trace);
       
        // Setup
        this.t_estimator = new MarkovEstimator(catalogContext, p_estimator, markovs);
        this.thresholds = new EstimationThresholds();
    }
View Full Code Here

            }
        }
        if (this.params.containsKey(PARAM_MARKOV_THRESHOLDS_VALUE)) {
            assert (this.catalog_db != null);
            float defaultValue = this.getDoubleParam(PARAM_MARKOV_THRESHOLDS_VALUE).floatValue();
            this.thresholds = new EstimationThresholds(defaultValue);
            this.params.put(PARAM_MARKOV_THRESHOLDS, this.thresholds.toString());
            LOG.debug("CREATED THRESHOLDS: " + this.thresholds);

        } else if (this.params.containsKey(PARAM_MARKOV_THRESHOLDS)) {
            assert (this.catalog_db != null);
            this.thresholds = new EstimationThresholds();
            File path = new File(this.params.get(PARAM_MARKOV_THRESHOLDS));
            if (path.exists()) {
                this.thresholds.load(path, this.catalog_db);
            } else {
                LOG.warn("The estimation thresholds file '" + path + "' does not exist");
View Full Code Here

TOP

Related Classes of edu.brown.markov.EstimationThresholds

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.