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.0.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.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kodu_optim-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 aeedef7e89ddeff8e13f5954ff6e786c4ee4cd3bdf8f3bcd757b2816f3eab2c5
MD5 0ae8e9394072b2dfad084a8ed918e4cc
BLAKE2b-256 95d181e3db989911602e198571152f02639602dced929fe9345c841f823f5bf8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kodu_optim-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ffcad881c4cf06b3d1548312d49cd54de508d9321b180f35ef5bf4ca4922a32
MD5 6cf217298dbc4a80d5cf300c7dc698d2
BLAKE2b-256 d1f9c39c6eb762a8eb808212e4dc794e59876253347ba3b252895a2517c56809

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