apricot implements submodular optimization for the purpose of selecting subsets of massive data sets to train machine learning models quickly. See the documentation page: https://apricot-select.readthedocs.io/en/latest/index.html
MIT License
499
stars
48
forks
source link
bidirectional optimization with Graph Cut ValueError #35
Thanks for the amazing package and documentation:
I am facing issue when I try to use bidirectional optimization with graph cut
GraphCutSelection(N_Samples_Per_Class, metric='euclidean', optimizer='bidirectional').fit_transform(..........
ValueError: zero-size array to reduction operation maximum which has no identity
Note that using other optimizers worked just fine
GraphCutSelection(N_Samples_Per_Class, metric='euclidean', optimizer='lazy').fit_transform(..........GraphCutSelection(N_Samples_Per_Class, metric='euclidean', optimizer='two-stage').fit_transform(..........
Thanks for the amazing package and documentation: I am facing issue when I try to use bidirectional optimization with graph cut
GraphCutSelection(N_Samples_Per_Class, metric='euclidean', optimizer='bidirectional').fit_transform(..........
ValueError: zero-size array to reduction operation maximum which has no identityNote that using other optimizers worked just fine
GraphCutSelection(N_Samples_Per_Class, metric='euclidean', optimizer='lazy').fit_transform(..........
GraphCutSelection(N_Samples_Per_Class, metric='euclidean', optimizer='two-stage').fit_transform(..........
Your help is appreciated