izxi / Learning

9 stars 3 forks source link

Which one can be used for both classification and regression? #19

Open izxi opened 6 years ago

izxi commented 6 years ago

In the machining learning methods listed below, which one can be used for both classification and regression?

Select one:

izxi commented 6 years ago

Decision Trees (DTs) are a non-parametric supervised learning method used for classification and regression. The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features.

izxi commented 6 years ago

Support vector machines (SVMs) are a set of supervised learning methods used for classification, regression and outliers detection.

izxi commented 6 years ago

A random forest is a meta estimator that fits a number of decision tree classifiers on various sub-samples of the dataset and use averaging to improve the predictive accuracy and control over-fitting. The sub-sample size is always the same as the original input sample size but the samples are drawn with replacement if bootstrap=True (default).

rysbekova commented 6 years ago

D https://machinelearningmastery.com/classification-versus-regression-in-machine-learning/

johnnieng commented 5 years ago

C. Random Forests *

om-ganesh commented 3 years ago

@johnnieng You have asterik(*) in some of your solution ... What does that mean? Does that mean you are confident of the answer or have still some doubts?

johnnieng commented 3 years ago

@johnnieng You have asterik(*) in some of your solution ... What does that mean? Does that mean you are confident of the answer or have still some doubts?

Confident

Random forests or random decision forests are an ensemble learning method for classification, regression and other tasks that operate by constructing a multitude of decision trees at training time and outputting the class that is the mode of the classes (classification) or mean prediction (regression) of the individual trees.

LSD20-crypto commented 3 years ago

Support vector machine SVM

iaminebriki commented 2 years ago

D. Decision trees (most probable answer) Classification vs Regression: Some algorithms can be used for both classification and regression with small modifications, such as decision trees and artificial neural networks. Some algorithms cannot, or cannot easily be used for both problem types, such as linear regression for regression predictive modeling and logistic regression for classification predictive modeling. SVMs although can be used for both, they are mostly used for classification