nocontextdoruk commited on
Commit
23573e2
·
verified ·
1 Parent(s): 7488b6a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +58 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ tags:
4
+ - glass
5
+ - materials-science
6
+ - inorganic-chemistry
7
+ - regression
8
+ - scikit-learn
9
+ - xgboost
10
+ - property-prediction
11
+ license: mit
12
+ datasets:
13
+ - epam/SciGlass
14
+ ---
15
+
16
+ # Vitreos 🔬
17
+
18
+ **Glass property prediction from oxide composition using machine learning.**
19
+
20
+ Developed by [Doruk Doğular](https://github.com/dorukdogular) · [GitHub](https://github.com/dorukdogular/vitreos) · [Live Demo](https://vitreos.streamlit.app)
21
+
22
+ ## Models
23
+
24
+ | Property | Samples | R² | MAE |
25
+ |---|---|---|---|
26
+ | Tg | 76,377 | 0.85 | 44 K |
27
+ | Density | 31,173 | 0.88 | 0.26 g/cm³ |
28
+ | Refractive Index | 58,913 | 0.83 | 0.036 |
29
+ | GFA | 11,858 | — | 69% acc |
30
+
31
+ ## Usage
32
+
33
+ ```python
34
+ import joblib, json, numpy as np
35
+
36
+ model = joblib.load("tg_regressor.pkl")
37
+ with open("tg_features.json") as f:
38
+ features = json.load(f)
39
+
40
+ comp = {f: 0.0 for f in features}
41
+ comp["SiO2"] = 72.0
42
+ comp["Na2O"] = 14.0
43
+ comp["CaO"] = 9.0
44
+
45
+ X = np.array([[comp[f] for f in features]])
46
+ print(f"Tg: {model.predict(X)[0]:.1f} K")
47
+ ```
48
+
49
+ ## Dataset
50
+
51
+ Trained on [SciGlass](https://github.com/epam/SciGlass) by EPAM Systems — 422,000+ inorganic glass compositions, ODbL license.
52
+
53
+ ## Author
54
+
55
+ **Doruk Doğular** · [@dorukdogular](https://github.com/dorukdogular)
56
+
57
+ ## License
58
+ MIT (model) · ODbL (dataset)