- class probnum.linalg.solvers.policies.RandomUnitVectorPolicy(probabilities='uniform', replace=True)¶
Policy returning randomly drawn standard unit vectors.
Draw a standard unit vector \(e_i\) at random and return it. This policy corresponds to selecting columns of the matrix as observations.
str) – Probabilities with which to choose different columns. Either uniform or rownorm.
replace – Whether to sample with or without replacement.
Return an action for a given solver state.