Commit f1b0b5ac authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Python tutorial updated for new phi ouput

parent bf677dfc
......@@ -177,8 +177,8 @@ It is important to note here that, while it is not necessary to setup separate d
## Using the Python Interface to Reproduce Previous Calculations
The final goal of this tutorial will be to discuss how to use the python interface to reproduce previous calculations easily.
As previous examples illustrated how the Model output files can be used to interact and extract information from the models generated by `SISSO++`, but these alone can not be used to recreate a calculation.
To increase the reproducibility of the code `SISSO++` can construct a `FeatureSpace` using a text file, which can be generated using .
Depending on what we want to study there are two ways of constructing a feature space form either the `phi.out` file or `selected_features.txt` As show below for using `selected_features.txt`
To increase the reproducibility of the code `SISSO++` can construct a `FeatureSpace` using a text file, which can be generated using the `phi_out_file` option in the `Inputs` object.
Depending on what we want to study there are two ways of constructing a feature space form either the `phi.txt` file or `selected_features.txt` As show below for using `selected_features.txt`
```python
from sissopp import phi_selected_from_file, read_csv, FeatureSpace
......@@ -189,7 +189,7 @@ inputs.phi_0 = phi_sel
feature_space = FeatureSpace(inputs)
```
and for using `phi.out`
and for using `phi.txt`
```python
from sissopp import phi_selected_from_file, read_csv, FeatureSpace
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment