Show Some Love

Introduction to Apache Mahout K-means clustering

This forum was posted on Saturday, May 18, 2013 11:27:38 PM

I'm attempting to cluster a sparse matrix with using K-means algorithm. I will use Apache mahout but I didn't find any illustration about how can it be manipulate with Java. Is there any tutorial or function javadoc about it?
I hv attempted KmeansDriver's execute() function but I didn't give true parameters. Trustly I didn't understand manipulation of this function. do you know clear illustration about that which takes a matrix dataset or file and gives clustered data?

91 Viewed this Question

 Recent Replies on "Introduction to Apache Mahout K-means clustering"

  • Nobody has replied on this post, be first to post answer.

Post Your Solution for this Question

Note: Please Put Code into <code></code> block.

Threads related to "Introduction to Apache Mahout K-means clustering":

How is returning a subtype in a method expecting a supertype called covariance?

Wikipedia defines covariance as converting from wider (Animals) to narrower (Cats).but in languages like Java return type covariance is defined as assigning a subtype to a supertype like :public Animal getAnimal(){ return new Cat();}Here we are assigning a subtype to a supertype but according to the Wikipedia definition covariance is assigning a supertype to subtype. How can i reconcile the two ?

MigLayout + JScrollPane width issue

i require to imitate a table with scroll bar but There is a problem with width.This is an extremely simplified code snippet snippet (but it is complete application so you can compile it easilly and see everything at first hand).package view;import java.awt.BorderLayout;import java.awt.Dimension;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JPanel;import javax.swing.JScrollPane;import javax.swing.SwingUtilities;import net.miginfocom.layout.AC;import net.miginfocom.layout.CC;import net.migin

Sound manipulation libraries for java? closed

Are there any best sound manipulation libraries for java other than JOAL which can apply effects like reverb chorus pitch update tempo update phase vocoder etc. to an audio file?

Missing @AnnotationDrivenTx Spring3

my collegues sais i should update the spring's app-context.xml into java. For that i require to have the @AnnotationDrivenTx-Annotation i can not find. Any workaround here?Regards.

How to configure spring integration consumer to be event driven?

How do I configure spring integration to use msg driven consumer.With the following configuration my consumers are polling the msgs and i can'f figure out How do I make it event driven not polling..

integrating JPA and SpringIOc

Hi I write small application and trying connect my spring configuration file I write this: class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean"> com.epam.newsmanagement.entity and when I start my application browser giges me 404 error and console give such errororg.springframework.beans.factory.BeanCreationException: Error making bean with name 'entityManagerFactory' defined in ServletContext resource /WEB-INF/jpa-configuration.xml: Error setting feature valu

java jcombobox inside a listCellRenderer

i wish to generate a list containing items with data and a jCombobox. I use this listCellRenderer :public class DeliveryListCellRenderer extends JPanel implements ListCellRenderer{ JLabel lbl = new JLabel2; JComboBox combo; public DeliveryListCellRenderer() { setLayout(new GridLayout(0 2 15 0)); lbl0 = new JLabel("" JLabel.RIGHT); add(lbl0); lbl1 = new JLabel("" JLabel.LEFT); add(lbl1); String timeZones = {"timeZone 1" "timeZone 2" "timeZone

javax.servlet.ServletException: missing jspFile

I use tomcat 7.0.29 and when i deploy my app(an applet) and start the tomcat from eclipse i got this error.SEVERE: Servlet /test threw load() exception javax.servlet.ServletException: missing jspFileWhat could be the problem?

Unable to connect to postgres SQL

i'm working with Spring + Maven + Hibernate and wish to run tests in a PostgreSQL environment.After adding the appropriate dependencies and changing my xml files I'm getting the following error when running mvn clear install in cmd:Coult not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: can not open connectionAnd the o/p log of the test is something like: Tests run: 9 Failures: 0 Errors: 9 Skipped

SWT draw a table dynamically in a form

I hv a form where in a section of the form I hv an action on the toolbar.Running the action should solution in drawing an swt table in the form with dynamic columns and rows.The problem is that the only approach I handled to do this is by making an blank table initially and then passing the table handle to the action which later will fill it up.If I hv the action code snippet snippet to sketch the table the form doesn't expand (scroll) to show the all table.Is there any approach to achieve what i require w