Skip to content

lexplua/data-mining-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MinIO + Spark + Delta Lake + Jupyter notebook setup for local development

MinIO + Spark + Delta Lake + Jupyter

Run modern DWH stack locally with single command

Dependencies:

  • docker & docker compose

Usage:

  • Checkout repository, change .env file if needed.
  • Run bash ./scripts/start.sh -w 2 to start stack with 2 Spark workers
  • Run bash ./scripts/stop.sh to stop stack

MinIO web interface on your machine: http://localhost:9001/ MLFlow web interface on yor machine: http://localhost:5000/ Spark Master web interface on your machine: http://localhost:8080

Demo notebook included !

MLFlow + MinIO + Postgres

Local dev environment setup for experiment tracking and artifact storage

Implements Scenario 4 from MLflow documentation diagram

Environment variables for training scripts:

import mlflow
import os
os.environ['AWS_ACCESS_KEY_ID'] = "1234"
os.environ['AWS_SECRET_ACCESS_KEY'] ="123441212344321"
os.environ['MLFLOW_S3_ENDPOINT_URL']="http://localhost:9000"
mlflow.set_tracking_uri('http://localhost:5000/')

For mlflow CLI also environment variable must be set

export MLFLOW_TRACKING_URI=http://localhost:5000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors

Languages