modAL
modAL copied to clipboard
How to use the committee's vote entropy and consensus entripy
hey,I'm here to thank you what a great modAL you offered to us,but I'd like to use the vote entropy and consensus entropy to improve the prediction.Since I'm a rookie not so good at writing code.so could you please offer me an example to me to learn how it worked.I'm very appreciate!
Hi!
Take a look at this example: https://github.com/modAL-python/modAL/blob/dev/docs/source/content/examples/query_by_committee.ipynb
The default sampling strategy for Committee is vote entropy. To change this to consensus entropy, all you need to do is that in [4], you add
from modAL.disagreement import consensus_entropy_sampling
and replace the Committee initialization with this:
committee = Committee(learner_list=learner_list, query_strategy=consensus_entropy_sampling)
yeah,thanks a lot bro.I am so honored you replayed me.and that help me a lot.god bless you.stay safe!
------------------ 原始邮件 ------------------ 发件人: "Tivadar Danka"; 发送时间: 2020年3月23日(星期一) 晚上9:32 收件人: "modAL-python/modAL"; 抄送: "Lucas.hood"[email protected];"Author"; 主题: Re: [modAL-python/modAL] How to use the committee's vote entropy and consensus entripy (#76)
Hi!
Take a look at this example: https://github.com/modAL-python/modAL/blob/dev/docs/source/content/examples/query_by_committee.ipynb
The default sampling strategy for Committee is vote entropy. To change this to consensus entropy, all you need to do is that in [4], you add
from modAL.disagreement import consensus_entropy_sampling
and replace the Committee initialization with this:
committee = Committee(learner_list=learner_list, query_strategy=consensus_entropy_sampling)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.