gmmd.classifier.store_simplified_classify_result
- gmmd.classifier.store_simplified_classify_result(data, class_name_array, path, sample_num, confidence_threshold)
Store the simplified classification result in
{path}/GMM_simplified.csv. The result will combine MSM classifications and mark those with confidence under the threshold as unclear. The corresponding cluster names can be found in{path}/GMM_simplified.config.- Parameters
data (
pandas.DataFrame) – Classification result, generated bygmmd.classifier.classify_drops().class_name_array (
list) – All class names, generated bygmmd.classifier.classify_drops().path (
String) – File path to store the result.sample_num (
int) – Number of the HTO samples.confidence_threshold (
float) – Confidence threshold.
- Returns
Simplified classification result.
- Return type
pandas.DataFrame