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 PORTenvironmental 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 serviceFor production, you may want to use Docker compose
docker-compose upYou find docs on http://127.0.0.1:$PORT/docs.