def sequenceProb(self, newData):
		if len(newData.shape) == 1:
			return forwardbackward(	self.prior,\
									self.transition_matrix,\
									self.emission_matrix,\
									newData,\
									self.num_states,\
									self.precision)
		elif len(newData.shape) == 2:
			return numpy.array([forwardbackward(self.prior,self.transition_matrix,self.emission_matrix,newSeq,self.num_states,self.precision) for newSeq in newData])
Turn the given IP string into an integer for comparison.
dataset/ETHPy150Open QuantSoftware/QuantSoftwareToolkit/QSTK/qstklearn/hmm.py/HMMLearner.sequenceProb--crossover with--dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/ipaddr.py/_BaseV4._ip_int_from_string