shogun-toolbox / shogun

Shōgun
http://shogun-toolbox.org
BSD 3-Clause "New" or "Revised" License
3.03k stars 1.04k forks source link

remove file dependencies in unit tests #3800

Open vigsterkr opened 7 years ago

vigsterkr commented 7 years ago

unit tests should not depend on external resources, like files from data.

these are the tests that depends on files in data directory:


    274 - libshogun-classifier_multiclass_ecoc (OTHER_FAULT)
    275 - libshogun-classifier_multiclass_ecoc_discriminant (OTHER_FAULT)
    276 - libshogun-classifier_multiclass_ecoc_random (OTHER_FAULT)
    277 - libshogun-classifier_multiclass_prob_heuristics (OTHER_FAULT)
    279 - libshogun-classifier_multiclasslinearmachine (OTHER_FAULT)
    300 - libshogun-evaluation_cross_validation_multiclass (OTHER_FAULT)
    301 - libshogun-evaluation_cross_validation_multiclass_mkl (OTHER_FAULT)
    310 - libshogun-io_linereader (OTHER_FAULT)
    321 - libshogun-library_hdf5 (OTHER_FAULT)
    361 - libshogun-streaming_onlineliblinear_dense (OTHER_FAULT)
    362 - libshogun-streaming_onlineliblinear_sparse (OTHER_FAULT)
    363 - libshogun-streaming_stringfeatures (OTHER_FAULT)
    364 - libshogun-streaming_vwfeatures (OTHER_FAULT)```
vigsterkr commented 7 years ago

@MikeLing this is a pretty simple task, mostly it requires you to switch a data file to generated features....

MaxGreil commented 5 years ago

@vigsterkr is this issue still open?

karlnapf commented 5 years ago

yes