Skip to content

Demonstration of aws lambda: HTTP based time series forecasting service.

License

Notifications You must be signed in to change notification settings

dipanjank/aws-lambda-forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-forecast

Demonstration of aws lambda: HTTP based time series forecasting service.

Local Setup

 python3 -m venv venv
 source venv/bin/activate
 pip install -r requirements.txt

Packaging for AWS Lambda

pip uninstall -y matplotlb

find "$VIRTUAL_ENV/lib64/python3.7/site-packages" -name "test" | xargs rm -rf
find "$VIRTUAL_ENV/lib64/python3.7/site-packages" -name "tests" | xargs rm -rf
rm -rf "$VIRTUAL_ENV/lib64/python3.7/site-packages/pystan/stan/src"
rm -rf "$VIRTUAL_ENV/lib64/python3.7/site-packages/pystan/stan/lib/stan_math/lib"
find "$VIRTUAL_ENV/lib64/python3.7/site-packages" -name "*.so" | xargs strip --strip-debug

Now prepare the "vendor" subdirectory:

mkdir vendor
cp -r $VIRTUAL_ENV/lib64/python3.7/site-packages/* vendor/

About

Demonstration of aws lambda: HTTP based time series forecasting service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages