Shivaram Venkataraman
|
496c7548bb
|
Change test to use fewer iterations
|
2013-07-05 11:13:46 -07:00 |
|
Matei Zaharia
|
52f491125e
|
Implementation of k-means and k-means||
|
2013-07-05 11:13:46 -07:00 |
|
Matei Zaharia
|
39684eafe3
|
Formatting
|
2013-07-05 11:13:46 -07:00 |
|
Matei Zaharia
|
43dae967d7
|
Renamed "als" package to "recommendation"
|
2013-07-05 11:13:46 -07:00 |
|
Matei Zaharia
|
d3ce898b8e
|
Scaffolding and model for K-means
|
2013-07-05 11:13:46 -07:00 |
|
Matei Zaharia
|
3c046a6eca
|
Some small fixes to ALS.
|
2013-07-05 11:13:46 -07:00 |
|
Matei Zaharia
|
6f0ebb2db2
|
Remove unused import
|
2013-07-05 11:13:46 -07:00 |
|
Matei Zaharia
|
d903b3887f
|
Initial implementation of Alternating Least Squares.
Includes unit tests and sample data to run on.
|
2013-07-05 11:13:46 -07:00 |
|
Matei Zaharia
|
05be233ce2
|
Removed dependency on Apache Commons Math
|
2013-07-05 11:13:46 -07:00 |
|
Shivaram Venkataraman
|
39ed41652b
|
Move to regression, util and gradient packages
|
2013-07-05 11:13:46 -07:00 |
|
Shivaram Venkataraman
|
43b398db6a
|
Fix logistic regression to not center data.
Also add a feature to get the intercept correct and test these
using a small unit test.
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
6dd3a816c8
|
Use a private constructor instead of private vars
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
76acc9fe9d
|
Make regression arguments private and add method to predict one point
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
3a6924cb8f
|
Clean up some comments.
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
6aadaf4d71
|
Move normalization to MLUtils and remove Regression trait.
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
2d0e64900e
|
Convert regression classes to builder pattern.
Remove extraneous methods and classes
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
ed32ec2b3b
|
Update test based on interface changes
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
fd137bd7c6
|
Address Reynold's comments. Also use a builder pattern to construct the regression classes.
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
48770419bd
|
Add random data used for LR testing.
Verified that results match with glm in R
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
282c8ed788
|
Add LogisticRegression using StochasticGradientDescent.
Also refactor RidgeRegression and LogisticRegression to re-use code
and update the test as well
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
b9d9b6f981
|
Add a unit test for Ridge Regression
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
4dc13bf5be
|
Revert back to closed form CV error
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
c8169c0a33
|
Add LPSA data set.
Data from
http://www-stat.stanford.edu/~tibs/ElemStatLearn/datasets/prostate.data
|
2013-07-05 11:13:45 -07:00 |
|
Shivaram Venkataraman
|
c070decb8e
|
Add methods to normalize the data before training
Also update model after training based appropriately.
|
2013-07-05 11:13:45 -07:00 |
|
Reynold Xin
|
6a9a9a364c
|
Minor clean up of the RidgeRegression code. I am not even sure why I did
this :s.
|
2013-07-05 11:13:45 -07:00 |
|
Matei Zaharia
|
729e463f64
|
Import RidgeRegression example
Conflicts:
run
|
2013-07-05 11:13:41 -07:00 |
|