title: Java, Weka: How to predict numeric attribute?
body: <p>I was trying to use NaiveBayesUpdateable classifier from Weka. My data contains both nominal and numeric attributes:</p>
  
  <pre><code>  @relation cars
    @attribute country {FR, UK, ...}
    @attribute city {London, Paris, ...}
    @attribute car_make {Toyota, BMW, ...}
    @attribute price numeric   %% car price 
    @attribute sales numeric   %% number of cars sold
  </code></pre>
  
  <p>I need to predict the number of sales (numeric!) based on other attributes.</p>
  
  <p>I understand that I can not use numeric attribute for Bayes classification in Weka. One technique is to split value of numeric attribute in N intervals of length k and use instead nominal attribute, where n is a class name, like this: @attribute class {1,2,3,...N}.</p>
  
  <p>Yet numeric attribute that I need to predict ranges from 0 to 1 000 000. Creating 1 000 000 classes make no sense at all. How to predict numeric attribute with Weka or what algorithms to look for in case Weka has no tools for this task?</p>