Skip to main content

Questions tagged [r]

R is a free, open-source programming language and software environment for statistical computing, bioinformatics, and graphics.

0 votes
0 answers
9 views

Is there a way to create a bootstrapped beta calibration function to use on new data?

I have created ML classification models that are now to be evaluated on a different population for external validation (n=5000, event rates between n=400 and n=1200 for different outcomes under study)....
mmo's user avatar
  • 1
0 votes
0 answers
26 views

Help with bsts model save

I am working on a projet where I need to make predictions using bsts package in r. I trained my bsts model and i want to save the model to use it instead of retraining every day, but when i saved the ...
Ria's user avatar
  • 11
1 vote
1 answer
26 views

Guidelines for image recognition model (inventory purposes)

I have 20,000 plus images of art (paintings, sculptures, jars, etc). My goal is creating a model that, from an input (image), identifies the exact same piece of art and returns its id, details, etc. ...
Romina Silvera's user avatar
0 votes
1 answer
16 views

cor() function in R returns NA when given two integers or continuous values

Using R version 4.4.0, I was using the cor() function and originally inputting two continuous values to obtain a default calculated correlation. NA is returned instead of a numeric. I'm able to ...
vficarrotta's user avatar
1 vote
0 answers
20 views

What informatics tools will allow complex search in order to select full-text articles?

I'd like to search plant science literature (full text) to only return articles in which the word "three" appears four or more times in the full-text Methods section (presumably the best ...
Abiologist's user avatar
1 vote
0 answers
9 views

Use a metric that is not available in the list of metric for xgboost

Working in R. I am following this post on stack overflow. I am train an xgboost model and I want to use another metric that is not in the list of metric we can whoose for the eval_metric parameter. I ...
Camillionnaire's user avatar
0 votes
0 answers
10 views

Fequency encoding in R while using a cross validated model: How to use step_lencode_mixed()

One way of addressing high cardinality in a column is the use of frequency encoding. However, if you use a cross validated analysis plan the you would need to re-encode the column at each step. It's ...
Englishman Bob's user avatar
1 vote
0 answers
30 views

Why do I get missing value error in XGBoost when it is supposed to be supported?

I read that in the latest versions of XGBoost, the model can handle missing values. I am using the model on some data that contains for example, the BMI, bloodpressure, age, binary data (yes/no) and ...
NancyChez's user avatar
0 votes
1 answer
10 views

Error in f1(x) : argument "y" is missing, with no default

f <- function(x,y){2x^2(y-2)^2+6xy} integrate(f, -2, 4) #Error in f1(x) : argument "y" is missing, with no default
user163552's user avatar
0 votes
1 answer
15 views

Struggling with normalization/Standardisation for machine learning dataset

Sorry for what is probably a very obvious/rookie question. I'm currently doing a data science module for my degree and making very slow progress with the work. The case study i'm doing is around HR ...
Alex Ferry's user avatar
1 vote
0 answers
9 views

Checking MixedModel convergence in Julia

I'm trying to teach myself how to use Julia as an alternative to R, and was running into some trouble with checking convergence of a MixedModel object. In R, if I use the following code ...
Vincent's user avatar
  • 11
0 votes
0 answers
12 views

How can I combine/pool of the results of regression with neural network?

My study has ten imputed dependent variables (plausible values). After separately analyzing each dependent variable using a regression neural network (NN), I must combine/pool the results. I tried ...
minre's user avatar
  • 1
0 votes
0 answers
14 views

How to get probability of an outcome from skewed t distribution in R

I am trying to calculate the probability of stock return to be greater than X in next 28 days, using the skewed t-distribution as it fits the best to the ...
Krishnang K Dalal's user avatar
0 votes
1 answer
13 views

lookup tables with multiple (possibly partly empty key columns) - prefer specific match over general one

Assume I have a table with samples: ID sample type origin project_l1 project_l2 project_l3 ... 1 DNA Blood p1 p1.1 p1.1.1 p1... 2 DNA Blood p1 p1.1 p1.1.2 p1... 3 DNA Blood p1 p1.1 4 DNA Blood p1 ...
jf1's user avatar
  • 101
0 votes
0 answers
10 views

What am I doing wrong with my code. The graph is not creating a well behaved log.likelihood graph

...
T15266489's user avatar

15 30 50 per page
1
2 3 4 5
99