This project provides a machine learning-based approach to synthetic manufacturing, allowing for the prediction and optimization of synthetic reactions. The workflow includes data collection, tensor encoding, model training, prediction, synthesis, and validation. The project uses TensorFlow and XState to manage the machine learning and workflow components, respectively.
- Clone the repository:
git clone https://github.com/Tensornetics/synthetic-manufacturing.git
- Install the required dependencies:
pip install -r requirements.txt
The project is organized into several subdirectories, each containing the code for a specific step in the synthetic manufacturing process:
data-collection
: Collects data on previous synthetic reactionstensor-encoding
: Encodes collected data into a tensor representationmodel-training
: Trains a machine learning model with the encoded dataprediction
: Uses the trained model to predict the outcome of a new reactionsynthesis
: Guides the synthesis process based on the predicted outcomevalidation
: Validates the quality of the synthesized product
Each subdirectory contains a main.py
file that can be run to execute the corresponding step in the workflow. For example, to run the data collection step:
cd data-collection/
python main.py
The repository also includes a tests/ directory, which contains unit tests for each step of the workflow.
Contributions are welcome! Please refer to the contribution guidelines for more information.
This project is not licensed
synthetic-manufacturing/
|
|-- docs/
| |-- requirements.md
| |-- design.md
| |-- testing.md
| |-- user-manual.md
|
|-- src/
| |-- data-collection/
| | |-- main.py
| | |-- requirements.txt
| |
| |-- tensor-encoding/
| | |-- main.py
| | |-- requirements.txt
| |
| |-- model-training/
| | |-- main.py
| | |-- requirements.txt
| |
| |-- prediction/
| | |-- main.py
| | |-- requirements.txt
| |
| |-- synthesis/
| | |-- main.py
| | |-- requirements.txt
| |
| |-- validation/
| | |-- main.py
| | |-- requirements.txt
| |
| |-- utils/
| | |-- encode.py
| | |-- train.py
| | |-- predict.py
| | |-- guide.py
| | |-- validate.py
|
|-- tests/
| |-- test_data_collection.py
| |-- test_tensor_encoding.py
| |-- test_model_training.py
| |-- test_prediction.py
| |-- test_synthesis.py
| |-- test_validation.py
|
|-- config/
| |-- settings.ini
|
|-- requirements.txt
|-- README.md
|-- LICENSE