(data_path, n_queries)
| 147 | @timeit() |
| 148 | # acton requires a txt format for data |
| 149 | def acton_QBC(data_path, n_queries): |
| 150 | # acton has no SVM support, so the LogisticRegression model is used |
| 151 | acton_main( |
| 152 | data_path=data_path, |
| 153 | feature_cols=['feat01', 'feat02', 'feat03', 'feat04'], |
| 154 | label_col='label', |
| 155 | output_path='out.csv', |
| 156 | n_epochs=n_queries, |
| 157 | initial_count=3, |
| 158 | recommender='QBCRecommender', |
| 159 | predictor='LogisticRegressionCommittee') |
| 160 | |
| 161 | |
| 162 | @timeit() |
no outgoing calls
no test coverage detected
searching dependent graphs…