Let's discuss here which functions the package should provide.
Based on the paper, I think the following are a must-have:
Another optional function that I think of, is something like sledge_matrix that returns the values of S, L, E, and D for each cluster (that is, before aggregation with the harmonic mean.) However, this functionality can be incorporated in sledge_score with some trigger.
Let's discuss here which functions the package should provide.
Based on the paper, I think the following are a must-have:
sledge_descriptors(X, labels, minimum_support=0): given a data frameX, where each column corresponds to a pattern and each valuex_ijthe presence/absence of the patternjin the samplei, and the clustering resultslabels, this function returns a list of sets, each of them containing the 1-itemsets that describe a cluster (after particularization.)sledge_score(X, labels, minimum_support=0): same inputs, returns a list containing the SLEDge score for each cluster.Another optional function that I think of, is something like
sledge_matrixthat returns the values of S, L, E, and D for each cluster (that is, before aggregation with the harmonic mean.) However, this functionality can be incorporated insledge_scorewith some trigger.