public void CreateClustersAmazon() { var reader = new AmazonReader(Paths.AmazonMusicRatings); var dataset = new Dataset <ItemRating>(reader); var clusterer = new Clusterer(dataset); for (int i = 14; i < 15; i += 2) { clusterer.WriteUsersCluster(Paths.AmazonMusicUsersCluster + i + ".csv", i, 5); clusterer.WriteItemsCluster(Paths.AmazonMusicItemsCluster + i + ".csv", i, 5); } }
public void CreateClustersEpinion() { var reader = new EpinionReader(Paths.EpinionRatings); var dataset = new Dataset <ItemRating>(reader); var clusterer = new Clusterer(dataset); for (int i = 2; i < 15; i += 2) { clusterer.WriteUsersCluster(Paths.EpinionUsersCluster + i + ".csv", i, 5); clusterer.WriteItemsCluster(Paths.EpinionItemsCluster + i + ".csv", i, 5); } }
public void CreateClustersMovieLens() { var reader = new MovieLensReader(Paths.MovieLens1M); var dataset = new Dataset <ItemRating>(reader); var clusterer = new Clusterer(dataset); for (int i = 2; i < 15; i += 2) { clusterer.WriteUsersCluster(Paths.MovieLens1MUsersCluster + i + ".csv", i, 5); clusterer.WriteItemsCluster(Paths.MovieLens1MItemsCluster + i + ".csv", i, 5); } }
public void CreateClustersMovieLens() { var reader = new MovieLensReader(Paths.MovieLens1M); var dataset = new Dataset<ItemRating>(reader); var clusterer = new Clusterer(dataset); for (int i = 2; i < 15; i += 2) { clusterer.WriteUsersCluster(Paths.MovieLens1MUsersCluster + i + ".csv", i, 5); clusterer.WriteItemsCluster(Paths.MovieLens1MItemsCluster + i + ".csv", i, 5); } }
public void CreateClustersEpinion() { var reader = new EpinionReader(Paths.EpinionRatings); var dataset = new Dataset<ItemRating>(reader); var clusterer = new Clusterer(dataset); for (int i = 2; i < 15; i += 2) { clusterer.WriteUsersCluster(Paths.EpinionUsersCluster + i + ".csv", i, 5); clusterer.WriteItemsCluster(Paths.EpinionItemsCluster + i + ".csv", i, 5); } }
public void CreateClustersAmazon() { var reader = new AmazonReader(Paths.AmazonMusicRatings); var dataset = new Dataset<ItemRating>(reader); var clusterer = new Clusterer(dataset); for (int i = 14; i < 15; i += 2) { clusterer.WriteUsersCluster(Paths.AmazonMusicUsersCluster + i + ".csv", i, 5); clusterer.WriteItemsCluster(Paths.AmazonMusicItemsCluster + i + ".csv", i, 5); } }