Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

method rknnBel crashes R-GUI #21

Open
tobigithub opened this issue Dec 25, 2015 · 0 comments
Open

method rknnBel crashes R-GUI #21

tobigithub opened this issue Dec 25, 2015 · 0 comments
Labels

Comments

@tobigithub
Copy link
Owner

method rknnBel crashes R-GUI when used in caret.
Could be an issue with low sample numbers (here only 6).
Probably requires better unit testing.

require(caret); require(rknnBel);  

# define x and y for regression of a synthetic dataset
# defined in lasso 
set.seed(123); training_data <- SLC14_1(6)
set.seed(123); testing_data  <- SLC14_1(10000)

# all the training data (just named x and y)
y <- training_data$y
x <- training_data[, -ncol(training_data)]

# works 
train(x,y,"knn")

#crashes R gui
train(x,y,"rknnBel")
@tobigithub tobigithub added the bug label Dec 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant