Package com.mapr.stats.random

Examples of com.mapr.stats.random.BinomialDistributionSampler


                new Callable<Integer>() {
                    @Override
                    public Integer call() {
                        try {
                            totalRegret("regret.tsv", "local.tsv", 1000, 2, 1000, new BetaBayesFactory(), new BinomialDistributionSampler(1, 1, new Random()));
                            System.out.printf("2\n");
                        } catch (FileNotFoundException e) {
                            e.printStackTrace();
                        }
                        return null;
                    }
                },

                new Callable<Integer>() {
                    @Override
                    public Integer call() {
                        try {
                            totalRegret("regret-100.tsv", "local-100.tsv", 1000, 100, 1000, new BetaBayesFactory(), new BinomialDistributionSampler(1, 1, new Random()));
                            System.out.printf("100\n");
                        } catch (FileNotFoundException e) {
                            e.printStackTrace();
                        }
                        return null;
                    }
                },

                new Callable<Integer>() {
                    @Override
                    public Integer call() {
                        try {
                            totalRegret("regret-20.tsv", "local-20.tsv", 1000, 20, 1000, new BetaBayesFactory(), new BinomialDistributionSampler(1, 1, new Random()));
                            System.out.printf("20\n");
                        } catch (FileNotFoundException e) {
                            e.printStackTrace();
                        }
                        return null;
View Full Code Here

TOP

Related Classes of com.mapr.stats.random.BinomialDistributionSampler

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.