Giter Site home page Giter Site logo

jacobdwatters / jml Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 23.18 MB

A simple modular machine learning library for Java.

Home Page: https://jacobdwatters.github.io/JML/

License: MIT License

Java 21.30% HTML 74.95% CSS 0.24% JavaScript 3.51%
deep-learning deep-neural-networks java linear-regression logistic-regression machine-learning models modular neural-network neural-networks regression

jml's People

Contributors

jacobdwatters avatar

Stargazers

 avatar

Watchers

 avatar  avatar

jml's Issues

Saved Neural Network loses information

  • Dropout Layers: When a neural network is saved, dropout layers are not saved in the file.
  • Optimizers: When a neural network is saved, the optimizer used during training is not saved.

This means when the model is reloaded, it will be missing these components of the neural network. Neither of these will result in different predictions being made by the loaded model but if the model was to be retrained, it may not behave as the user expects.

To address this, the optimizer's details (including learning rate scheduling) and dropout layers should be saved to the .mdl file so they can be read upon loading the model and the model can be constructed correctly.

Add ability to freeze layers.

In order to support transfer learning, layers should be able to be frozen. I.e. their trainable parameters should be able to be made non-trainable.

All normalizers will become objects.

All methods of normalization/standardization in Normalize.Java will become their own objects. These objects will implement a FeatureScaler interface.

Encoder Objects and Interface.

All encoders should be an object with a fit(), decode(), and encode() method. Add an Encoder interface which all of these objects should inherit from.

Logistic Regression Should Allow Multiple Classes.

In the current implementation, the LogisticRegression class only works with binary classes. It should support multi-class data and implement one-vs-rest and multi-label regression (i.e. softmax regression).

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.