code: def _initialize_parameters(state_machine, n_features):
          
          return np.zeros((state_machine.n_states 
                           + state_machine.n_transitions,
                           n_features))
docs: Helper to create initial parameter vector with the correct shape.