
the cyclist
Alden Scientific
Head of Modeling and Statistics at Alden Scientific. Obsessive runner. Professional Interests: Predictive modeling, statistics. (I don't respond to email via author page, but will usually look at a question if you send me a link to it.)
Python, R, MATLAB, SQL
Spoken Languages:
English
Pronouns:
He/him
Statistics
RANK
15
of 298,528
REPUTATION
15,590
CONTRIBUTIONS
49 Questions
5,313 Answers
ANSWER ACCEPTANCE
73.47%
VOTES RECEIVED
2,945
RANK
10,327 of 20,607
REPUTATION
58
AVERAGE RATING
0.00
CONTRIBUTIONS
1 File
DOWNLOADS
5
ALL TIME DOWNLOADS
585
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Would kfold loss values vary if cross validation is performed after model training?
The predictions will be identical, as long as you use the same fold assignments: % Set seed, for reproducibility rng default ...
3 hours ago | 0
| accepted
How to create a pdf from the histogram
You can use the histogram function to create and plot a histogram. You can use the ksdensity function to estimate a non-paramet...
5 days ago | 1
| accepted
More unexpected behavior multiplying an array with a double
Using the simpler example that @Stephen23, posted S(1).x = pi; S(2).x = sqrt(2); S.x Note that S.x is not a double array. ...
12 days ago | 1
| accepted
How does one obtain the covariance matrix for the fixed effects from fitting a mixed effect model using fitlme or fitlmematrix?
A LinearMixedModel object lme has a CoefficientCovariance property, which you can obtain with lme.CoefficientCovariance This i...
21 days ago | 0
| accepted
Hyperparameter optimization fitrnet not working
Per the documentation for fitrnet ... "You can use an array ResponseVarName to specify multiple response variables. (since R202...
26 days ago | 0
| accepted
Shapley based feature selection
The Shapley values don't require the class labels (i.e. the actual responses) to determine feature importance. The Shapley valu...
2 months ago | 1
| accepted
Solved
Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...
2 months ago
Solved
Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...
2 months ago
Solved
Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...
2 months ago
Solved
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
2 months ago
Solved
Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...
2 months ago
Solved
Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.
2 months ago
Solved
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
2 months ago
Solved
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
2 months ago
Solved
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
2 months ago
Solved
the average value of the elements
Calculate the average value of the elements in the array
2 months ago
Solved
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...
2 months ago
Solved
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
2 months ago
Solved
Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...
2 months ago
Solved
Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...
2 months ago
Solved
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
2 months ago
Preserving More Decimal Places When Importing Excel Files with readtable in MATLAB
All decimal places are retained for me ... % Change the format format long % Read the file r = readtable("Lab.xlsx"); % H...
4 months ago | 0
How to get MPE (Mean Percentage Error) with plsregress
The documentation doesn't seem to indicate any way to change the metric that is optimized. (This is unsurprising to me.) I can ...
4 months ago | 0
| accepted