Package org.grouplens.lenskit.core

Examples of org.grouplens.lenskit.core.LenskitConfiguration.addComponent()


            LenskitConfiguration dataConfig = new LenskitConfiguration();
            ExecutionInfo info = ExecutionInfo.newBuilder()
                                              .setAlgorithm(algo)
                                              .setDataSet(dataset)
                                              .build();
            dataConfig.addComponent(info);
            dataset.configure(dataConfig);
            // Build the graph
            DAGNode<Component, Dependency> graph = algo.buildRecommenderGraph(dataConfig);

            if (!separateAlgorithms) {
View Full Code Here


        }

        @Override
        public LenskitConfiguration getConfiguration() {
            LenskitConfiguration config = new LenskitConfiguration();
            config.addComponent(getEventDAO());
            return config;
        }

        @Override
        public String toString() {
View Full Code Here

        }

        @Override
        public LenskitConfiguration getConfiguration() {
            LenskitConfiguration config = new LenskitConfiguration();
            config.addComponent(BinaryRatingDAO.class);
            config.bind(BinaryRatingFile.class, File.class)
                  .to(inputFile);
            return config;
        }
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.