Views
No views yet
| Feature | Description |
|---|---|
| Distillate_To_Feed_Ratio | Ratio of distillate to feed flow |
| Feed_Stage | Feed stage number |
| top_stage_pressure_(bar) | Top stage pressure |
| Temp_of_Field_(C) | Field temperature |
| Feed_Flow_Rate_(Kg/hr) | Feed flow rate |
NAPTHA: predicted purity (0–1)DIESEL: predicted purity (0–1)1import joblib
2import numpy as np
3from huggingface_hub import hf_hub_download
4
5model_path = hf_hub_download(
6 repo_id="lastcode/pyrolysis-distillation-predictor",
7 filename="pyrolysis_model.joblib"
8)
9model = joblib.load(model_path)
10
11# [Distillate_To_Feed_Ratio, Feed_Stage, top_stage_pressure, Temp, Feed_Flow_Rate]
12X = np.array([[0.35, 10, 2.5, 150, 1000]])
13pred = model.predict(X)
14print(f"NAPTHA: {pred[0][0]:.3f}")
15print(f"DIESEL: {pred[0][1]:.3f}")