Closed TarandeepKang closed 4 months ago
@TarandeepKang, thanks for taking the time to create this issue. If possible (and applicable), please upload to the issue website (https://github.com/jasp-stats/jasp-issues/issues/2731) a screenshot showcasing the problem, and/or a compressed (zipped) .jasp file or the data file that causes the issue. If you would prefer not to make your data publicly available, you can send your file(s) directly to us, issues@jasp-stats.org
I cannot replicate this problem, it works on my JASP 0.18.3 release:
Can you replicate the issue and then save the file as a .jasp file, then zip this file and upload it here?
I tried again this morning and for some reason it looks like it's working now, so I guess we can close this?
JASP Version
0.18.3
Commit ID
No response
JASP Module
Machine Learning
What analysis are you seeing the problem on?
random forest regression
What OS are you seeing the problem on?
Windows 11
Bug Description
Explain predictions causes an error message for a random forest regression
Expected Behaviour
Someone on the forum has been discussing shapely values, so this new explain predictions feature was mentioned. Before I start using it for a paper I'm writing, I want to get a feel of how it works. I therefore tried to use it with the album sales dataset from the data library.
Steps to Reproduce
I therefore tried to use it with the album sales dataset from the data library. And then click on predictions but I get this message:
Album Sales: Linear Regression
Description:
This fictional data set, "Album Sales", provides factors that may influence album sales.
Variables:
This example JASP file demonstrates the use of linear regression. First, we will fit a simple model to see whether the adverts predict album sales. Then, we will test whether adding airplay and attractiveness improves the predictions of the model.
Reference:
Field, A. P. (2017). Discovering Statistics Using IBM SPSS Statistics (5th ed.). London: Sage. [Fictional data set]
The data set was constructed by Andy Field who therefore owns the copyright. Andy Field generously agreed that we can include the data set in the JASP data library. This data set is also publicly available on the website that accompanies Andy Field`s book, https://edge.sagepub.com/field5e. Without Andy Field`s explicit consent, this data set may not be distributed for commercial purposes, this data set may not be edited, and this data set may not be presented without acknowledging its source (i.e., the terms of a CC BY-NC-ND license).
Descriptive Statistics
Before conducting the analysis, it is good to produce some descriptive statistics.
First we will consider only two variables - sales predicted by adverts.
The descriptive statistics show us that we have 200 cases.
Log (if any)
No response
Final Checklist