Giter Site home page Giter Site logo

koalalow.jl's Introduction

KoalaLow

For exposing the low-level interface of the Koala machine learning environment.

Koala's high-level interface operates primarily on machines. Presently, the Koala objects which can be wrapped in machines are supervised models and transformers. Koala's low-level interface amounts to definitions of the following methods, for each supervised model type SMT <: Koala.SupervisedModel, and transformer type TT <: Koala.Transformer:

  • default_transformer_X(model::SMT)

  • default_transformer_y(model::SMT)

  • clean!(model::SMT) (optional)

  • setup(model::SMT, Xt, yt, scheme_X, parallel, verbosity)

  • fit(model::SMT, cache, add, parallel, verbosity; args...)

  • predict(model::SMT, predictor, Xt, parallel, verbosity)

  • fit(transformer::TT, X, parallel, verbosity; args...)

  • transform(transformer::TT, scheme, X)

  • inverse_transform(transformer::TT, scheme, Xt) (optional)

The first two methods on the list have fall-backs defined in Koala, but each of the others require explicit implementations, unless marked "optional".

It is our intention that the low-level implementation of most transformers appear in KoalaTransforms (a few are in Koala itself but are re-exported by KoalaTransforms) while each supervised model (or family of similar such models) gets their own dedicated module (e.g., KoalaTrees).

The code,

using Koala

brings default_transformer_X, default_transformer_y, clean! and predict into scope (the last because it is overloaded in the high-level interface). To bring any other low-level method into scope, one can import it explicitly from Koala; to bring all of them into scope, use

using KoalaLow

For more on the low-level interface, see the template for implementing new supervised learning algorithms at SupervisedModelTemplate.jl, and the template for new transformers at TransformerTemplate.jl.

koalalow.jl's People

Contributors

ablaom avatar

Watchers

James Cloos avatar

Forkers

nilshg

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.