Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 451d151

Browse files
committed
newer deps
1 parent d78477a commit 451d151

2 files changed

Lines changed: 99 additions & 13 deletions

File tree

tutorial/environment.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ name: hpattut
22
channels:
33
- numba/label/dev
44
- ehsantn
5-
- intel
65
- conda-forge
6+
- intel
77
- defaults
88
dependencies:
9-
- arrow-cpp=0.11.1=py36h3bd774a_0
9+
- arrow-cpp=0.11.1=py36h5c3f529_0
1010
- attrs=19.1.0=py36_1
1111
- backcall=0.1.0=py36_0
1212
- bleach=3.1.0=py36_0
13-
- boost=1.68.0=py36h8619c78_1001
14-
- boost-cpp=1.68.0=h11c811c_1000
13+
- boost=1.67.0=py36_4
14+
- boost-cpp=1.67.0=h14c3975_4
1515
- bzip2=1.0.6=17
16-
- ca-certificates=2019.1.23=0
16+
- ca-certificates=2019.3.9=hecc5488_0
1717
- certifi=2019.3.9=py36_0
1818
- cycler=0.10.0=py36_7
1919
- daal=2019.3=intel_199
@@ -25,7 +25,9 @@ dependencies:
2525
- expat=2.2.6=he6710b0_0
2626
- fontconfig=2.13.0=h9420a91_0
2727
- freetype=2.9.1=h8a8886c_1
28+
- gflags=2.2.2=he6710b0_0
2829
- glib=2.56.2=hd408876_0
30+
- glog=0.3.5=hf484d3e_1
2931
- gmp=6.1.2=h6c8ec71_1
3032
- gst-plugins-base=1.14.0=hbbd80ab_1
3133
- gstreamer=1.14.0=hb453b48_1
@@ -47,7 +49,9 @@ dependencies:
4749
- jupyter_core=4.4.0=py36_0
4850
- kiwisolver=1.0.1=py36_2
4951
- libblas=3.8.0=4_openblas
52+
- libboost=1.67.0=h46d08c1_4
5053
- libcblas=3.8.0=4_openblas
54+
- libevent=2.1.8=h93c0eb6_0
5155
- libffi=3.2.1=hd88cf55_4
5256
- libgcc-ng=8.2.0=hdf63c60_1
5357
- libgfortran=3.0.0=1
@@ -58,6 +62,7 @@ dependencies:
5862
- libxcb=1.13=h1bed415_1
5963
- libxml2=2.9.9=he19cac6_0
6064
- llvmlite=0.29.0dev0=py36hf484d3e_4
65+
- lz4-c=1.8.3=hf484d3e_1001
6166
- markupsafe=1.1.1=py36h7b6447c_0
6267
- matplotlib=3.0.1=py36_1
6368
- mistune=0.8.4=py36h7b6447c_0
@@ -71,7 +76,7 @@ dependencies:
7176
- numexpr=2.6.8=py36_2
7277
- numpy=1.16.2=py36h7fc5cc3_0
7378
- openblas=0.3.5=ha44fe06_0
74-
- openssl=1.0.2r=h7b6447c_0
79+
- openssl=1.0.2r=0
7580
- pandas=0.24.1=py36_3
7681
- pandoc=2.2.3.2=0
7782
- pandocfilters=1.4.2=py36_1
@@ -84,7 +89,8 @@ dependencies:
8489
- prometheus_client=0.6.0=py36_0
8590
- prompt_toolkit=2.0.9=py36_0
8691
- ptyprocess=0.6.0=py36_0
87-
- pyarrow=0.11.1=py36hbbcf98d_1002
92+
- py-boost=1.67.0=py36h04863e7_4
93+
- pyarrow=0.11.1=py36he6710b0_0
8894
- pygments=2.3.1=py36_0
8995
- pyparsing=2.2.0=py36_2
9096
- pyqt=5.9.2=py36h05f1152_2
@@ -99,11 +105,13 @@ dependencies:
99105
- setuptools=39.0.1=py36_0
100106
- sip=4.19.8=py36hf484d3e_0
101107
- six=1.11.0=py36_3
108+
- snappy=1.1.7=hbae5bb6_3
102109
- sqlite=3.27.2=2
103110
- tbb=2019.4=intel_199
104111
- tcl=8.6.4=22
105112
- terminado=0.8.1=py36_1
106113
- testpath=0.4.2=py36_0
114+
- thrift-cpp=0.11.0=hc04171f_3
107115
- tk=8.6.4=28
108116
- tornado=6.0.2=py36h7b6447c_0
109117
- traitlets=4.3.2=py36_0
@@ -114,3 +122,4 @@ dependencies:
114122
- xz=5.2.4=h14c3975_1001
115123
- zeromq=4.3.1=he6710b0_3
116124
- zlib=1.2.11=5
125+
- zstd=1.3.3=h84994c4_0

tutorial/hpat.ipynb

Lines changed: 83 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,17 @@
162162
},
163163
{
164164
"cell_type": "code",
165-
"execution_count": null,
166-
"metadata": {},
167-
"outputs": [],
165+
"execution_count": 1,
166+
"metadata": {},
167+
"outputs": [
168+
{
169+
"name": "stdout",
170+
"output_type": "stream",
171+
"text": [
172+
"93.9 ms ± 11.5 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)\n"
173+
]
174+
}
175+
],
168176
"source": [
169177
"import hpat\n",
170178
"import pandas as pd\n",
@@ -595,9 +603,21 @@
595603
},
596604
{
597605
"cell_type": "code",
598-
"execution_count": null,
599-
"metadata": {},
600-
"outputs": [],
606+
"execution_count": 2,
607+
"metadata": {},
608+
"outputs": [
609+
{
610+
"ename": "ModuleNotFoundError",
611+
"evalue": "No module named 'daal4py.hpat'",
612+
"output_type": "error",
613+
"traceback": [
614+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
615+
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
616+
"\u001b[0;32m<ipython-input-2-fa4b44e49c22>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mhpat\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mdaal4py\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0md4p\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 4\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mdaal4py\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhpat\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 5\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[0;34m@\u001b[0m\u001b[0mhpat\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjit\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
617+
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'daal4py.hpat'"
618+
]
619+
}
620+
],
601621
"source": [
602622
"import numpy as np\n",
603623
"import hpat\n",
@@ -690,6 +710,63 @@
690710
"# Intraday-stock-mean-reversion-trading-backtest\n",
691711
"A nice backtest from http://www.pythonforfinance.net/2017/02/20/intraday-stock-mean-reversion-trading-backtest-in-python/ works nicely with HPAT. The full code use many of the above features and is attached (intraday_mean.py) to the tutorial. Enjoy!\n"
692712
]
713+
},
714+
{
715+
"cell_type": "code",
716+
"execution_count": 3,
717+
"metadata": {},
718+
"outputs": [],
719+
"source": [
720+
"import daal4py as d"
721+
]
722+
},
723+
{
724+
"cell_type": "code",
725+
"execution_count": 4,
726+
"metadata": {},
727+
"outputs": [
728+
{
729+
"data": {
730+
"text/plain": [
731+
"'(2019, 3)'"
732+
]
733+
},
734+
"execution_count": 4,
735+
"metadata": {},
736+
"output_type": "execute_result"
737+
}
738+
],
739+
"source": [
740+
"d.__version__"
741+
]
742+
},
743+
{
744+
"cell_type": "code",
745+
"execution_count": 5,
746+
"metadata": {},
747+
"outputs": [
748+
{
749+
"ename": "ModuleNotFoundError",
750+
"evalue": "No module named 'daal4py.hpat'",
751+
"output_type": "error",
752+
"traceback": [
753+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
754+
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
755+
"\u001b[0;32m<ipython-input-5-a435cc549af4>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mdaal4py\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhpat\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
756+
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'daal4py.hpat'"
757+
]
758+
}
759+
],
760+
"source": [
761+
"import daal4py.hpat"
762+
]
763+
},
764+
{
765+
"cell_type": "code",
766+
"execution_count": null,
767+
"metadata": {},
768+
"outputs": [],
769+
"source": []
693770
}
694771
],
695772
"metadata": {

0 commit comments

Comments
 (0)