Coder Social home page Coder Social logo

eharmony / spotz Goto Github PK

View Code? Open in Web Editor NEW
31.0 17.0 8.0 232 KB

Spark Parameter Optimization and Tuning

Scala 100.00%
hyperparameter-optimization spark optimizer optimization-algorithms machine-learning machinelearning hyperparameter-tuning hyperparameters grid-search random-search

spotz's People

Contributors

jmorra avatar vsuthichai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spotz's Issues

Ability for a sampler to depend on previous parameter's values

Hi,

We're interested in Spotz, but we have a need for a param to depend on previously-sampled ones (i.e. if mode is ON, vary between 0 to 5, otherwise 5 to 10).

The change would probably need to happen

factory(params.map { case (label, sampler) => (label, sampler(rng)) } )
where instead of a map, we'd fold the params list by passing the previously-calculated params along with the (current argument) rng.

This would be a breaking change as it is (since all samplers need their apply functions to receive an extra parameter), but maybe there's a way to make it smoother?
We'd provide a PR if that's acceptable.

I'm interested in your suggestions, if there are others&simpler ways. Thanks!

Refactor VW cache distribution

There's a slowdown with VW cache distribution during at the beginning of the Spark job. Refactor this logic to zip, and distribute the vw dataset to the executors before VW cache generation begins

Dataset loader for k-fold Cross Validation

Partition a dataset into k-folds and create VW train and test cache files for every fold. Distribute these cache files to the executor so that they can be used by the objective function.

Adaptive batch sizing

Tune the batch size adaptively such that the user does not need to specify it. The batch size becomes important when the caller desires the optimizer to finish within some maximum duration. Too large a batch size will delay duration checks while processing occurs on the cluster. Too small a batch size will cause frequent return trips back to the driver which incur some constant time overhead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.