#NEWLINE# def question_weights( self , q ) : #NEWLINE# #INDENT# '\n        q is a list of matrices of length 11 (one for each question), like the output given by targets() and answer_probabilities()\n        ' #NEWLINE# ( q1 , q2 , q3 , q4 , q5 , q6 , q7 , q8 , q9 , q10 , q11 ) = q #NEWLINE# w1 = 1 #NEWLINE# w2 = q1 [ : , 1 ] #NEWLINE# w3 = ( q2 [ : , 1 ] * w2 ) #NEWLINE# w4 = w3 #NEWLINE# w7 = q1 [ : , 0 ] #NEWLINE# w9 = ( q2 [ : , 0 ] * w2 ) #NEWLINE# w10 = ( q4 [ : , 0 ] * w4 ) #NEWLINE# w11 = w10 #NEWLINE# w5 = w4 #NEWLINE# w6 = 1 #NEWLINE# w8 = ( q6 [ : , 0 ] * w6 ) #NEWLINE# return ( w1 , w2 , w3 , w4 , w5 , w6 , w7 , w8 , w9 , w10 , w11 )