Coder Social home page Coder Social logo

mlampros / elmnnrcpp Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 5.0 999 KB

Extreme Learning Machine using RcppArmadillo

Home Page: https://mlampros.github.io/elmNNRcpp/

R 67.73% C++ 28.71% C 3.56%
extreme-learning-machine elm r rcpparmadillo armadillo

elmnnrcpp's Introduction

tic codecov.io CRAN_Status_Badge Downloads Buy Me A Coffee Dependencies

elmNNRcpp ( Extreme Learning Machine )


The elmNNRcpp package is a reimplementation of elmNN using RcppArmadillo after the elmNN package was archived. Based on the documentation of the elmNN it consists of, "Training and predict functions for SLFN ( Single Hidden-layer Feedforward Neural Networks ) using the ELM algorithm. The ELM algorithm differs from the traditional gradient-based algorithms for very short training times ( it doesn't need any iterative tuning, this makes learning time very fast ) and there is no need to set any other parameters like learning rate, momentum, epochs, etc.". More details can be found in the package Documentation, Vignette and blog-post.

To install the package from CRAN use,

install.packages("elmNNRcpp")


and to download the latest version from Github use the install_github function of the devtools package,

remotes::install_github('mlampros/elmNNRcpp')


Use the following link to report bugs/issues,

https://github.com/mlampros/elmNNRcpp/issues


Citation:

If you use the code of this repository in your paper or research please cite both elmNNRcpp and the original articles / software https://CRAN.R-project.org/package=elmNNRcpp:


@Manual{,
  title = {{elmNNRcpp}: The Extreme Learning Machine Algorithm},
  author = {Lampros Mouselimis},
  year = {2022},
  note = {R package version 1.0.4},
  url = {https://CRAN.R-project.org/package=elmNNRcpp},
}

elmnnrcpp's People

Contributors

edwindj avatar mlampros avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

elmnnrcpp's Issues

OSELM or ORELM

Hi,

thank you for developing this amazing library.
I was wandering if you have any plan to implement OSELM or (even better) ORELM?

Best wishes

AttributeError: 'NoneType' object has no attribute 'format'

When I run the below command, I found this error

predictions= []
target= []
for i in range(numLags, len(df)-predictionStep-1):
  net.train(X[[i], :], T[[i], :])
  Y = net.predict(X[[i+1], :])
  predictions.append(Y[0][0])
  target.append(T[i][0])
print ("{:5}th timeStep -  target: {:8.4f}  |   prediction: {:8.4f} ").format(i, target[-1], predictions[-1])

uniform_negative seed has no effect

If using "uniform_negative", the random seed has no effect so you always get the same weights if the input length and nhid values are the same. Looks like this is because you are using Mersenne twister random engine for those and seed isn't affecting it. (Maybe just rescale uniform to -1,+1?)

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.