答案 0 :(得分:0)
与github page of the library一致,对于将要使用的特定算法实例,参数'ccore_flag'应为True:
# read input data
input_data = read_sample(FCPS_SAMPLES.SAMPLE_LSUN);
# use ccore_flag parameter to use ccore.so (or ccore.dll) in case of CURE algorithm.
cure_instance = cure(input_data, 3, ccore_flag= True);
# use ccore_flag for DBSCAN algorithm (the last argument).
dbscan_instance = dbscan(input_data, 0.5, 3, True);