Mahout Learning (3)

Source: Internet
Author: User
Tags deprecated
Public class tmahout03 {public static void main (string [] ARGs) throws ioexception, tasteexception {//-configuration and operation of accuracy and recall rate evaluation -//
Randomutils. usetestseed (); datamodel model = new filedatamodel (new file ("path/UA. base "); recommenderirstatsevaluator irstatsevaluator = new genericrecommenderirstatsevaluator (); recommenderbuilder = new recommenderbuilder () {@ override public recommender buildrecommender (datamodel Model) throws tasteexception {usersimilarity similarity = new feature (model); required neighborhood = new feature (2, similarity, model); return new feature (model, neighborhood, similarity );}}; irstatistics stats = irstatsevaluator. evaluate (recommenderbuilder, null, model, null, 2, genericrecommenderirstatsevaluator. choose_threshold, 1.0); system. out. println (stats. getprecision (); system. out. println (stats. getrecall ());}}

// Slopeonerecommender @ deprecated.
1 February 2014 - Apache Mahout 0.9 released Apache Mahout has reached version 0.9. All developers are encouraged to begin using version 0.9. Highlights include:     New and improved Mahout website based on Apache CMS - MAHOUT-1245    Early implementation of a Multi Layer Perceptron (MLP) classifier - MAHOUT-1265    Scala DSL Bindings for Mahout Math Linear Algebra. See this blogpost and MAHOUT-1297    Recommenders as Search. See [https://github.com/pferrel/solr-recommender] and MAHOUT-1288    Support for easy functional Matrix views and derivatives - MAHOUT-1300    JSON output format for ClusterDumper - MAHOUT-1343    Enabled randomised testing for all Mahout modules using Carrot RandomizedRunner - MAHOUT-1345    Online Algorithm for computing accurate Quantiles using 1-dimensional Clustering - See this pdf and MAHOUT-1361    Upgrade to Lucene 4.6.1 - MAHOUT-1364 Changes in 0.9 are detailed in the release notes. The following algorithms that were marked deprecated in 0.8 have been removed in 0.9:     Switched LDA implementation from Gibbs Sampling to Collapsed Variational Bayes    Meanshift - removed due to lack of actual usage and support    MinHash - removed due to lack of actual usage and support    Winnow - removed due to lack of actual usage and support    Perceptron - removed due to lack of actual usage and support<span style="color: #ff6600;"><strong>    Slope One - removed due to lack of actual usage</strong></span>    Distributed Pseudo recommender - removed due to lack of actual usage    TreeClusteringRecommender - removed due to lack of actual usage
 

 

 

 

Mahout Learning (3)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.