- def createParameterVector(self, trueWeightDon, trueWeightAcc, trueWeightIntron, trueWeightMatch, qualityMatrix):
- currentW = zeros((self.numFeatures,1))
-
- donS = self.numDonSuppPoints
- accS = self.numAccSuppPoints
- lenS = self.numLengthSuppPoints
- matS = self.sizeMMatrix
- qualS = self.numQualSuppPoints
-
- currentW[0:donS,0] = trueWeightDon[:,0]
- currentW[donS:donS+accS,0] = trueWeightAcc[:,0]
- currentW[donS+accS:donS+accS+lenS,0] = trueWeightIntron[:,0]
- currentW[donS+accS+lenS:donS+accS+lenS+matS,0] = trueWeightMatch[:,0]
- currentW[donS+accS+lenS+matS:donS+accS+lenS+matS+qualS,0] = qualityMatrix[:,0]
-
- return currentW
-
-