Questions tagged [nnet]

Software for feed-forward neural networks with a single hidden layer, and for multinomial log-linear models.

167 questions
0
votes
2 answers

R memory blowup when predicting nnet output in parallel with foreach

I have a (large) neural net being trained by the nnet package in R. I want to be able to simulate predictions from this neural net, and do so in a parallelised fashion using something like foreach, which I've used before with success (all on a…
0
votes
1 answer

error in nnet: “initial value in 'vmmin' is not finite”

I'm attempting to run a neural network model for the first time using nnet in r. When I supply a range of values to be given to the "size" argument, I get the following error: Error in nnet.default(x, y, w, entropy = TRUE, ...) : initial value in…
pd441
  • 2,644
  • 9
  • 30
  • 41
0
votes
1 answer

NAs are not allowed in subscripted assignments: error in predicting probability

I am getting the following error when using the predict on a model that predicts probability of choosing a set of binary mutually exclusive outcomes. Using the multinom function of the nnet package. Error in predict.multinom(model_name,…
matsuo_basho
  • 2,833
  • 8
  • 26
  • 47
0
votes
0 answers

What is the interpretation of different formula in Multinom?

I want to run a multinomial logit regression using the multinom() function from the nnet R package. I need some help with the interpretation of different formulas. My dataset have 3 IV (age (3 levels) , presonality(4 levels)and Test(2 levels))an 1…
NOVA
  • 1
0
votes
0 answers

Multinomial Regression with all categorical predictors

I have a dataframe that is 10191x2. My predictor variable is categorical and my response is also categorical. Below are some of the rows of this dataset: df Partner Customer A Alpha A Beta B …
nak5120
  • 4,089
  • 4
  • 35
  • 94
0
votes
0 answers

Vector library in c++ is not linked

I am trying to compile and run my c++ code (it is an early version of my code to just check that it would compile). But when I am trying to compile it I get the error: Undefined symbols for architecture…
Ruby K
  • 1
  • 1
0
votes
1 answer

Why aren't these models produced in Caret identical?

I'm really trying to understand why two pieces of code don't produce identical models. To create the first neural network (NN1), I used (code below) cross validation in the train function of the Caret package to find the best parameters. Page 2 of…
rmacey
  • 599
  • 3
  • 22
0
votes
1 answer

R nnet plot bug?

I'm trying the library nnet with some simple examples. library(MASS) data(Boston) boston = as.matrix(Boston) library(nnet) boston.nnet = nnet(medv~., data=Boston,rang=0.1,size=8,linout=T,maxit=1000) It seems to work well, but when I try…
skan
  • 7,423
  • 14
  • 59
  • 96
0
votes
1 answer

How to test joint parameter hypothesis in multinomial logit regression R?

I am trying to test the hypothesis of market efficiency in bookmaker odds for football matches. I have estimated a multinomial logit model with the mlogit package: Model: outcome=log(P1/Px)+log(P2/Px) where P1 is the implicit bookie probability of a…
Chebyshev
  • 1
  • 3
0
votes
0 answers

Predict is use different class values Rstudio

I'm utilizing the titanic dataset to perform some neural network exercise. I split the dataset into train and test. I split the train into 80% and 20% to perform training. After cleaning everything I started training. Here is my code to train. nfit…
redeemefy
  • 4,521
  • 6
  • 36
  • 51
0
votes
2 answers

Theano operations returning odd results

So I'm trying to learn how to use Theano and specifically use it for neural networks. I'm on a Windows 10 system, using mingw64 and all the rest of the required files from the install page (with the exception of microsoft visual studio and cuda, as…
hyit
  • 496
  • 4
  • 10
0
votes
1 answer

Caret - Train does not provide Accuracy SD to nnet model output

I am trying to train neural network model using the function "train" in "caret" package. But it gives a lot of warnings and does not show the accuracy SD. I am not sure if I have to set any parameters so that I can see the Accuracy SD. I am…
0
votes
0 answers

R nnet package does not work anymore

I know it is a strange problem and I cannot even give a MRE but with hope that someone else have encountered the similar and solved it, I am posting the question. I have been using Rattle with all available models. I wanted to use the nnet…
mdk
  • 181
  • 1
  • 1
  • 7
0
votes
2 answers

predict target for new data using nnet R

I am facing problems with predict function in nnet package R. I have trained a nnet model in R with train data , but when I try to predict for new test samples I am getting more results than the number of test samples. My train data contains 3673…
raja
  • 51
  • 4
0
votes
1 answer

In eval(expr, envir, enclos) : model fit failed for Fold01:

I'm trying to use package caret and nnet together, but got the error below. I used warnings() to see what it is, but couldn't find anything on the internet. Please let me know. thanks. > str(Std_data) 'data.frame': 1628 obs. of 18 variables: $…
user1569341
  • 333
  • 1
  • 6
  • 17