Skip to content

Commit

Permalink
use our GMM.
Browse files Browse the repository at this point in the history
  • Loading branch information
rainwoodman committed Sep 28, 2016
1 parent 5191a30 commit 7a79412
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bananas/bananas.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def compile(self, features, nc=1, nb=20, cov="full", ):

data = numpy.concatenate(data, axis=0)

from sklearn import mixture
from . import gmm as mixture

# XXX: Do not use DPGMM because the normalization is buggy
# https://github.com/scikit-learn/scikit-learn/issues/7371
Expand Down
10 changes: 5 additions & 5 deletions bananas/gmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
from scipy import linalg
from time import time

from ..base import BaseEstimator
from ..utils import check_random_state, check_array
from ..utils.extmath import logsumexp
from ..utils.validation import check_is_fitted
from .. import cluster
from sklearn.base import BaseEstimator
from sklearn.utils import check_random_state, check_array
from sklearn.utils.extmath import logsumexp
from sklearn.utils.validation import check_is_fitted
from sklearn import cluster

from sklearn.externals.six.moves import zip

Expand Down

0 comments on commit 7a79412

Please sign in to comment.