Skip to content

Instantly share code, notes, and snippets.

@bloudermilk
Last active August 29, 2015 13:56
Show Gist options
  • Save bloudermilk/8832036 to your computer and use it in GitHub Desktop.
Save bloudermilk/8832036 to your computer and use it in GitHub Desktop.
puts "Requiring JARs"
puts require "./mahout-core-0.9.jar"
puts require "./mahout-integration-0.9.jar"
puts require "./mahout-math-0.9.jar"
begin
puts "Loaded #{org.apache.mahout.cf.taste.impl.similarity.TanimotoCoefficientSimilarity}"
rescue NameError => e
puts e.message
end
begin
puts "Loaded #{org.apache.mahout.cf.taste.impl.neighborhood.NearestNUserNeighborhood}"
rescue NameError => e
puts e.message
end
begin
puts "Loaded #{org.apache.mahout.cf.taste.impl.model.file.FileDataModel}"
rescue NameError => e
puts e.message
end
begin
puts "Loaded #{org.apache.mahout.cf.taste.impl.recommender.GenericBooleanPrefUserBasedRecommender}"
rescue NameError => e
puts e.message
end
This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment