Skip to content

Commit

Permalink
Merge pull request #762 from gsomix/fix_examples
Browse files Browse the repository at this point in the history
Fixed order of imports in hmsvm examples
  • Loading branch information
lisitsyn committed Aug 30, 2012
2 parents 41d2350 + 148781d commit d321e36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -3,12 +3,12 @@
import numpy
import scipy

from scipy import io
data_dict = scipy.io.loadmat('../data/hmsvm_data_large_integer.mat')

parameter_list=[[data_dict]]

def structure_hmsvm_bmrm (m_data_dict=data_dict):
from scipy import io
from shogun.Features import RealMatrixFeatures
from shogun.Loss import HingeLoss
from shogun.Structure import HMSVMLabels, HMSVMModel, Sequence, TwoStateModel, SMT_TWO_STATE
Expand Down
Expand Up @@ -3,12 +3,12 @@
import numpy
import scipy

from scipy import io
data_dict = scipy.io.loadmat('../data/hmsvm_data_large_integer.mat')

parameter_list=[[data_dict]]

def structure_hmsvm_mosek (m_data_dict=data_dict):
from scipy import io
from shogun.Features import RealMatrixFeatures
from shogun.Loss import HingeLoss
from shogun.Structure import HMSVMLabels, HMSVMModel, Sequence, TwoStateModel, SMT_TWO_STATE
Expand Down

0 comments on commit d321e36

Please sign in to comment.