Code Monkey home page Code Monkey logo

yager's People

Contributors

statcompute avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

yager's Issues

Computing times using grnn_parpred

Hi,

I was testing your package with a sample dataset.
I'm using a training set/dataframe called train with roughly 52k observations and 5 variables, one being the target (52000x5). The test set, test, only contains 48 observations and the same 5 variables (48x5).

Since I want to predict the test target value (48 observations) directly, I was not able to use the grnn package on its own, since it only assumes one observation at a time (at least I was not able to predict it as a set of 48 observations - matrix dimensions errors). Hence, I have 3 options:

  1. Predict each one of the 48 observations with a for loop
  2. Predict each one of the 48 observations with a for loop, but using paralelism via %dopar% of the doParallel package.
  3. Predict the whole set using grnn_parpred, since it accepts the whole set as an input.

When comparing the processing times of each of the stated option, I get the following results:

  1. For Loop = ~27 seconds
  2. For Loop with doParallel = ~9 seconds
  3. Using grnn_parpred = ~130 seconds

Using the regular for loop as a reference, the doParallel package solves the problem much much quickly than grnn_parpred, even by predicting each observation individually.

install error

The same mistake. What's wrong?
> install.packages("C:/Users/User/Downloads/yager_0.1.0.tar.gz", repos = NULL, type = "source") Installing package into ‘C:/Users/User/Documents/R/win-library/3.6’ (as ‘lib’ is unspecified) Ошибка в getOctD(x, offset, len) :invalid octal digit Warning in install.packages : installation of package ‘C:/Users/User/Downloads/yager_0.1.0.tar.gz’ had non-zero exit status

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.