decile-team / submodlib

Summarize Massive Datasets using Submodular Optimization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement own submodular function

ege-kaya opened this issue · comments

I would like to implement my own submodular function classes, inheriting the SetFunction class. However, I couldn't figure out how to do it. It's not easy to see how to do this, or whether it is possible to do this, because much of the implementation is abstracted away by the calls to cpp_obj. Is there a way to achieve what I want?