Regression Usman Roshan.

Slides:



Advertisements
Similar presentations
Modeling of Data. Basic Bayes theorem Bayes theorem relates the conditional probabilities of two events A, and B: A might be a hypothesis and B might.
Advertisements

Regularized risk minimization
INTRODUCTION TO MACHINE LEARNING Bayesian Estimation.
Statistical Techniques I EXST7005 Simple Linear Regression.
Prediction with Regression
Pattern Recognition and Machine Learning
R OBERTO B ATTITI, M AURO B RUNATO. The LION Way: Machine Learning plus Intelligent Optimization. LIONlab, University of Trento, Italy, Feb 2014.
Supervised Learning Recap
CMPUT 466/551 Principal Source: CMU
The General Linear Model. The Simple Linear Model Linear Regression.
Chapter 4: Linear Models for Classification
Regression Usman Roshan CS 675 Machine Learning. Regression Same problem as classification except that the target variable y i is continuous. Popular.
Visual Recognition Tutorial
Classification and risk prediction
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
Genome-wide association studies Usman Roshan. Recap Single nucleotide polymorphism Genome wide association studies –Relative risk, odds risk (or odds.
CHAPTER 4: Parametric Methods. Lecture Notes for E Alpaydın 2004 Introduction to Machine Learning © The MIT Press (V1.1) 2 Parametric Estimation X = {
CSCI 347 / CS 4206: Data Mining Module 04: Algorithms Topic 06: Regression.
Review of Lecture Two Linear Regression Normal Equation
PATTERN RECOGNITION AND MACHINE LEARNING
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
Inferences in Regression and Correlation Analysis Ayona Chatterjee Spring 2008 Math 4803/5803.
Data Mining Practical Machine Learning Tools and Techniques Chapter 4: Algorithms: The Basic Methods Section 4.6: Linear Models Rodney Nielsen Many of.
CS 782 – Machine Learning Lecture 4 Linear Models for Classification  Probabilistic generative models  Probabilistic discriminative models.
CS Statistical Machine learning Lecture 18 Yuan (Alan) Qi Purdue CS Oct
Regression Usman Roshan CS 698 Machine Learning. Regression Same problem as classification except that the target variable y i is continuous. Popular.
Sparse Kernel Methods 1 Sparse Kernel Methods for Classification and Regression October 17, 2007 Kyungchul Park SKKU.
Linear Models for Classification
ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
Over-fitting and Regularization Chapter 4 textbook Lectures 11 and 12 on amlbook.com.
Regression Usman Roshan CS 675 Machine Learning. Regression Same problem as classification except that the target variable y i is continuous. Popular.
Machine Learning 5. Parametric Methods.
Regression. We have talked about regression problems before, as the problem of estimating the mapping f(x) between an independent variable x and a dependent.
Logistic Regression Saed Sayad 1www.ismartsoft.com.
Lecture 23: Quantitative Traits III Date: 11/12/02  Single locus backcross regression  Single locus backcross likelihood  F2 – regression, likelihood,
Machine Learning Usman Roshan Dept. of Computer Science NJIT.
ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
STA302/1001 week 11 Regression Models - Introduction In regression models, two types of variables that are studied:  A dependent variable, Y, also called.
I. Statistical Methods for Genome-Enabled Prediction of Complex Traits OUTLINE THE CHALLENGES OF PREDICTING COMPLEX TRAITS ORDINARY LEAST SQUARES (OLS)
Data Modeling Patrice Koehl Department of Biological Sciences
Applied statistics Usman Roshan.
Regression Usman Roshan.
Support vector machines
Chapter 7. Classification and Prediction
Usman Roshan CS 675 Machine Learning
Deep Feedforward Networks
Probability Theory and Parameter Estimation I
Empirical risk minimization
Bounding the error of misclassification
Ch3: Model Building through Regression
CSE 4705 Artificial Intelligence
Classification of unlabeled data:
Regularized risk minimization
Evgeniya Anatolievna Kolomak, Professor
Probabilistic Models for Linear Regression
Roberto Battiti, Mauro Brunato
Ying shen Sse, tongji university Sep. 2016
Statistical Assumptions for SLR
J.-F. Pâris University of Houston
10701 / Machine Learning Today: - Cross validation,
OVERVIEW OF LINEAR MODELS
What are BLUP? and why they are useful?
Biointelligence Laboratory, Seoul National University
OVERVIEW OF LINEAR MODELS
Support vector machines
Parametric Methods Berlin Chen, 2005 References:
Empirical risk minimization
Ch 3. Linear Models for Regression (2/2) Pattern Recognition and Machine Learning, C. M. Bishop, Previously summarized by Yung-Kyun Noh Updated.
Machine Learning – a Probabilistic Perspective
Support Vector Machines 2
Presentation transcript:

Regression Usman Roshan

Regression Same problem as classification except that the target variable yi is continuous. Popular solutions Linear regression (perceptron) Support vector regression Logistic regression (for regression)

Linear regression Suppose target values are generated by a function yi = f(xi) + ei We will estimate f(xi) by g(xi,θ). Suppose each ei is being generated by a Gaussian distribution with 0 mean and σ2 variance (same variance for all ei). This implies that the probability of yi given the input xi and variables θ (denoted as p(yi|xi,θ) is normally distributed with mean g(xi,θ) and variance σ2.

Linear regression Apply maximum likelihood to estimate g(x, θ) Assume each (xi,yi) i.i.d. Then probability of data given model (likelihood) is P(X|θ) = p(x1,y1)p(x2,y2)…p(xn,yn) Each p(xi,yi)=p(yi|xi)p(xi) p(yi|xi) is normally distributed with mean g(xi,θ) and variance σ2

Linear regression Maximizing the log likelihood (like for classification) gives us least squares (linear regression) From Alpaydin 2010

Ridge regression Regularized linear regression also known as ridge regression Minimize: Has been used in statistics for a long time to address singularity problems in linear regression. Linear regression (or least squares) solution is also given (XTX)-1XTy Ridge regression is given by (XTX+λI)-1XTy

Logistic regression Similar to linear regression derivation Here we predict with the sigmoid function instead of a linear function We still minimize sum of squares between predicted and actual value Output yi is constrained in the range [0,1]

Support vector regression Makes no assumptions about probability distribution of the data and output (like support vector machine). Change the loss function in the support vector machine problem to the e-sensitive loss to obtain support vector regression

Support vector regression Solved by applying Lagrange multipliers like in SVM Solution w is given by a linear combination of support vectors (like in SVM) The solution w can also be used for ranking features. From a risk minimization perspective the loss would be From a regularized perspective it is

Applications Prediction of continuous phenotypes in mice from genotype (Predicting unobserved phen…) Data are vectors xi where each feature takes on values 0, 1, and 2 to denote number of alleles of a particular single nucleotide polymorphism (SNP) Data has about 1500 samples and 12,000 SNPs Output yi is a phenotype value. For example coat color (represented by integers), chemical levels in blood

Mouse phenotype prediction from genotype Rank SNPs by Wald test First perform linear regression y = wx + w0 Calculate p-value on w using t-test t-test: (w-wnull)/stderr(w)) wnull = 0 T-test: w/stderr(w) stderr(w) given by Σi(yi-wxi-w0)2 /(xi-mean(xi)) Rank SNPs by p-values OR by Σi(yi-wxi-w0) Rank SNPs by Pearson correlation coefficient Rank SNPs by support vector regression (w vector in SVR) Rank SNPs by ridge regression (w vector) Run SVR and ridge regression on top k ranked SNP under cross-validation.

CD8 phenotype in mice From Al-jouie and Roshan, ICMLA workshop, 2015

MCH phenotype in mice

Fly startle response time prediction from genotype Same experimental study as previously Using whole genome sequence data to predict quantitative trait phenotypes in Drosophila Melanogaster Data has 155 samples and 2 million SNPs (features)

Fly startle response time

Rice phenotype prediction from genotype Same experimental study as previously Improving the Accuracy of Whole Genome Prediction for Complex Traits Using the Results of Genome Wide Association Studies Data has 413 samples and 36901 SNPs (features) Basic unbiased linear prediction (BLUP) method improved by prior SNP knowledge (given in genome-wide association studies)

Different rice phenotypes

Regression with trees

Regression with trees

Evaluating a regression