make_domain¶
- pqp.data.make_domain(domain_type, values=None)¶
Generates a domain object from a string and optional values
- Options:
"discrete"
: values must be specified"continuous"
: min and max ofvalues
used to specify domain"binary"
: values are ignored"integer"
: min and max ofvalues
used to specify domain"infer"
: attempt to guess
- Parameters:
domain_type (
str
) – one of"discrete"
,"continuous"
,"binary"
,"integer"
, or"infer"
values (
list
) – the values of the domain