@@ -0,0 +1,761 @@
+package edu.ntnu.idi.goldfish;%0A%0Aimport org.apache.mahout.cf.taste.common.TasteException;%0Aimport org.apache.mahout.cf.taste.eval.RecommenderBuilder;%0A%0Aimport org.apache.mahout.cf.taste.impl.recommender.svd.SVDRecommender;%0Aimport org.apache.mahout.cf.taste.impl.recommender.svd.ALSWRFactorizer;%0Aimport org.apache.mahout.cf.taste.model.DataModel;%0A%0Apublic class BayesianNetwork extends ModelBased %7B%0A%0A%09public RecommenderBuilder getBuilder() %7B%0A%09%09return new RecommenderBuilder() %7B%0A%09%09%09public org.apache.mahout.cf.taste.recommender.Recommender buildRecommender(DataModel dataModel) throws TasteException %7B%09%0A%0A%09%09%09%09//return new BayesianNetwork();%0A%09%09%09%09//return new SVDRecommender(dataModel, new ALSWRFactorizer(dataModel, 10, 0.05, 10));%0A%0A%09%09%09%09return null;%09%09%09%0A%09%09%09%7D%0A%09%09%7D;%0A%09%7D%0A%0A%7D%0A

Add BayesianNetwork class.