提交 84aa282d 编写于 作者: rictjo's avatar rictjo

readme upd

上级 a0e6b9a6
......@@ -19,7 +19,9 @@ Cite using :
DOI: 10.5281/zenodo.2594690
# Pip installation with :
```
pip install impetuous-gfa
```
# Version controlled installation of the Impetuous library
......@@ -29,11 +31,15 @@ In order to run these code snippets we recommend that you download the nix packa
https://nixos.org/download.html
```
$ curl -L https://nixos.org/nix/install | sh
```
If you cannot install it using your Wintendo then please consider installing Windows Subsystem for Linux first:
```
https://docs.microsoft.com/en-us/windows/wsl/install-win10
```
In order to run the code in this notebook you must enter a sensible working environment. Don't worry! We have created one for you. It's version controlled against python3.7 and you can get the file here:
......@@ -41,10 +47,43 @@ https://github.com/richardtjornhammar/rixcfgs/blob/master/code/environments/impe
Since you have installed Nix as well as WSL, or use a Linux (NixOS) or bsd like system, you should be able to execute the following command in a termnial:
```
$ nix-shell impetuous-shell.nix
```
Now you should be able to start your jupyter notebook locally:
```
$ jupyter-notebook impetuous_finance.ipynb
```
and that's it.
# Usage example 1 : elaborate informatics example
code: https://gitlab.com/stochasticdynamics/eplsmta-experiments
docs: https://arxiv.org/pdf/2001.06544.pdf
# Usage example 2 : simple code example
Now while in a good environment: In your Jupyter notebook or just in a dedicated file.py you can write the following:
```
import pandas as pd
import numpy as np
import impetuous.quantification as impq
adf = pd.read_csv( 'analytes.csv' , '\t' , index_col=0 )
jdf = pd.read_csv( 'journal.csv' , '\t' , index_col=0 )
res_dfs = impq.run_rpls_regression ( adf , jdf , 'S ~ C(industry)' , owner_by = 'angle' )
print ( res_dfs )
```
# Manually updated code backups for this library :
GitLab: https://gitlab.com/richardtjornhammar/impetuous
CSDN: https://codechina.csdn.net/m0_52121311/impetuous
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册