Related Experiment Video
Updated: Jun 18, 2025

Author Spotlight: Emerging Technologies and Advanced Tools for Decoding Metabolomics Data Analysis
Published on: November 10, 2023
sentropy: A Python Package for Revealing Hidden Differences in Complex Datasets
Phuc Nguyen1, Rohit Arora2, Elliot D Hill3
1Department of Pathology, Beth Israel Deaconess Medical Center, Boston, 02115, MA, USA.
Abstract:
Machine-learning datasets are typically characterized by measuring their size and class balance. However, there exists a richer and potentially more useful set of measures, termed S-entropy (similarity-sensitive entropy), that incorporate elements' frequencies and between-element similarities. Although these have been available in the R and Julia programming languages for other applications, they have not been as readily available in Python, which is widely used for machine learning, and are not easily applied to machine-learning-sized datasets without special coding considerations. To address these issues, we developed sentropy, a Python package that calculates S-entropy and is tailored to large datasets. sentropy can calculate any of the frequency-sensitive measures of Hill's D-number framework and their similarity-sensitive counterparts. sentropy also outputs measures that compare datasets. We first briefly review S-entropy, illustrating how it incorporates elements' frequencies and elements' pairwise similarities. We then describe sentropy's key features and usage. We end with several examples-immunomics, metagenomics, computational pathology, and medical imaging-illustrating sentropy's applicability across a range of dataset types and fields.
More Related Videos
08:04A New Approach for the Comparative Analysis of Multiprotein Complexes Based on 15N Metabolic Labeling and Quantitative Mass Spectrometry
Published on: March 13, 2014
07:41A Method for Measuring Metabolism in Sorted Subpopulations of Complex Cell Communities Using Stable Isotope Tracing
Published on: February 4, 2017
Related Concept Videos
Complexometric Titration: Overview
Mass Spectrometry: Complex Analysis
GC–MS is a powerful hyphenated method commonly used in forensics and environmental...
Complexometric Titration: Ligands
Gravimetry: Overview
In precipitation gravimetry, the analyte is converted into a precipitate and weighed. For example, the silver content in a sample can be estimated by precipitating and...