()
| 197 | |
| 198 | |
| 199 | def test_dataset(): |
| 200 | train = load_from_file(os.path.join(os.path.dirname(os.path.realpath(__file__)), |
| 201 | '../../examples/binary_classification/binary.train'), None) |
| 202 | test = load_from_mat(os.path.join(os.path.dirname(os.path.realpath(__file__)), |
| 203 | '../../examples/binary_classification/binary.test'), train) |
| 204 | free_dataset(test) |
| 205 | test = load_from_csr(os.path.join(os.path.dirname(os.path.realpath(__file__)), |
| 206 | '../../examples/binary_classification/binary.test'), train) |
| 207 | free_dataset(test) |
| 208 | test = load_from_csc(os.path.join(os.path.dirname(os.path.realpath(__file__)), |
| 209 | '../../examples/binary_classification/binary.test'), train) |
| 210 | free_dataset(test) |
| 211 | save_to_binary(train, 'train.binary.bin') |
| 212 | free_dataset(train) |
| 213 | train = load_from_file('train.binary.bin', None) |
| 214 | free_dataset(train) |
| 215 | |
| 216 | |
| 217 | def test_booster(): |
nothing calls this directly
no test coverage detected