Skip to main content

Price predictions for 3DHubs

Project description

Price Prediction

Replicate / Reproduce Whole Process

Training Process

  • Pre-requirements:

    1. Install conda: link
    2. Install MLFlow:
      pip install mlflow
      
  • Run Mlflow UI server to track the training experiments:

    cd train/
    mlflow server --backend-store-uri ./mlruns/
    
  • Train:

    # working dir: "ml-engineer-assignment-bendangnuksung/train/"
    
    # modify "train/MLproject" file, update parameters such as:
    # 'datapath' -> path to your data CSV file (important)
    # 'kfolds'   -> N kfolds you want
    # 'lr'       -> Set your own learning rate
    
    # Run training 
    mlflow run --experiment-name hubs_price_prediction .
    

Deployment Process

  • Pre-requirements:

    1. Install Docker. Link
    2. Install Docker Compose:
      pip install docker-compose
      
  • Build and Start Docker:

    # working dir: "ml-engineer-assignment-bendangnuksung/"
    
    # Modify "docker-compose.yml" if:
    # 1. Wants to change PORT
    # 2. Change the volumes if model stored in different directory. (Default is: "./train/models" because models are stored there after training) 
    
    sudo docker-compose up
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hubs_predictor-0.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

hubs_predictor-0.1.0-py3-none-any.whl (2.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page