[WIP] Add decision_function for OneVsOneClassifier.

Adding `decision_function` support for the `OneVsOneClassifier`.

This is based off of #1548 and addresses #1523.

##### Todo:

- [ ] Correctly implement the `decision_function` for `OneVsOneClassifier`
- [ ] Correct the tests
- [ ] Incorporate the `decision_function` output in `test_ovo_ties`

@arjoly, @amueller, @mblondel  Pl. review when you find time!



I agree.

On 11/29/2014 05:01 AM, Mathieu Blondel wrote:
>
> In sklearn/multiclass.py:
>
> > +        decision_function method.
> > +
> > +        Parameters
> > +        ----------
> > +        X : array-like, shape = [n_samples, n_features]
> > +
> > +        Returns
> > +        -------
> > +        D : array-like, shape = [n_samples, n_classes]
> > +        """
> > +        if not hasattr(self.estimators_[0], "decision_function"):
> > +            raise AttributeError(
> > +                "Base estimator doesn't have a decision_function method.")
> > +
> > +        return np.array([est.decision_function(X)
> > +                         for est in self.estimators_]).T
>
> |SVC| is inconsistent with the rest of the scikit and should probably 
> be fixed. What do you think @amueller <https://github.com/amueller> ?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/scikit-learn/scikit-learn/pull/3891/files#r21049755>.
>