<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _initialize_parameters(state_machine, n_features):
 """ Helper to create initial parameter vector with the correct shape. """

        return np.zeros((state_machine.n_states 
                         + state_machine.n_transitions,
                         n_features))