PolySet – Python library for generating distribution-aware polymer embeddings
Project description
PolySet – Python Library for Polymer Embeddings
A representation framework for polymers seen as ensembles rather than idealized single objects.
Why PolySet?
Real polymer materials are never single molecules. They are populations of chains — each with its own length, each contributing differently to the properties of the bulk material.
Current machine-learning approaches, however, typically reduce a polymer to a single symbolic structure, ignoring its internal statistical nature.
PolySet restores this missing dimension by representing a polymer as a finite ensemble of weighted chains consistent with its macroscopic descriptors.
PolySet changes the input — how the polymer is perceived by the model, not how the model learns.
What PolySet Does?
Given basic information such as the number-average molar mass (Mn), molar mass of the repeat unit (M0) and dispersity (Đ), PolySet constructs a representative ensemble of chains that respects these values and can be used as input for any downstream ML encoder.
PolySet optionally includes four sampling modes (basic, short, middle, long) that allow users to explore different plausible tail behaviors when only Mn and Đ are available. These are implementation-level options and do not modify the core philosophy of PolySet
Installation
pip install polysetlib
Documentation & Examples
More information and conceptual background are available here: https://khalidferji.academicwebsite.com/pages/polyset.
Citation
If PolySet contributes to your work, please cite:
ferji, khalid . (2025). PolySet: Statistical Ensemble Polymer Embeddings Dataset for Machine Learning [Data set]. Zenodo. https://doi.org/10.5281/zenodo.17861022.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file polysetlib-1.0.0.tar.gz.
File metadata
- Download URL: polysetlib-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4267184e2abb8a1020b54dfd65f378bdfccdc01359714c2131e9a6c9addb829f
|
|
| MD5 |
3070cebc33e4c37abf2b2fd8f013a1d5
|
|
| BLAKE2b-256 |
fd31730e2ee1c5d18e3d1ac2bb1785511654d23b2ab95c03ef39a04605edd85a
|
File details
Details for the file polysetlib-1.0.0-py3-none-any.whl.
File metadata
- Download URL: polysetlib-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6adf212a6ac3ba10c87f4e11ebe19bb4bb92c242b00edd91e9325456a1500996
|
|
| MD5 |
5b1117498270fc44f0a7109efa286ef3
|
|
| BLAKE2b-256 |
a2e2e8d05a31c208e346ddffbd87ea1a562b9ca9d5b386fa12e6ff923f53fa8e
|