// Build the initial graph
logger.debug("building graph from {} configurations", configurations.size());
RecommenderGraphBuilder rgb = new RecommenderGraphBuilder();
rgb.setClassLoader(classLoader);
for (Pair<LenskitConfiguration,ModelDisposition> cfg: configurations) {
rgb.addConfiguration(cfg.getLeft());
}
RecommenderInstantiator inst;
try {
inst = RecommenderInstantiator.create(rgb.buildGraph());
} catch (ResolutionException e) {