-
Notifications
You must be signed in to change notification settings - Fork 29
Description
JASP Version
0.19.1
Commit ID
No response
JASP Module
Machine Learning
What analysis are you seeing the problem on?
Prediction
What OS are you seeing the problem on?
Windows 10
Bug Description
The prediction tables did not load.
Expected Behaviour
The prediction tables should load.
Steps to Reproduce
- Open Machine learning > Prediction
- Load a trained model based on JASP's Machine learning > Student grades internal data library. The trained model is attached.
- Load the features from the trained model.
- The engine crashes right before the last feature has to be loaded.
...
p.zip
Log (if any)
This analysis terminated unexpectedly.
Error in levels<-
(*tmp*
, value = as.character(levels)): factor level [2] is duplicated
Stack trace
analysis(jaspResults = jaspResults, dataset = dataset, options = options)
.mlPredictionsTable(model, dataset, options, jaspResults, ready, position = 2)
.mlPredictionsState(model, dataset, options, jaspResults, ready)
createJaspState(.mlPredictionGetPredictions(model, dataset))
jaspStateR$new(object = object, dependencies = dependencies)
initialize(...)
.mlPredictionGetPredictions(model, dataset)
.mlPredictionGetPredictions.gbm(model, dataset)
gbm:::predict.gbm(model, newdata = dataset, n.trees = model[['n.trees']], type = 'response')
factor(x[, i], levels = object$var.levels[[i]])
To receive assistance with this problem, please report the message above at: https://jasp-stats.org/bug-reports
More Debug Information
-------- Application Info --------
JASP Version: JASP 0.19.1
Build Branch: lockfiletesting
Build Date: Sep 9 2024 19:00:04 (Netherlands)
Last Commit: 8ac10c9c7aec029fdd695262d7bb4c3742a8ec89
-------- Basic Info --------
Operating System: Windows 10 Version 22H2
Product Version: 10
Kernel Type: winnt
Kernel Version: 10.0.19045
Architecture: x86_64
Install Path: E:/Program Files/JASP
Platfotm Name: windows
System Local: bg_BG
-------- Extra Info --------
Current code page
Active code page: 866
Active code page: 65001
Final Checklist
- I have included a screenshot showcasing the issue, if possible.
- I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
- I have accurately described the bug, and steps to reproduce it.