Skip to main content

ML models for materials property thermodynamic prediction

Project description

Thermoverse

PyPI Python Version License Streamlit demo

Thermoverse is a materials property prediction package for thermodynamics and mechanical behavior, with a polished local demo dashboard and a deploy-ready Streamlit interface.

Overview

  • Sample-style Streamlit dashboard for exploring prediction files and one-row model prediction.
  • Built for materials datasets and thermodynamic model outputs.
  • Includes local launch helpers and deployment guidance for live demos.

Quick start

  1. Create a Python virtual environment and activate it.
  2. Install dependencies from requirements.txt:
cd "c:\Users\HassanTraders\Desktop\research find.py"
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
  1. Launch the demo locally:
.\app_launch.ps1

or

launch_streamlit.bat
  1. Use the sidebar to switch between Home, Explore predictions, and Predict a sample.

Sample input

  • sample_input.csv contains a one-row example you can upload into the Predict a sample view.

Deploy this demo to the web

This project is ready to deploy as a live demo on Streamlit Cloud or Hugging Face Spaces.

Streamlit Cloud

  1. Push this repository to GitHub.
  2. Create a new app on Streamlit Cloud.
  3. Select your GitHub repo, branch, and set the app file to streamlit_app.py.
  4. Use requirements.txt to install dependencies.

Hugging Face Spaces

  1. Create a new Space using the Streamlit template.
  2. Upload this repository or connect the GitHub repo.
  3. Set the app entrypoint to streamlit_app.py.

Once deployed, you can link the live demo from your PyPI project page under project.urls.

PyPI upload notes

  • Use upload_pypi.ps1 with a raw token value.
  • upload_pypi.ps1 now accepts both raw and full pypi-... token forms.
cd "c:\Users\HassanTraders\Desktop\research find.py"
.\upload_pypi.ps1 <YOUR_TOKEN>

If you want to run Twine directly:

cd "c:\Users\HassanTraders\Desktop\research find.py"
.\.venv\Scripts\twine.exe upload dist\* -u __token__ -p pypi-<YOUR_TOKEN>

Files of interest

  • app_streamlit.py — interactive dashboard for exploring outputs and making one-row predictions.
  • streamlit_app.py — Streamlit Cloud / Spaces entrypoint for deployment.
  • deploy_pypi.ps1 — PyPI upload helper that accepts raw or prefixed tokens.
  • models/ — saved model pickles used by the dashboard.
  • outputs/ — prediction CSV files the dashboard can preview.

How to publish to GitHub

  1. Create a new repo on GitHub (choose a name like research-find).
  2. From this folder run:
git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/your-username/repo-name.git
git push -u origin main

Replace your-username/repo-name.git with your repository URL.

If you want me to run these commands and push, give me the repository URL or let me know and I'll guide you through creating a PAT for authentication.

Model description

  • Purpose: Build accurate, generalizable machine-learning predictors for thermodynamic and mechanical materials properties to accelerate screening and discovery.
  • Data: Trained on curated datasets (Materials_Dataset_181600.csv, Materials_Dataset_50000.csv, Materials_Dataset_FIXED.csv).
  • Model types: Ensemble models (XGBoost / CatBoost / RandomForest-style) trained per-property with cross-validation and ensembling.
  • Inputs: Composition-based features and engineered descriptors produced by preprocessing scripts.
  • Outputs: Per-property CSV predictions under outputs/ and evaluation summaries (R², RMSE) stored in outputs/ and models/.
  • Usage: create a Python environment, install dependencies, then run training and evaluation scripts such as python train_181600_models.py.
  • Notes: large model files and outputs are excluded via .gitignore. If datasets or model artifacts exceed GitHub file size limits (>100MB) enable Git LFS for those paths.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thermoverse-0.1.1.tar.gz (30.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thermoverse-0.1.1-py3-none-any.whl (30.8 MB view details)

Uploaded Python 3

File details

Details for the file thermoverse-0.1.1.tar.gz.

File metadata

  • Download URL: thermoverse-0.1.1.tar.gz
  • Upload date:
  • Size: 30.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for thermoverse-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a825c0476f2d612ab97960be3fae3bb6298b8d68f2557fc449627e096dcfc5b4
MD5 89966d1d061c50810052fef0c2b2b598
BLAKE2b-256 79bf0d96697ff9edacd3bf9e10905988286d375c4af3a22be02035f84c75c307

See more details on using hashes here.

File details

Details for the file thermoverse-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: thermoverse-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for thermoverse-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 519ba631887f2079930fd788d585ae4b58faddcf90aa6c3f78c68057b2e65700
MD5 e4782c41bb985b7f549df59fa533712c
BLAKE2b-256 95d78f6fe3abccb290db0eab55e1c413a2f3cf923d3d42020ff962b8da688e39

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page