Qingying Chen
Qingying Chen
The feature you requested is not available now in this repo, but you may try the following code to achieve your goal. ```Python def _get_support(self, projected): return len(projected) ```
Indeed, we cannot get a correct answer only by modifying `len(set([pdfs.gid for pdfs in projected]))` to `len(projected)` directly, since there are duplicate counts (pls refer to line 303 - 312)....
Please refer to Section 3.1 of http://glaros.dtc.umn.edu/gkhome/fetch/papers/fsgICDM01.pdf I don't have the code or tool to synthesize graph data now, but it is not difficult to write code to do that.
If no own `dist` function is provided, everything is fine. The API will break if `dist` function is provided and is not squared Euclidean distance, because the implementation uses this...