filter

Hyperopts.filter(conditional)[source]

Filters the hyperopts container.

Args:
conditional (callable):

A callable that evaluates to a boolean for a given item.

Returns:
getml.pipeline.Hyperopts:

A container of filtered hyperopts.

Example:
gaussian_hyperopts = getml.project.hyperopts.filter(lamda hyp: "Gaussian" in hyp.type)