Skip to main content

A distributed optimization package

Project description

Kodu-Optim

Kodu-Optim is a distributed system designed to leverage Optuna for hyperparameter optimization across multiple compute nodes. It enables efficient and scalable optimization for machine learning models and other computational tasks.

Features

  • Distributed hyperparameter optimization using Optuna.
  • Scalable architecture for large-scale experiments.
  • Easy integration with existing machine learning workflows.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/kodu-optim.git
    cd kodu-optim
    
  2. Install dependencies:

    pip install -r requirements.txt
    

Usage

  1. Start the distributed system:

    python start_distributed.py
    
  2. Define your Optuna study and objective function in your script:

    import optuna
    
    def objective(trial):
        x = trial.suggest_float("x", -10, 10)
        return x ** 2
    
    study = optuna.create_study(direction="minimize")
    study.optimize(objective, n_trials=100)
    
  3. Run your optimization script across the distributed nodes.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

kodu_optim-0.1.1.tar.gz (58.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kodu_optim-0.1.1-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file kodu_optim-0.1.1.tar.gz.

File metadata

  • Download URL: kodu_optim-0.1.1.tar.gz
  • Upload date:
  • Size: 58.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.6

File hashes

Hashes for kodu_optim-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fa7dfe8f1c2fcb731770f0f85f73592f8de98bbef13ba77cf0b86ff896e24350
MD5 5e1744354dd3b8d8eaf511fbc9a5bb10
BLAKE2b-256 bd9d698fd9b8b991df5984b591d6b1acbc917c2901871604e67bb4a38b197f3b

See more details on using hashes here.

File details

Details for the file kodu_optim-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kodu_optim-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.6

File hashes

Hashes for kodu_optim-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 356c05684d6cb3af9a9740792bc2d3b8acdf8b2b6189b3c479be62e2421448c4
MD5 4106c2ce31f3623f2dd416d1a2f3f6ef
BLAKE2b-256 dc6f69339d5c8b8894f1a6d89db1462fb44c3ac22ff19342446e6746c7fdc5bc

See more details on using hashes here.

Supported by

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