IMFAA commited on
Commit
50cf060
1 Parent(s): 43d4a4a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -96,7 +96,7 @@ E.g: To predict the Tc value Nd2Fe14B1 magnet composition, the features are Nd=2
96
 
97
  The trained model is valid for 14:2:1 phases only, which are stoichiometric compositions and the predicted Tc value is in Kelvin and at room temperature.
98
 
99
- **Model Plot**
100
 
101
  <style>#sk-31f1492d-398b-4eed-9409-15e41d2ae601 {color: black;background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 pre{padding: 0;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-toggleable {background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.2em 0.3em;box-sizing: border-box;text-align: center;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;margin: 0.25em 0.25em;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-estimator:hover {background-color: #d4ebff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 2em;bottom: 0;left: 50%;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-item {z-index: 1;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item {display: flex;flex-direction: column;position: relative;background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item:only-child::after {width: 0;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0.2em;box-sizing: border-box;padding-bottom: 0.1em;background-color: white;position: relative;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-label label {font-family: monospace;font-weight: bold;background-color: white;display: inline-block;line-height: 1.2em;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-label-container {position: relative;z-index: 2;text-align: center;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-container {display: inline-block;position: relative;}</style><div id="sk-31f1492d-398b-4eed-9409-15e41d2ae601" class"sk-top-container"><div class="sk-container"><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="ef7a2220-1243-414d-9815-7f672754c9cf" type="checkbox" ><label class="sk-toggleable__label" for="ef7a2220-1243-414d-9815-7f672754c9cf">VotingRegressor</label><div class="sk-toggleable__content"><pre>VotingRegressor(estimators=[('ET', ExtraTreesRegressor()),
102
  ('XGB',
@@ -125,7 +125,7 @@ The trained model is valid for 14:2:1 phases only, which are stoichiometric comp
125
  learning_rate=0.001))])
126
 
127
 
128
- **How to use the trained model for inference**
129
 
130
  ```python
131
  import json
 
96
 
97
  The trained model is valid for 14:2:1 phases only, which are stoichiometric compositions and the predicted Tc value is in Kelvin and at room temperature.
98
 
99
+ **Model pipeline**
100
 
101
  <style>#sk-31f1492d-398b-4eed-9409-15e41d2ae601 {color: black;background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 pre{padding: 0;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-toggleable {background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.2em 0.3em;box-sizing: border-box;text-align: center;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;margin: 0.25em 0.25em;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-estimator:hover {background-color: #d4ebff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-serial::before {content: "";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 2em;bottom: 0;left: 50%;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-item {z-index: 1;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item {display: flex;flex-direction: column;position: relative;background-color: white;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-parallel-item:only-child::after {width: 0;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0.2em;box-sizing: border-box;padding-bottom: 0.1em;background-color: white;position: relative;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-label label {font-family: monospace;font-weight: bold;background-color: white;display: inline-block;line-height: 1.2em;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-label-container {position: relative;z-index: 2;text-align: center;}#sk-31f1492d-398b-4eed-9409-15e41d2ae601 div.sk-container {display: inline-block;position: relative;}</style><div id="sk-31f1492d-398b-4eed-9409-15e41d2ae601" class"sk-top-container"><div class="sk-container"><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="ef7a2220-1243-414d-9815-7f672754c9cf" type="checkbox" ><label class="sk-toggleable__label" for="ef7a2220-1243-414d-9815-7f672754c9cf">VotingRegressor</label><div class="sk-toggleable__content"><pre>VotingRegressor(estimators=[('ET', ExtraTreesRegressor()),
102
  ('XGB',
 
125
  learning_rate=0.001))])
126
 
127
 
128
+ # How to use the trained model for inference
129
 
130
  ```python
131
  import json