This is a webservice built using FastAPI. It exposes dimensionality reduction and manifold learning techniques from the sklearn Python package.
To be usable on Heroku or Dokku, which use PORT
environmental variables, you need to either create this environmental variable or put it into an .env
file. For local development, the run_docker.sh
script uses 8091
.
./build_docker # builds the docker image
./run_docker # starts the service
For production, you may want to use Docker compose
docker-compose up
You find docs on http://127.0.0.1:$PORT/docs.