Factor

class pyoptex.doe.fixed_structure.utils.Factor(*args, **kwargs)[source]
__init__()[source]

Methods

Factor.count(value, /)

Return number of occurrences of value.

Factor.denormalize(data)

Denormalizes the data coming from this factor.

Factor.index(value[, start, stop])

Return first index of value.

Factor.normalize(data)

Normalizes the data coming from this factor.

Factor.validate()

Validation of the settings.

Attributes

Factor.coords

Alias for field number 6

Factor.coords_

Extracts the encoded coordinates for the factor.

Factor.is_categorical

Check wether the factor is catgorical.

Factor.is_continuous

Checks whether the factor is continuous.

Factor.is_mixture

Checks wether the factor is a mixture.

Factor.levels

Alias for field number 5

Factor.max

Alias for field number 4

Factor.mean

The mean of the factor for normalization of a continuous factor.

Factor.min

Alias for field number 3

Factor.name

Alias for field number 0

Factor.re

Alias for field number 1

Factor.scale

The scale of the factor for normalization of a continuous factor.

Factor.type

Alias for field number 2