統計
29 質問
0 回答
ランク
of 154,105
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
how to check if the coefficients received from lassoglm are significant?
I performed a logistic regression with lasso penalization. Without lasso penalization using glmfit I receive the p-value in the ...
6年以上 前 | 0 件の回答 | 0
0
回答質問
How can I test whether one classifier is significantly better?
I have a dataset consisting out of two classes. I try to classify the dataset using different classifiers. I want to test whethe...
6年以上 前 | 0 件の回答 | 0
0
回答質問
how to sort the rows of a matrix?
I have a matrix RG_table with two columns. I want to sort the rows of the matrix in descending order depending on column 2. Colu...
6年以上 前 | 0 件の回答 | 0
0
回答質問
How to plot an example for overfitting with matlab? (example image in the description)
I want to plot something similar to these three graphs <https://cdn-images-1.medium.com/max/1600/1*JZbxrdzabrT33Yl-LrmShw.png...
6年以上 前 | 0 件の回答 | 0
0
回答質問
How can I plot 2 rings in 3D?
I want to scatter 2 rings first in 2D and then in 3D. In 2D one circle should lie within the other. In 3D one circle should lie ...
6年以上 前 | 1 件の回答 | 0
1
回答質問
How to compute the integral?
I have a few lines of code yielding an output value R. I want to compute several values R for different alphas. Then I want to c...
6年以上 前 | 0 件の回答 | 0
0
回答質問
How to construct a binary logistic classifier?
I have a matrix X containing features and a vector y containing the labels. How can I perform logistic regression and compute th...
6年以上 前 | 0 件の回答 | 0
0
回答質問
How to plot the occurency of an element?
I have a vector period, which considers 10 periods. I have another vector a, where some of the periods ocurr multiple times, oth...
6年以上 前 | 1 件の回答 | 0
1
回答質問
How do I get the distance between the point and the hyperplane using libsvm?
I am using libsvm. I need to know, which observations are farest away from the hyperplane. libsvm returns me the "decision_value...
6年以上 前 | 1 件の回答 | 0
1
回答質問
How to optimize the parameters using libsvm?
Libsvm FAQ suggests this piece of code: bestcv = 0; for log2c = -1:3, for log2g = -4:1, cmd = ['-v 5 -c ', n...
6年以上 前 | 1 件の回答 | 0
1
回答質問
How can I do crossvalidation and oversampling with an imbalanced dataset?
I have an imbalanced dataset, with very few observations belonging to category 1 and a lot belonging to category 0. Therefore I ...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Avoid loop for equality
I have a variable h = 2:2:8 I want to have 4 output variables depending on the 4 differnt h A = y(s==h(1),:) As...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Store result of three nested for loops
I have a matrix X consisting out of variables of 50 period (loop 1). I want to do a forecast for different time horizons: 2,4,6,...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Index with for loop variable name and definition
I have a matrix A and avector y. I want to create a loop which names and defines them the matrix A from A1,...,A10. for i =...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Replace NAN in matrix with empty cells and reshape to matrix
I have a matrix X with several NAN values. I want replace the NAN with just blank cells, not zeros. Then I want to end up with a...
6年以上 前 | 0 件の回答 | 0
0
回答質問
How to import a 50mb csv file?
I have a csv file of size 50mb. The data is numbers and strings. I tried to import it using the import button in matlab. Now the...
6年以上 前 | 1 件の回答 | 0
1
回答質問
What is the predicted score and how can I use it for the distance of the datapoint to the hyperplane?
I am coding a support vector machine. When I try this code [label,score] = predict(Model,X_test_best_feature); then I g...
6年以上 前 | 0 件の回答 | 0
0
回答質問
How can I compute the distance of any datapoint to the decision boundary of a SVM done with fitcsvm?
I want to compute the distance of every datapoint to the decision boundary. I build the SVM with fitcsvm with an rbf kernel.
6年以上 前 | 1 件の回答 | 0
1
回答質問
How to store loop results where loop does not have whole numbers only
I want to store the loop results, however my loop is not only whole numbers. In the code you can see what I want to do, but it d...
6年以上 前 | 2 件の回答 | 0
2
回答質問
Repmat a vector n times where n is not a whole number
I have a vector y consisting out of 10 elements. I want have a for loop, where I repmat the vector y to a new vector. However re...
6年以上 前 | 2 件の回答 | 0
2
回答質問
How can I check if a condition holds?
I want to find the elements where the following condition holds: 0<x and y=1. x and y are arrays. How can I find the rows w...
6年以上 前 | 1 件の回答 | 0
1
回答質問
How to sum elements in a matrix rowwise for specific columns only?
I have a matrix X, consisting out of 100 rows and 10 columns. I want to sum up columns 7 to 10 to one single number, yielding a ...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Support Vector Machine: Feature selection with sequentialfs()
I want to programme a support vector machine. I have 60 features. Using the function sequentialfs() it goes either forward or ba...
6年以上 前 | 0 件の回答 | 0
0
回答質問
Randperm same sequence each time you run the code
Is there a possibility to have each time the same random permutation when you run the code to make results comparable? ...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Count rows > target value
I have a matrix A with observations (only two in the example) in the rows and features (five in the example) in the columns. I w...
6年以上 前 | 1 件の回答 | 0
1
回答質問
How to get the opposite elements of a vector specified by an index?
I have a variable s picking 70 random numbers from 0 to 100. Now I want to have all 30 elements of the vector a, which are not i...
6年以上 前 | 1 件の回答 | 0
1
回答質問
How to use Monte Carlo Simulation in a linear regression?
I have a linear regression model with a lagged dependet variable: y_new=beta1+beta2*x+u n=4; %sample size u=normrnd(0,1,...
7年弱 前 | 1 件の回答 | 0
1
回答質問
Monte Carlo simulation of a linear regression model with a lagged dependet variable
I have a linear regression model with a lagged dependet variable: y_t=beta_0 + beta_1 * y_{t-1} + u_t The initial starting poi...
7年弱 前 | 0 件の回答 | 0
0
回答質問
How to use just one output out of a function with several outputs in an equation?
I have a function with three outputs depending on x. I want to use one of these three say B(x) in an equation: function [ A...
約7年 前 | 1 件の回答 | 0