cf3abcef7140efa9f195b11e63543e08b2c3580f,Orange/widgets/evaluate/owtestlearners.py,OWTestLearners,set_test_data,#OWTestLearners#Any#,290
Before Change
if data.approx_len() < AUTO_DL_LIMIT:
data = Table(data)
else:
self.information(1, "Test data has been sampled")
data_sample = data.sample_time(1, no_cache=True)
data_sample.download_data(AUTO_DL_LIMIT, partial=True)
data = Table(data_sample)
After Change
Set the input separate testing dataset.
self.Information.test_data_sampled.clear()
if data and not data.domain.class_var:
self.Error.class_required()
data = None
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: biolab/orange3
Commit Name: cf3abcef7140efa9f195b11e63543e08b2c3580f
Time: 2016-07-29
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owtestlearners.py
Class Name: OWTestLearners
Method Name: set_test_data
Project Name: biolab/orange3
Commit Name: cf3abcef7140efa9f195b11e63543e08b2c3580f
Time: 2016-07-29
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owtestlearners.py
Class Name: OWTestLearners
Method Name: set_train_data
Project Name: biolab/orange3
Commit Name: cf3abcef7140efa9f195b11e63543e08b2c3580f
Time: 2016-07-29
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/visualize/owheatmap.py
Class Name: OWHeatMap
Method Name: set_dataset