Community Profile

# Ive J

Last seen: 3일 전 2013년부터 활동

Computational biologist.

Programming Languages:
Python, R, MATLAB
Spoken Languages:
English

All

배지 보기

#### Content Feed

보기 기준

답변 있음
Importance of predictors within an Optimizable GPR model
It's almost always good to look at both local and global levels. In case of lime or SHAP, you can calculate on a random subset o...

19일 전 | 0

| 수락됨

답변 있음
Linear and Logistic Regressions to control for a possible confouding variable
whether or not should you adjust for some covariates in your model heavily depends on your understaind of the matter you study. ...

대략 1개월 전 | 0

답변 있음
a philosophical question regarding function (how many tasks should be wrapped inside a function?)
Assuming you're gonna stick with those variable names, you can do somethig like this: T1 = array2table(["matlab 101"; "C++ 20...

3개월 전 | 0

| 수락됨

답변 있음
.MAT file with multiple tabs/sheets
you can do something like this, and write each sheet to fields of a structure: snames = sheetnames("myfile.xlsx"); out = s...

3개월 전 | 1

답변 있음
Why does meanEffectSize() use sqrt((varX + varY)/2) for the paired cohensD calculation?
I assume you mean (check more flavors in this paper): x = [10 12 15 8 11]; y = [14 18 16 12 13]; d = mean(x-y)/std(x-y) ...

4개월 전 | 1

| 수락됨

답변 있음
Multioutput Regression models in MATLAB
I'm not aware of such a function in MATLAB, but you can loop over your target/response variables, and each time fit a new model....

4개월 전 | 0

| 수락됨

답변 있음
How to cluster data in a boxplot?

4개월 전 | 0

| 수락됨

답변 있음
How to force enable GPU usage in fitrgp
fitrgp does not [yet] support GPU arrays. You can easily scroll down the doc page and check "Extended Capabilities" for each fun...

6개월 전 | 0

| 수락됨

답변 있음
Struggling to lay 2D points over a 3D scatter plot
what about hold on? hold on voc = [125, 45, 0; 140, 39, 0]; scatter3(voc(:, 1), voc(:, 2), voc(:, 3), "*") % or plot3

6개월 전 | 0

| 수락됨

답변 있음
how to count uncommented ligns in matlab file?
% doc readlines % lines = readlines("myfunc.m"); lines = [" % comment 1" "dummy = 1 + 3;" " " "%{" "th...

6개월 전 | 2

| 수락됨

답변 있음
Right measure for logistic regression of imbalance data and dealing with Complete Separation
It's probably a bit late for your original problem, but since it's an important question and MATLAB still lacks such important f...

1년 초과 전 | 0

답변 있음
How to get the sum of squares in GLM model summary ?
You can get SST, SSE and SSR: mdl = fitglm(rand(100, 2), randi([0 1], 100, 1), 'dist', 'binomial', 'link', 'logit'); mdl.SSE...

1년 초과 전 | 0

| 수락됨

질문

tall array within a parfor?
Consider the following scenario: ds = datastore(...); dst = tall(ds); parfor ... % warning here: dst is a broadca...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
Sort cell numbers ?
If by sort, you mean sort within each element of cell array: G = {[-83;-84] [-65] [-50;-47] [-33;-30] [-26;-22] [-16;-15] [-6; ...

1년 초과 전 | 0

답변 있음
Using movmean to calculate mean of first and last element in array

1년 초과 전 | 0

| 수락됨

답변 있음
exportgraphics dynamic file name
% A = {'name1', ...} for k = 1:16 %rest of the code c = colorbar; c.Label.String = A{k}; ...

1년 초과 전 | 1

| 수락됨

답변 있음
stepwiseglm model seems to be missing parameters?
It does include both. You should mind the model formula in MATLAB (AKA Wilkinson Notation): x1*x2 is x1 + x2 + x1:x2. See also...

1년 초과 전 | 0

| 수락됨

답변 있음
Create a double identity matrix matlab
Maybe not the best way, but works: % taken from doc kron n = 12; I = speye(n, n); E = sparse(2:n, 1:n-1, 1, n, n); K = fu...

1년 초과 전 | 0

답변 있음
Vector dimesions are different before encoding json and after decoding json
How about this? mystr.f1 = 1:4; mystr.f2 = (1:4).'; js = jsonencode(mystr); newstr = jsondecode(js) fnames = fieldnames...

1년 초과 전 | 0

| 수락됨

답변 있음
How do I match an annotations.json file with their respective images from an image folder?
Try this js = jsondecode(fileread("annotations.json.txt")) % file extension was changed only for upload % get info of first ...

1년 초과 전 | 0

답변 있음
How to add to Matlab a path with a @Folder

1년 초과 전 | 2

| 수락됨

답변 있음
Can MATLAB save the Profiler results table (Function Name, Calls, etc.) to a text file or a spreadsheet?
info = load("info.mat").info; infotab = struct2table(info.FunctionTable); infotabMain = infotab(:, ["FunctionName", "NumCalls"...

1년 초과 전 | 0

| 수락됨

답변 있음
Estimate p-values of fitted parameters using armax from sysid toolbox
armax returns parameters and their uncertainties; then you can calculate the p-values. load iddata9 z9 na = 4; nc = 1; sys ...

1년 초과 전 | 0

| 수락됨

답변 있음
Optimization of manipulating an array
a = [1, 0, 5, 0, 6, 0, 12, 0]; b = a; a_adj_mean = movmean(a(1:2:end), 2); zero_idx = a == 0; b(zero_idx(1:end - 1)) = a_a...

1년 초과 전 | 0

| 수락됨

답변 있음
calculate the number of times each codon appears in a .mat file
Maybe this example would help: % create a random DNA seq dna_codes = ['A', 'T', 'G', 'C']; dna_str = string(dna_codes(randi(n...

1년 초과 전 | 0

답변 있음
jsonecode doesn't support complex doubles
Here says: "JSON has no standard way to represent complex numbers, so there is no way to test for them in JSON Schema." Here a...

1년 초과 전 | 0

| 수락됨

답변 있음
Increase width of x axis
You need to set gca and not gcf: set(gca, 'Position', ...)

1년 초과 전 | 0

답변 있음
Combine hundred of mat files into one mat file (same quantity of row and column)
You can load all together: files = ["bearing1_1_1.mat", "bearing1_1_2.mat"]; % add all files here, use dir or ls ds = fileData...

1년 초과 전 | 0

답변 있음
retrieve data from a website with multiple pages