Model Representation
Naming Convention:- m = number of training examples
- x = input variables / features
- y = output variable / target variable
- (x, y) = one training example
- (x(i), y(i)) = ith training example
Start with a training set, feed that into our Learning Algorithm. Its the job of the learning algorithm to output a function h called hypothesis which will take x as input. For example:
- Size of house (x) => h => Estimated price
There are many ways to represent h, for example: h(x) = a + bx. This is called Linear regression with one variable. Also known as Univariate linear regression.
Mnemonic: My train will xin your ex-wife (xy) at xiyi
- https://www.coursera.org/learn/machine-learning/supplement/cRa2m/model-representation
Comments
Post a Comment