-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathinstall_notes.txt
More file actions
61 lines (39 loc) · 1.42 KB
/
Copy pathinstall_notes.txt
File metadata and controls
61 lines (39 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#install_notes.txt
#
#by Joe Hahn
#joe.hahn@oracle.com
#21 April 2019
#
#notes on installing predictive-maintenance-sim
1 clone this repo:
git clone git@github.com:joehahn/predictive-maintenance-sim.git
cd predictive-maintenance-sim
2 browse https://repo.anaconda.com/archive and pick a recent Anaconda release
release=Anaconda2-2018.12-MacOSX-x86_64.sh
the above will install python 2.7.15 for my Mac laptop.
3 download and install Anaconda python:
wget https://repo.anaconda.com/archive/$release
chmod +x $release
./$release -b -p ./anaconda2
./anaconda2/bin/python --version
which installs Anaconda python in the predictive-maintenance-sim folder
4 set path to python, ipython, jupyter etc:
PYTHON_PATH=./anaconda2/bin
$PYTHON_PATH/python --version
5 also note python package version numbers
$PYTHON_PATH/pip freeze | grep 'matplotlib\|numpy\|pandas\|scikit-learn\|seaborn\|jupyter'
which yields
jupyter==1.0.0
matplotlib==2.2.3
numpy==1.15.1
pandas==0.23.4
scikit-learn==0.20.1
seaborn==0.9.0
6 generate RTF data:
$PYTHON_PATH/python ./pdm.py inputs_rtf.py
7 start Jupyter
$PYTHON_PATH/jupyter notebook
8 execute the build_models.ipynb Jupyter notebook, to build & test the ML models
9 run demo in PdM mode:
$PYTHON_PATH/python ./pdm.py inputs_pdm.py
10 execute the inspect_pdm.ipynb notebook, to assess well production while operating in PdM mode