Skip to content

orikami-nl/sklearn-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build SKLearn for AWS Lambda

Steffen Kaiser describes how to build SKLearn python libraries for AWS Lambda here: https://medium.com/@stekaiser/cba9355b44e9

This repository contains up-to-date commands to repeat these steps.

Simple use: Just add your files to a pre-compiled zip

If you simply want to add the SKLearn libraries to your project:

docker run -v $(pwd):/outputs -it markmarijnissen/sklearn-build:latest

Advanced use: Do it yourself

If you want to change the script:

  1. Copy Dockerfile and build.sh to your directory.
  2. Tweak the scripts.
  3. Build a docker image: docker build -t sklearn-build .
  4. Run it: docker run -v $(pwd):/outputs -it sklearn-build:latest

Changes from the blogpost:

  1. python34-setuptools was missing from yum install
  2. pandas is not installed (!)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages