Risposto

difference between bernoulli and binomial random variables

The Bernoulli distribution is a special case of the binomial distribution, with the number of trials n = 1. https://en.wikip...

difference between bernoulli and binomial random variables

The Bernoulli distribution is a special case of the binomial distribution, with the number of trials n = 1. https://en.wikip...

oltre 10 anni fa | 0

Risposto

How to use KNN to classify data in MATLAB?

You need a validation set if you want to tune certain parameters in the classifier. For example if you were to use SVM with rbf ...

How to use KNN to classify data in MATLAB?

You need a validation set if you want to tune certain parameters in the classifier. For example if you were to use SVM with rbf ...

oltre 10 anni fa | 2

Risposto

Why does quadprog return different results on different machines?

Did you provide the starting point yourself? If you have multiple optimums then the result will be sensitive to the starting poi...

Why does quadprog return different results on different machines?

Did you provide the starting point yourself? If you have multiple optimums then the result will be sensitive to the starting poi...

oltre 10 anni fa | 0

Risposto

Running >1 matlabpool jobs with the same local pool

Maximum of 1 MATLAB worker per CPU core is recommended. This does not include hyperthreaded virtual cores. As an examples, if yo...

Running >1 matlabpool jobs with the same local pool

Maximum of 1 MATLAB worker per CPU core is recommended. This does not include hyperthreaded virtual cores. As an examples, if yo...

oltre 10 anni fa | 0

Risposto

Wind speed forecasting using ARIMA model

Forecast will never be identical to the actual series. After all this is a model. To quote famous statistician George Box "ess...

Wind speed forecasting using ARIMA model

Forecast will never be identical to the actual series. After all this is a model. To quote famous statistician George Box "ess...

oltre 10 anni fa | 1

| accettato

Risposto

How to do parameter estimation of a ODE based model through Global Optimization Toolbox?

More details on how you would go about fitting an ODE using optimization: http://www.mathworks.com/help/optim/ug/optimizing-a...

How to do parameter estimation of a ODE based model through Global Optimization Toolbox?

More details on how you would go about fitting an ODE using optimization: http://www.mathworks.com/help/optim/ug/optimizing-a...

oltre 10 anni fa | 0

Risposto

how can use optimization without using optimization tool box from the matlab simulink

Some solvers are part of MATLAB and don't need the optimization toolbox: http://www.mathworks.com/help/matlab/optimization.ht...

how can use optimization without using optimization tool box from the matlab simulink

Some solvers are part of MATLAB and don't need the optimization toolbox: http://www.mathworks.com/help/matlab/optimization.ht...

oltre 10 anni fa | 1

| accettato

Risposto

IS THERE ANY TOOLBOX FOR K MEANS CLUSTERING IN MATLAB?

<http://www.mathworks.com/help/stats/kmeans.html KMEANS> is part of the Statistics Toolbox as dpb mentioned. If you are interes...

IS THERE ANY TOOLBOX FOR K MEANS CLUSTERING IN MATLAB?

<http://www.mathworks.com/help/stats/kmeans.html KMEANS> is part of the Statistics Toolbox as dpb mentioned. If you are interes...

oltre 10 anni fa | 2

Risposto

how to write the code to smooth a function and then minimize it

GA is quite robust to discontinuities and 'non-smooth' objective functions. Did you give it a try without smoothing? When the...

how to write the code to smooth a function and then minimize it

GA is quite robust to discontinuities and 'non-smooth' objective functions. Did you give it a try without smoothing? When the...

oltre 10 anni fa | 0

Risposto

What Matlab can do without toolbox

No, you need the global optimization toolbox. What are you looking to do?

What Matlab can do without toolbox

No, you need the global optimization toolbox. What are you looking to do?

oltre 10 anni fa | 0

Risposto

Forecasting with an AR(8) model

Have you seen the doc already? If you haven't here's the link to ARIMA models: http://www.mathworks.com/help/econ/arima.estim...

Forecasting with an AR(8) model

Have you seen the doc already? If you haven't here's the link to ARIMA models: http://www.mathworks.com/help/econ/arima.estim...

oltre 10 anni fa | 0

| accettato

Risposto

Why is my resubLoss so high?

Maybe a single regression tree is not sufficient to model your data. You may want to try using an ensemble of bagged trees. ...

Why is my resubLoss so high?

Maybe a single regression tree is not sufficient to model your data. You may want to try using an ensemble of bagged trees. ...

oltre 10 anni fa | 0

| accettato

Risposto

fitlm - change the output of this function

Tania, you get everything by default. If you want to be specific you may have to suppress the commandline output (using semicolo...

fitlm - change the output of this function

Tania, you get everything by default. If you want to be specific you may have to suppress the commandline output (using semicolo...

oltre 10 anni fa | 0

| accettato

Risposto

confidence intervals with lsqlin

If you have constraints (looks like you do since you use lsqlin) then you will have to explore bootstrapping methods to estimate...

confidence intervals with lsqlin

If you have constraints (looks like you do since you use lsqlin) then you will have to explore bootstrapping methods to estimate...

oltre 10 anni fa | 1

| accettato

Risposto

Features selection based on mutual information

You can start by obtaining code for mutual information on file exchange: http://www.mathworks.com/matlabcentral/fileexchange/...

Features selection based on mutual information

You can start by obtaining code for mutual information on file exchange: http://www.mathworks.com/matlabcentral/fileexchange/...

oltre 10 anni fa | 0

Risposto

Binornd draws '1' every time

Why don't you generate all of your random numbers before hand and just use index into the array at each loop iteration? It shoul...

Binornd draws '1' every time

Why don't you generate all of your random numbers before hand and just use index into the array at each loop iteration? It shoul...

oltre 10 anni fa | 0

Risposto

Can I install the Matlab&Simulink student version (R2013a) in more than one of my PCs??

If you go to your mathworks account you may be able to activate it on another machine. I would recommend you give these guys a ...

Can I install the Matlab&Simulink student version (R2013a) in more than one of my PCs??

If you go to your mathworks account you may be able to activate it on another machine. I would recommend you give these guys a ...

oltre 10 anni fa | 0

| accettato

Risposto

Parallel computing on a cluster

My guess is that when you queue it, it launches MATLAB without Java. Java is required to use PCT. That also explains why it wo...

Parallel computing on a cluster

My guess is that when you queue it, it launches MATLAB without Java. Java is required to use PCT. That also explains why it wo...

oltre 10 anni fa | 0

| accettato

Risposto

Interpolation of non-regular matrices

Scattered Interpolation is the way to go: http://www.mathworks.com/help/matlab/math/interpolating-scattered-data.html If t...

Interpolation of non-regular matrices

Scattered Interpolation is the way to go: http://www.mathworks.com/help/matlab/math/interpolating-scattered-data.html If t...

oltre 10 anni fa | 0

Risposto

Explain this one line of code

Aftab, Random number generators are really pseudorandom (deterministic). This means for a given "seed" you can consistently rege...

Explain this one line of code

Aftab, Random number generators are really pseudorandom (deterministic). This means for a given "seed" you can consistently rege...

oltre 10 anni fa | 0

Risposto

pca function automatically mean-centers

You are right, by default PCA centers the data. You can however ask PCA not to do that: http://www.mathworks.com/help/stats/p...

pca function automatically mean-centers

You are right, by default PCA centers the data. You can however ask PCA not to do that: http://www.mathworks.com/help/stats/p...

oltre 10 anni fa | 1

Risposto

Train ten numbers and identify new inserted number

Your question is not clear. However, there are plenty of examples in the Neural Network Toolbox documentation: http://www.mat...

Train ten numbers and identify new inserted number

Your question is not clear. However, there are plenty of examples in the Neural Network Toolbox documentation: http://www.mat...

oltre 10 anni fa | 2

Risposto

ANOVA Cofficients: anovan stats.coeffs

More information about the n-way anova model: http://www.mathworks.com/help/stats/anova.html#bqttd3j-1

ANOVA Cofficients: anovan stats.coeffs

More information about the n-way anova model: http://www.mathworks.com/help/stats/anova.html#bqttd3j-1

oltre 10 anni fa | 0

| accettato

Risposto

Parallel Computing Toolbox compatibility with Nvidia graphics cards

NVIDIA CUDA GPUs with compute capability version 1.3 or higher, including Tesla GPUs. These GPUs support double-precision comput...

Parallel Computing Toolbox compatibility with Nvidia graphics cards

NVIDIA CUDA GPUs with compute capability version 1.3 or higher, including Tesla GPUs. These GPUs support double-precision comput...

oltre 10 anni fa | 1

Risposto

Crossval and regressiontree.fit - how does crossval works?

*What does KFold 10 means?* <https://en.wikipedia.org/wiki/Cross-validation_(statistics)> *matlab has done exactly?* MA...

Crossval and regressiontree.fit - how does crossval works?

*What does KFold 10 means?* <https://en.wikipedia.org/wiki/Cross-validation_(statistics)> *matlab has done exactly?* MA...

oltre 10 anni fa | 0

| accettato

Risposto

Neural Networks toolbox - How to choose which 'divideFcn' to use for time series prediction?

You can use any approach that works best for you. For time-series data, the toolbox uses lagged observations to create new predi...

Neural Networks toolbox - How to choose which 'divideFcn' to use for time series prediction?

You can use any approach that works best for you. For time-series data, the toolbox uses lagged observations to create new predi...

oltre 10 anni fa | 2

Risposto

Panel Data Regression

http://www.mathworks.com/videos/multilevel-mixed-effects-modeling-using-matlab-91755.html Various panel regression models are...

Panel Data Regression

http://www.mathworks.com/videos/multilevel-mixed-effects-modeling-using-matlab-91755.html Various panel regression models are...

oltre 10 anni fa | 0

| accettato

Risposto

External regressors in the volatility process of a GARCH.

You can include exogenous inputs to the arima model (arimax) with a garch variance model: mdl = arima('AR',0.2,'D',1,'MA',0...

External regressors in the volatility process of a GARCH.

You can include exogenous inputs to the arima model (arimax) with a garch variance model: mdl = arima('AR',0.2,'D',1,'MA',0...

oltre 10 anni fa | 1

Risposto

MATLAB CODE FOR 1 HIDDEN LAYER

There are plenty of examples in the neural network toolbox documentation: http://www.mathworks.com/help/nnet/function-approxi...

MATLAB CODE FOR 1 HIDDEN LAYER

There are plenty of examples in the neural network toolbox documentation: http://www.mathworks.com/help/nnet/function-approxi...

oltre 10 anni fa | 1

| accettato

Risposto

Using multiple CPU each with multicore, MATLAB only uses one of the CPUS

In MATLAB 2014a, there are no limits to how many workers you can use on a single machine, however it is recommended that you use...

Using multiple CPU each with multicore, MATLAB only uses one of the CPUS

In MATLAB 2014a, there are no limits to how many workers you can use on a single machine, however it is recommended that you use...

oltre 10 anni fa | 1