adding support for class_weight in fit method
adding warning if passing class_weight through fit
MAINT get rid of undefined variable warning in Liblinear
Allow list of strings for type_filter in all_estimators.
MAINT trailing whitespace in linear.cpp

Was: 3e8fc6880c691786d1871653fd4ec3ee121e6b08

Fix some indention

Conflicts:
	predict.c
	sklearn/svm/src/liblinear/linear.cpp
	train.c
Let nr_fold = l when nr_fold > l in CV

Signed-off-by: Po-Wei Wang <xflash96@gmail.com>
MAINT liblinear class label logic (disabled)

Pulled to make pulling in patches from upstream easier, but disabled with
an #if 0 block because I didn't know how this would interact with our own
modifications.  --LB

Was: a932c3fe99fe03a69197dcd0c89df1e6fa86cc24

Modify function group_classes in linear.cpp to ensure label[0] = 1 if class labels are +1 and -1

Conflicts:
	sklearn/svm/src/liblinear/linear.cpp
COSMIT tabs/spaces in Liblinear

Includes upstream fix for bug that we had already fixed in
22e1f69c2b95c30f70e6c1e0ea1a6830b8f13091.

Was: f944f28b1edc38345de5fd65c49ddde6f82496c4

Fix the mixing tab and space problem in tron.cpp.

Conflicts:
	sklearn/svm/src/liblinear/tron.cpp

Was: 1601eb1e25e2dec7330fa6945922ea63b6310f3a

fix a bug: use "delete[] C" instead of "delete C" in train_one

Conflicts:
	sklearn/svm/src/liblinear/linear.cpp
MAINT variable initialization in Liblinear

Was: 69462e18795e91d107327df83efab4ab60000869

initialize Gnorm1_init with -1

Conflicts:
	sklearn/svm/src/liblinear/linear.cpp
MAINT some cleanup in Liblinear

Also adds some new code, which I disabled because we don't need it. --LB

add two functions get_decfun_coef and get_decfun_bias

Conflicts:
	README
	matlab/predict.c
	predict.c
	python/README
	python/liblinear.py
	python/liblinearutil.py
	sklearn/svm/src/liblinear/linear.cpp
	sklearn/svm/src/liblinear/linear.h
MAINT use size_t in Liblinear

Was: d2f18015169e9981f82fb520af9532e1dbccecf3

replace long int with size_t in linear.cpp and train.c

Conflicts:
	sklearn/svm/src/liblinear/linear.cpp
	train.c
MAINT changes to (disabled) Liblinear code, from upstream

Was: f9c13dff5ad1b32e4a67eaed77c13365a86c68d7

In get_decfun_coef and get_decfun_bias, a zero value is returned in all invalid
cases. We decide not to return NaN because we are not sure if it can be
properly assigned in all platforms. (For example, ``double nan = 0.0/0.0;''
won't compile in Visual Studio.)

Conflicts:
	README
	sklearn/svm/src/liblinear/linear.cpp
Merge pull request #3934 from amueller/common_test_slight_cleanup

MRG Allow list of strings for type_filter in all_estimators.
Merge branch 'update-liblinear'

Synchronized with upstream by cherry-pick, up to their commit
2c69167789dfc23e8a8eeedae931166769a734f5.
changing warn message, making it Deprecation Warning, and removing negative index for py2.7
ENH: Birch, first commit
add example for birch + make it more pythonic
Made the following changes
1. Improved documentation.
2. Added sanity test.
3. Moved example to a separate folder
4. Optimised compuation of centroids.
5. Added underscore to public attributes.
ENH: Made the following changes
1. Added partial_fit and predict methods
2. Inherit from ClusterMixin from fit_predict methods
3. Removed inplace modification of X and self.copy
4. Added final global clustering and n_clusters param.
OPT: Set check_X_y=False internally in birch