# Path: shorttext/utils/classification_exceptions.py
# class UnequalArrayLengthsException(Exception):
#     def __init__(self, arr1, arr2):
#         self.message = 'Unequal lengths: '+str(len(arr1))+" and "+str(len(arr2))


from keras.layers import Dense, Activation
from keras.models import Sequential
from keras.regularizers import l2
from shorttext.utils.classification_exceptions import UnequalArrayLengthsException




def DenseWordEmbed(nb_labels,
                   dense_nb_nodes=[],
                   dense_actfcn=[],
                   vecsize=300,
                   reg_coef=0.1,
                   final_activiation='softmax',

# Path: shorttext/utils/classification_exceptions.py
# class UnequalArrayLengthsException(Exception):
#     def __init__(self, arr1, arr2):
#         self.message = 'Unequal lengths: '+str(len(arr1))+" and "+str(len(arr2))


# Path: shorttext/classifiers/embed/sumvec/frameworks.py
from keras.layers import Dense, Activation
from keras.models import Sequential
from keras.regularizers import l2
from shorttext.utils.classification_exceptions import UnequalArrayLengthsException





def DenseWordEmbed(nb_labels,
                   dense_nb_nodes=[],
                   dense_actfcn=[],
                   vecsize=300,
                   reg_coef=0.1,
                   final_activiation='softmax',

                   optimizer='adam'):