- changed status to resolved
[Random samples from regression dataset algo] not working correctly
Issue #1405
resolved
In a dataset with 2559 samples, only 6 samples are used to draw from:
RandomSamplesFromRegressionDatasetAlgorithm (Dataset creation -> Random samples from regression dataset), DatasetCreation, RandomSamplesFromRegressionDataset
parameters = {'dataset': 'D:\\source\\QGISPlugIns\\enmap-box\\tests\\testdata\\regressor_multitarget.pkl', 'bins': 1, 'n': 3, 'outputDatasetRandomSample': 'D:\\source\\QGISPlugIns\\enmap-box\\test-outputs\\sample.pkl', 'outputDatasetRandomSampleComplement': 'D:\\source\\QGISPlugIns\\enmap-box\\test-outputs\\sample2.pkl'}
Processing(0): Load dataset: X=array[2559, 177] y=array[2559, 6] targets=['roof', 'pavement', 'low vegetation', 'tree', 'soil', 'water']
Processing(0): Target: roof
Processing(0): Draw 3 of 6 samples [Bin 1]
Processing(0): Target: pavement
Processing(0): Draw 3 of 6 samples [Bin 1]
Processing(0): Target: low vegetation
Processing(0): Draw 3 of 6 samples [Bin 1]
Processing(0): Target: tree
Processing(0): Draw 3 of 6 samples [Bin 1]
Processing(0): Target: soil
Processing(0): Draw 3 of 6 samples [Bin 1]
Processing(0): Target: water
Processing(0): Draw 3 of 6 samples [Bin 1]
Comments (1)
-
- Log in to comment
resolves
#1405→ <<cset dc064477d128>>