-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prophet can now be called from the Qlik load script
- Loading branch information
Nabeel
committed
Apr 11, 2019
1 parent
de0246e
commit 954936c
Showing
7 changed files
with
165 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Use an official Python runtime as a parent image | ||
FROM python:3.6.8 | ||
|
||
# Set the working directory to /qlik-py-tools | ||
WORKDIR /qlik-py-tools | ||
|
||
# Copy the current directory contents into the container at /qlik-py-tools | ||
COPY . /qlik-py-tools | ||
|
||
# Install dependencies | ||
RUN apt-get update | ||
RUN apt-get install build-essential | ||
|
||
# Upgrade pip and setuptools | ||
RUN python -m pip install --upgrade setuptools pip | ||
|
||
# Install required packages | ||
RUN pip install grpcio grpcio-tools numpy scipy pandas cython | ||
RUN pip install pystan==2.17 | ||
RUN pip install fbprophet | ||
RUN pip install scikit-learn | ||
RUN pip install hdbscan | ||
RUN pip install skater==1.1.2 | ||
|
||
# Copy modified file for skater | ||
COPY ./feature_importance.py /usr/local/lib/python3.6/site-packages/skater-1.1.2-py3.6.egg/skater/core/global_interpretation/ | ||
|
||
# Make port 80 available to the world outside this container | ||
EXPOSE 80 | ||
|
||
# Set the working directory to /qlik-py-tools/core | ||
WORKDIR /qlik-py-tools/core | ||
|
||
# Run __main__.py when the container launches | ||
CMD ["python", "__main__.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.