How raggi-21/hardness-prediction-in-heas works
Purpose
This repository is an experimental machine-learning workflow for predicting High Entropy Alloy (HEA) hardness from alloy composition/features. It is an earlier, notebook-driven version focused on trying classical regression models rather than a packaged application or deployed service.
Entry Points and Execution Model
The project has no source package, CLI, API, or application runtime. Work is executed interactively through Jupyter notebooks:
• ML_Hardness_model_train.ipynb — primary model-training workflow.
• HARD_HEA PREDICTOR.ipynb — likely interactive prediction/inference workflow.
• FEATURE_SELECTION.ipynb — feature-analysis and selection workflow.
Notebook cell ordering, in-memory variables, and locally available datasets/models are therefore important execution dependencies.
Data Preparation and Feature Engineering
The workflow transforms HEA composition/material descriptors into model-ready features used to estimate hardness. Feature selection is separated into its own experimental stage:
• FEATURE_SELECTION.ipynb
• ML_Hardness_model_train.ipynb
This boundary suggests selected feature subsets or rankings are inputs to subsequent model training, though no persisted artifact locations are visible in the repository tree.
Model Training and Evaluation
Classical ML prediction models are trained and compared in the central experimentation notebook:
• ML_Hardness_model_train.ipynb
The primary control flow is: load material-property data → prepare/select features → fit candidate regression models → evaluate predicted versus measured hardness. This notebook is the closest equivalent to the project’s training entry point.
Prediction / Inference
A separate notebook provides the user-facing prediction stage:
• HARD_HEA PREDICTOR.ipynb
Its expected role is to accept HEA feature/composition inputs and apply a trained model to produce a hardness estimate. Because no serialized model files appear in the tree, inference may depend on models recreated in notebook state, externally stored artifacts, or manual model transfer from training.
Architecture Boundaries and Dependencies
The repository boundary is intentionally narrow: notebooks plus project documentation:
• README.md
• FEATURE_SELECTION.ipynb
• ML_Hardness_model_train.ipynb
• HARD_HEA PREDICTOR.ipynb
There is no visible database, web frontend, cloud infrastructure, CI pipeline, requirements file, or model artifact registry. Material datasets, Python package versions, trained-model persistence, and reproducible environment setup are external or implicit dependencies. The key architectural risk is reproducibility: feature selection, training, and prediction are split across interactive notebooks without visible versioned interfaces or persisted contracts.
Main entry points: ML_Hardness_model_train.ipynb Model training · HARD_HEA PREDICTOR.ipynb Hardness predictor · FEATURE_SELECTION.ipynb Feature selection · README.md Project documentation
Components 12
Interactive Notebooks
Notebook state and cell order are execution dependencies.
- Feature selection · Selects or ranks composition and material descriptors.
FEATURE_SELECTION.ipynb - Model training · Primary workflow for regression experiments and evaluation.
ML_Hardness_model_train.ipynb - Hardness predictor · Interactive hardness-estimation workflow.
HARD_HEA PREDICTOR.ipynb - Candidate regressors · Classical regression models are fitted and compared.
- Hardness evaluation · Compares predicted and measured hardness.
- HEA input features
- Hardness estimate
External / Implicit Dependencies
Datasets, environments, and model artifacts are not versioned here.
- HEA material-property data · Composition, descriptors, and measured hardness inputs.
- Python ML environment · Package versions and runtime setup are implicit.
- Trained model state · Model serialization or registry is not visible.
Other components
- Project documentation
README.md - Selected features · No visible persisted feature-ranking or subset artifact.
Connections 15
- HEA material-property data → Feature selection: analyzes
- HEA material-property data → Model training: loads
- Python ML environment → Feature selection: executes in
- Python ML environment → Model training: executes in
- Python ML environment → Hardness predictor: executes in
- Feature selection → Selected features: selects
- Selected features → Model training: guides features
- Model training → Candidate regressors: fits and compares
- Candidate regressors → Hardness evaluation: produces predictions
- HEA material-property data → Hardness evaluation: provides measured hardness
- Model training → Trained model state: creates
- HEA input features → Hardness predictor: provides features
- Trained model state → Hardness predictor: applies
- Hardness predictor → Hardness estimate: outputs
- Project documentation → Model training: documents