Git Product home page Git Product logo

ramsey's Issues

Use TFDS iterators

The current data iterators are slow. We could use the tf.data iterators.

Does that work with dynamic input/output dimensions?

How to dispatch?

Not sure which is better

__call__(self, method="predict", **kwargs):

or dispatch based on number of args:

__call__(self, x **kwargs):
  if "y" in kwargs:
      return self._this_method(x, kwargs["y"]):
  return return self._that_method(x)   

Check what Haiku/Flax/.. recommend.

Fix code coverage

Code coverage does not update properly (wrong link in README) and does not show coverage reports on PRs.

High-level API

Add a high-level API, that contains methods to train/predict every model easily, following GPFlow and the like....

As batch iterators

This is not good. Rewrite like this and document the fn:

 shuffle_key, rng_key = random.split(rng_key)
    shuffle_idxs = random.choice(shuffle_key, jnp.arange(n), shape=(n,), replace=False)
    if shuffle:
        data = ctor(*[el[shuffle_idxs] for _, el in enumerate(data)])

    y_train = ctor(*[el[:n_train] for el in data])
    y_val = ctor(*[el[n_train:] for el in data])
    train_rng_key, val_rng_key = random.split(rng_key)

Cleanup

  • fix codecov
  • fix documentation not showing
  • replace all old links (one in index.rst to dirmeier/...)
  • beautify code
  • gitlint ini, pylintrc, jupytext file, mypy init, pytest ini, setup cfg ,manifest, makefile, pydocstyle, bandit.yaml
  • code of conduct, contribuing,
  • codecov/coveragerc

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.