public Movie[] ParseLines(string[] lines) { if (lines == null) { return(null); } return(_movieParser.ParseMovies(lines)); }
public void MachineLearningHandler_CanInit() { var machineLearningFileHandler = new MachineLearningFileHandler(); //This doesn't work var lines = machineLearningFileHandler.GetMovieLinesFromDisk(); var movieParser = new MovieParser(); var movies = movieParser.ParseMovies(lines); KMeansHelper kmeansHelper = new KMeansHelper(); var clusteredMoviesResults = kmeansHelper.kmeans(movies, 10000); }