Answered

How to use a KNN classifier from Matlab in c++

Little late, but with MATLAB Coder you can convert a prediction function for KNN to C/C++ code, and then use that with your othe...

How to use a KNN classifier from Matlab in c++

Little late, but with MATLAB Coder you can convert a prediction function for KNN to C/C++ code, and then use that with your othe...

1 year ago | 0

Answered

Is there any way to port the predict process of a machine learning model to C/C++ codes

Little late, but since 2017, with MATLAB Coder you can generate C/C++ code for your machine learning prediction function.

Is there any way to port the predict process of a machine learning model to C/C++ codes

Little late, but since 2017, with MATLAB Coder you can generate C/C++ code for your machine learning prediction function.

1 year ago | 0

Answered

Can I plot/apply more than two predictors using classification learner app?

It's for plotting only, a simple 2-dimensional scatter plot is available in the Classification Learner. You can train classifier...

Can I plot/apply more than two predictors using classification learner app?

It's for plotting only, a simple 2-dimensional scatter plot is available in the Classification Learner. You can train classifier...

1 year ago | 0

Answered

Clustering with big data

Maybe you are using the LINKAGE function incorrectly. You already has the pairwise distances, but for some reason the LINKAGE fu...

Clustering with big data

Maybe you are using the LINKAGE function incorrectly. You already has the pairwise distances, but for some reason the LINKAGE fu...

1 year ago | 0

| accepted

Answered

Finding Pattern in the data set

You are asking a very basic question, like "tell me how to apply data analytics", which is why the comment pointed you to the mo...

Finding Pattern in the data set

You are asking a very basic question, like "tell me how to apply data analytics", which is why the comment pointed you to the mo...

1 year ago | 0

Answered

Machine learning: Ensemble trees in a time series classification problem.

How are you encoding the time dependency in your predictors? If you add predictors that look back fixed number of elements in yo...

Machine learning: Ensemble trees in a time series classification problem.

How are you encoding the time dependency in your predictors? If you add predictors that look back fixed number of elements in yo...

1 year ago | 0

Answered

not getting same accuracy as classifier app

The model trained inside the Learner app doesn't exactly match the exported model because the latter will be trained on the comp...

not getting same accuracy as classifier app

The model trained inside the Learner app doesn't exactly match the exported model because the latter will be trained on the comp...

1 year ago | 0

Answered

Is there a way to parallelize the function hygepdf?

I am not an expert for the Parallel Computing toolbox, but if the calculation inside the for loop body is fairly simple (as it l...

Is there a way to parallelize the function hygepdf?

I am not an expert for the Parallel Computing toolbox, but if the calculation inside the for loop body is fairly simple (as it l...

1 year ago | 0

Answered

Classification Learner App - generate a more generic function for your model training that could take varying size of prediction tables? One step beyond the default function generation

But if your table has fewer columns (predictors) typically you need to retrain the model, or at least have performance deteriora...

Classification Learner App - generate a more generic function for your model training that could take varying size of prediction tables? One step beyond the default function generation

But if your table has fewer columns (predictors) typically you need to retrain the model, or at least have performance deteriora...

1 year ago | 0

Question

Problems trying to set iOS and get Human Activity Recognition example deployed on iPhone

I'm following the Human Activity Recognition Simulink example in doc in a MacBook. I successfully installed the Simulink support...

1 year ago | 0 answers | 0

Answered

How can I classify columns of a table

You could try to train a classifier by considering each data point of your table an example for the corresponding column's name ...

How can I classify columns of a table

You could try to train a classifier by considering each data point of your table an example for the corresponding column's name ...

1 year ago | 0

Answered

How to provide parameters in fitrensemble

The parameters 'MinLeafSize', and 'MaxNumSplits' are available for optimization, see <https://www.mathworks.com/help/stats/fitre...

How to provide parameters in fitrensemble

The parameters 'MinLeafSize', and 'MaxNumSplits' are available for optimization, see <https://www.mathworks.com/help/stats/fitre...

1 year ago | 0

Answered

Is the function TreeBagger(NumTrees,Tbl,ResponseVarName) with NumTrees = 300 considered as random forest ?

TreeBagger grows a forest of trees, but that's a random forest not just with 300 of them.

Is the function TreeBagger(NumTrees,Tbl,ResponseVarName) with NumTrees = 300 considered as random forest ?

TreeBagger grows a forest of trees, but that's a random forest not just with 300 of them.

2 years ago | 0

| accepted

Answered

How to use classification learner for real time data (from serial port) for classification?

You can find an example how to read data from a serial device <https://www.mathworks.com/help/supportpkg/raspberrypiio/ref/raspi...

How to use classification learner for real time data (from serial port) for classification?

You can find an example how to read data from a serial device <https://www.mathworks.com/help/supportpkg/raspberrypiio/ref/raspi...

2 years ago | 0

Answered

How to prioritize the cluster on the basis of number of data points in each cluster?

If X was your data, you could get the histogram with h = histogram(X); and then compare the centroids of your clusters ...

How to prioritize the cluster on the basis of number of data points in each cluster?

If X was your data, you could get the histogram with h = histogram(X); and then compare the centroids of your clusters ...

2 years ago | 1

| accepted

Answered

How can I mark several features in an image with 'insertMarker' and save the image at full resolution?

That looks like you are on the right track, and should work if pos corresponds to a vector of (x y) positions for the markers. W...

How can I mark several features in an image with 'insertMarker' and save the image at full resolution?

That looks like you are on the right track, and should work if pos corresponds to a vector of (x y) positions for the markers. W...

2 years ago | 0

| accepted

Answered

help in in writing fuzzy fp growth algorithm in matlab

Maybe this File Exchange submission helps you get started: <https://www.mathworks.com/matlabcentral/fileexchange/52868-fp-growth...

help in in writing fuzzy fp growth algorithm in matlab

Maybe this File Exchange submission helps you get started: <https://www.mathworks.com/matlabcentral/fileexchange/52868-fp-growth...

2 years ago | 0

| accepted

Answered

CNN - training, cross-validating and testing procedure -procedure and issues

Yes, leaving-on-out is typically used to approximate performance on an unseen test set, but if you use it to optimize hyperparam...

CNN - training, cross-validating and testing procedure -procedure and issues

Yes, leaving-on-out is typically used to approximate performance on an unseen test set, but if you use it to optimize hyperparam...

2 years ago | 0

| accepted

Answered

I have been stuck on the followng quesiton,please help.

It's not our role to help solve course problems here, but maybe copularnd and corr will let you do what you need.

I have been stuck on the followng quesiton,please help.

It's not our role to help solve course problems here, but maybe copularnd and corr will let you do what you need.

2 years ago | 0

Answered

Time Series Classification Advice

For deep learning with time series, practitioners are using LSTM. Here's an example in our documentation that shows you how to a...

Time Series Classification Advice

For deep learning with time series, practitioners are using LSTM. Here's an example in our documentation that shows you how to a...

2 years ago | 0

Answered

Decision tree on binary data?

To apply machine learning to any binary classification problem, you need examples for both the class you are looking for (true d...

Decision tree on binary data?

To apply machine learning to any binary classification problem, you need examples for both the class you are looking for (true d...

2 years ago | 0

| accepted

Answered

Classification learner APP, why is there no leave one out option?

Leaving one out is not supported in the Learner app because it may have significant runtime, but it is supported in the programm...

Classification learner APP, why is there no leave one out option?

Leaving one out is not supported in the Learner app because it may have significant runtime, but it is supported in the programm...

2 years ago | 1

| accepted

Answered

Lasso/Elastic Net feature selection with kFold crossvalidation

Crossvalidation just applies to assessing model performance. As described <https://www.mathworks.com/discovery/cross-validation....

Lasso/Elastic Net feature selection with kFold crossvalidation

Crossvalidation just applies to assessing model performance. As described <https://www.mathworks.com/discovery/cross-validation....

2 years ago | 0

Answered

Looking for the use of Matlab's hmcSampler to estimate a discrete-choice multinomial logit model; i.e., conjoint analysis to yield estimates at the individual respondent level. Would love to see your code setup.

Have you checked out the example <https://www.mathworks.com/help/stats/hmcsampler.html in doc> ?

Looking for the use of Matlab's hmcSampler to estimate a discrete-choice multinomial logit model; i.e., conjoint analysis to yield estimates at the individual respondent level. Would love to see your code setup.

Have you checked out the example <https://www.mathworks.com/help/stats/hmcsampler.html in doc> ?

2 years ago | 0

Answered

Preparation of the data for N-Way ANOVA

Per documentation, you provide anovan a set of measurements and multiple assignments to different groups. I'm not sure you actua...

Preparation of the data for N-Way ANOVA

Per documentation, you provide anovan a set of measurements and multiple assignments to different groups. I'm not sure you actua...

2 years ago | 0

Answered

How to manage big data with Classification Learner

"Tall arrays" are currently not supported from within the Learner apps. If your data doesn't fit into memory, you have to use th...

How to manage big data with Classification Learner

"Tall arrays" are currently not supported from within the Learner apps. If your data doesn't fit into memory, you have to use th...

2 years ago | 1

| accepted

Answered

how to use multiple groups load in matlb plzzz help me and correct my code

The standard SVM training function indeed supports only binary classification. You need to use fitcecoc for multi-class SVM clas...

how to use multiple groups load in matlb plzzz help me and correct my code

The standard SVM training function indeed supports only binary classification. You need to use fitcecoc for multi-class SVM clas...

2 years ago | 0

| accepted

Answered

Do random forest, K-means, SVM take into consideration past value in time series ?

Your model takes into consideration whatever you provide as predictor variables with your data. None of the machine learning met...

Do random forest, K-means, SVM take into consideration past value in time series ?

Your model takes into consideration whatever you provide as predictor variables with your data. None of the machine learning met...

2 years ago | 0

| accepted

Answered

How do you test a classification model in real time with certain set of variables?

Yes, you have to process the incoming data so its columns are named the same (and in the same order) as how you structured the d...

How do you test a classification model in real time with certain set of variables?

Yes, you have to process the incoming data so its columns are named the same (and in the same order) as how you structured the d...

2 years ago | 0

Answered

How to use random forest method

You could read your data into the Classification Learner app (New Session - from File), and then train a "Bagged Tree" on it (th...

How to use random forest method

You could read your data into the Classification Learner app (New Session - from File), and then train a "Bagged Tree" on it (th...

2 years ago | 1