Answers.Body: <ol>
  <li>Yes. For instance, the popular softmax regression gives you probability distribution for each class.</li>
  <li>Yes. Softmax is a regression over a set of discrete classes.</li>
  </ol>
  
  <p>We can use regression for classification, the most common strategy is to grab the most likely class for the prediction.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-03T02:17:12.643Z
Answers.LastActivityDate: 2017-04-03T05:18:02.793Z
Answers.LastEditDate: 2017-04-03T05:18:02.793Z
Answers.UserDisplayName: SmallChess
Answers.Body: <p>Yes you can user either classification or regression according to your output requirement, </p>
  
  <p>If you want labeled output, like either available or not available then classification should be used.</p>
  
  <p>If you want the output in the form of % of availability then regression should be used.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-08T12:19:35.650Z
Answers.Text: Can you back this up with sources from somewhere?
Answers.UserDisplayName: Mithical
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-05T05:00:05.230Z
Answers.LastActivityDate: 2017-05-05T05:00:05.230Z
Answers.UserDisplayName: vishal Naik
Answers.Body: <p>You can use naive bayes classification and calculate posterior probabilities using prior beliefs or logistic regression can be used with sigmoid function.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-23T07:58:23.217Z
Answers.LastActivityDate: 2017-04-23T07:58:23.217Z
Answers.UserDisplayName: Vikram Singh
Body: <p>While studying data mining methods I have come to understand that there are two main categories:</p>
  
  <ul>
  <li><p>Predictive methods: </p>
  
  <ul>
  <li>Classification</li>
  <li>Regression</li>
  </ul></li>
  <li><p>Descriptive methods:</p>
  
  <ul>
  <li>Clustering</li>
  <li>Association rules</li>
  </ul></li>
  </ul>
  
  <p>Since I want to predict the user availability (output) based on location, activity, battery level (input for the training model), I think it's obvious that I would choose "Predictive methods", but now I can't seem to choose between classification and regression. From what I understand this far, classification can solve my problem, because the output is "available" or "not available". </p>
  
  <p><em>Can classification provide me with the probability (or likelihood) of the user being available or not available?</em></p>
  
  <p>As in the output wouldn't just be 0 (not available) or 1 (for available), but it's be something like:</p>
  
  <ul>
  <li><span class="math-container">$80\%$</span> available</li>
  <li><span class="math-container">$20\%$</span> not available</li>
  </ul>
  
  <p><em>Can this problem also be solved using regression?</em></p>
  
  <p>I get that regression is used for continuous output (not just 0 or 1 outputs), but can't the output be the continuous value of the user availability (like the output being <span class="math-container">$80$</span> meaning user is <span class="math-container">$80\%$</span> available, implicitly the user is <span class="math-container">$20\%$</span> unavailable).</p>
  
Tags: <machine-learning><ai-design><classification><prediction><regression>
Title: Do I need classification or regression to predict the availability of a user given some features?
UserDisplayName: Guest2000
ThreadText: # Do I need classification or regression to predict the availability of a user given some features?
  
  (Asked by: username_0 on 2017-04-01)
  
  While studying data mining methods I have come to understand that there are two main categories:
  
  * Predictive methods:
  
    + Classification
    + Regression
  * Descriptive methods:
  
    + Clustering
    + Association rules
  
  Since I want to predict the user availability (output) based on location, activity, battery level (input for the training model), I think it's obvious that I would choose "Predictive methods", but now I can't seem to choose between classification and regression. From what I understand this far, classification can solve my problem, because the output is "available" or "not available".
  
  *Can classification provide me with the probability (or likelihood) of the user being available or not available?*
  
  As in the output wouldn't just be 0 (not available) or 1 (for available), but it's be something like:
  
  * $80\%$ available
  * $20\%$ not available
  
  *Can this problem also be solved using regression?*
  
  I get that regression is used for continuous output (not just 0 or 1 outputs), but can't the output be the continuous value of the user availability (like the output being $80$ meaning user is $80\%$ available, implicitly the user is $20\%$ unavailable).
  
  **Tags:** machine-learning, ai-design, classification, prediction, regression
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2017-04-03. Score: 6
  
  1. Yes. For instance, the popular softmax regression gives you probability distribution for each class.
  2. Yes. Softmax is a regression over a set of discrete classes.
  
  We can use regression for classification, the most common strategy is to grab the most likely class for the prediction.
  
  
  ---
  
  ### Answer by username_2 on 2017-05-05. Score: 1
  
  Yes you can user either classification or regression according to your output requirement,
  
  If you want labeled output, like either available or not available then classification should be used.
  
  If you want the output in the form of % of availability then regression should be used.
  
  > **Comments:**
  > **username_3**: Can you back this up with sources from somewhere?  
  
  ---
  
  ### Answer by username_4 on 2017-04-23. Score: -1
  
  You can use naive bayes classification and calculate posterior probabilities using prior beliefs or logistic regression can be used with sigmoid function.
  
  
  ---
  
  