You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the cluster-assignment probabilities for each instance, reassign these features to subject instances, and feed data back into polyssifier.
The centroids and assignments fields need to be assigned as part of the fit method (most likely using the predict_proba function), and we need to use the reassign_to_subjects function in the dFNC class to handle the multidimensional output to assign cluster probabilities as subject-level features.
E.g. we get the following from predict_proba
a TOTAL_INSTANCES x NUM_CLUSTERS probability matrix.
this needs to be converted into a
NUM_SUBJECTS x NUM_FEATURES matrix, either by taking the argmax of the probability (converting to hard assignment), or by just horizontally concatenating the probabilities over the subject windows. Alternatively, we can look into modifying polyssifier so that it will classify the following tensor:
NUM_SUBJECTS x NUM_WINDOWS x NUM_CLUSTERS
See the reassign_to_subjects function in the dFNC class for info on how this is done currently for the hard-clustering in dFNC
The text was updated successfully, but these errors were encountered:
Get the cluster-assignment probabilities for each instance, reassign these features to subject instances, and feed data back into polyssifier.
The
centroids
andassignments
fields need to be assigned as part of thefit
method (most likely using thepredict_proba
function), and we need to use thereassign_to_subjects
function in the dFNC class to handle the multidimensional output to assign cluster probabilities as subject-level features.E.g. we get the following from
predict_proba
a TOTAL_INSTANCES x NUM_CLUSTERS probability matrix.
this needs to be converted into a
NUM_SUBJECTS x NUM_FEATURES matrix, either by taking the argmax of the probability (converting to hard assignment), or by just horizontally concatenating the probabilities over the subject windows. Alternatively, we can look into modifying polyssifier so that it will classify the following tensor:
NUM_SUBJECTS x NUM_WINDOWS x NUM_CLUSTERS
See the
reassign_to_subjects
function in the dFNC class for info on how this is done currently for the hard-clustering in dFNCThe text was updated successfully, but these errors were encountered: