Closed rmfajri closed 6 years ago
Can you post a snippet of your code which produces this error? Committee has no attribute score
because it is a method.
I just copy and paste the code from https://github.com/cosmic-cortex/modAL/blob/master/examples/query_by_committee.py. The plotting works fine but resulted an error at the end. This code https://github.com/cosmic-cortex/modAL/blob/master/examples/ranked_batch_mode.py resulted ImportError: No module named 'modAL.batch'. Others such as pool-based-sampling.py works fine
The modAL.batch
module is not yet included in the package available from PyPI (which is modAL 0.3.0), for that to work, you need to install directly from github using
pip install git+https://github.com/cosmic-cortex/modAL.git
Same thing with the Committee.score
, it is not yet included, but I'll make a new release in the following days and update the package at PyPI.
Thank you..
AttributeError : 'Committe' object has no attribute 'score' in Query by comitte example.