BIE
Import BIE
To import the BIE model, use:
>>> from TINTOlib.bie import BIE
>>> model = BIE()
Hyperparameters & Configuration
When creating the BIE
class, some parameters can be modified. The parameters are:
Parameters |
Description |
Default value |
Valid values |
---|---|---|---|
|
The type of problem, this will define how the images are grouped. |
‘supervised’ |
[‘supervised’, ‘unsupervised’, ‘regression’] |
|
Number of bits used to represent each feature. |
32 |
[32, 64] |
|
Multiplication factor that determines the size of the saved image relative to the original size. Values greater than 1 will increase the size of the saved image proportionally. |
1 |
Positive integer |
|
Show in terminal the execution. |
False |
[True, False] |
Code example:
>>> model = BIE(problem='regression', precision=64, zoom=2)
All the parameters that aren’t expecifically setted will have their default values.
Functions
Function |
Description |
Output |
---|---|---|
|
Allows to save the defined parameters (). |
.pkl file with the configuration |
|
Load BIE configuration previously saved with
|
|
|
Generate one image per instance and group by class in different folder
|
Folders with synthetic images |
Citation
Paper:
Code Repository: