Submitted

Heart Sound Classifier

Heart Sound Classification demo as explained in the Machine Learning eBook, but now expanded to demonstrate Wavelet scattering

1 year ago | 136 downloads |

Solved

Find the peak 3n+1 sequence value

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

1 year ago

Solved

Similar Triangles - find the height of the tree

Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

1 year ago

Answered

Classification learner - identify false prediction indexes

Unfortunately, that isn't supported directly in the Classification Learner. But you can export your trained model to the MATLAB ...

Classification learner - identify false prediction indexes

Unfortunately, that isn't supported directly in the Classification Learner. But you can export your trained model to the MATLAB ...

1 year ago | 0

| accepted

Solved

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

1 year ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

1 year ago

Solved

Return the largest number that is adjacent to a zero

This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

1 year ago

Solved

Fibonacci sequence

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

1 year ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1 year ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

1 year ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

1 year ago

Answered

Principal Component for Shape Analysis.

Per documentation of pca, your "Mode" are " .. the representations of X in the principal component space. Rows of scorecvorrespo...

Principal Component for Shape Analysis.

Per documentation of pca, your "Mode" are " .. the representations of X in the principal component space. Rows of scorecvorrespo...

2 years ago | 0

| accepted

Answered

precision recall curve from Bag of Visual words classifier

You need to systematically vary the threshold (or related parameter) determining whether you accept or reject the detection. You...

precision recall curve from Bag of Visual words classifier

You need to systematically vary the threshold (or related parameter) determining whether you accept or reject the detection. You...

2 years ago | 1

| accepted

Answered

Why identical outputs despite different inputs to a machine learning models

Of course it could predict the same category for different kinds of inputs, especially if there aren't a lot of categories... Or...

Why identical outputs despite different inputs to a machine learning models

Of course it could predict the same category for different kinds of inputs, especially if there aren't a lot of categories... Or...

2 years ago | 0

Answered

Sequentialfs, the squential feature selection function of matlab

You determine which model it uses by how you define the function fun that calculates a criterion based on training and test data...

Sequentialfs, the squential feature selection function of matlab

You determine which model it uses by how you define the function fun that calculates a criterion based on training and test data...

2 years ago | 0

Answered

Adding a machine learning algorithm

The Learner Apps are targeted at casual users, empowering them to train classification and regression models without writing cod...

Adding a machine learning algorithm

The Learner Apps are targeted at casual users, empowering them to train classification and regression models without writing cod...

2 years ago | 0

Answered

How to check after completing the Image Processing Machine Learning program.

Your code isn't complete - it references custom functions you (or your teacher) defined somewhere else such as trainImageCategor...

How to check after completing the Image Processing Machine Learning program.

Your code isn't complete - it references custom functions you (or your teacher) defined somewhere else such as trainImageCategor...

2 years ago | 0

Answered

Is it possible to combine two neural networks in MATLAB?

MATLAB has an AdditionLayer that allows you to combine outputs of two separate strands in your deep learning network. With R2018...

Is it possible to combine two neural networks in MATLAB?

MATLAB has an AdditionLayer that allows you to combine outputs of two separate strands in your deep learning network. With R2018...

2 years ago | 3

Answered

How can I use the PCA function to find the principle components of a variable?

You'll get the loadings for your variables. But think about whether applying PCA this way to your data makes sense. We'll expect...

How can I use the PCA function to find the principle components of a variable?

You'll get the loadings for your variables. But think about whether applying PCA this way to your data makes sense. We'll expect...

2 years ago | 0

Answered

Can someone tell me if there is an error in fitcdiscr function?

LDA fits normal distributions with the same covariance. QDA allows different covariances. Fitting normal distributions including...

Can someone tell me if there is an error in fitcdiscr function?

LDA fits normal distributions with the same covariance. QDA allows different covariances. Fitting normal distributions including...

2 years ago | 0

| accepted

Answered

Display bug with confusionchart for percentages summary

Many machine learning related charts will start to show some weird behavior if you try to visualize a lot of classes. If you are...

Display bug with confusionchart for percentages summary

Many machine learning related charts will start to show some weird behavior if you try to visualize a lot of classes. If you are...

2 years ago | 0

| accepted

Answered

Long time to process - fit copula model

Sounds like you need to bring some parallelization to bear. If your computer had multiple cores, you could leverage them if you ...

Long time to process - fit copula model

Sounds like you need to bring some parallelization to bear. If your computer had multiple cores, you could leverage them if you ...

2 years ago | 0

| accepted

Answered

question about determining the correct number of clusters (documentation)

You can use the silhouette plot or evalclusters function to evaluate the quality of your clustering. There's a little more info ...

question about determining the correct number of clusters (documentation)

You can use the silhouette plot or evalclusters function to evaluate the quality of your clustering. There's a little more info ...

2 years ago | 0

Answered

Help, how can get result of classification using SVM with csv files ?

Use csvread to read those files into an array or table, train (or "fit") an SVM model on the trainings set using fitcsvm, and th...

Help, how can get result of classification using SVM with csv files ?

Use csvread to read those files into an array or table, train (or "fit") an SVM model on the trainings set using fitcsvm, and th...

2 years ago | 0

Answered

question about k-means clustering metric choice

If you have any further questions, follow up. Otherwise, can you kindly "accept" Walter's answer?

question about k-means clustering metric choice

If you have any further questions, follow up. Otherwise, can you kindly "accept" Walter's answer?

2 years ago | 0

Answered

How can I use random forest classifier with an excel file?

Something like this: data = xlsread('filename'); mdl = fitcensemble(data,'class');

How can I use random forest classifier with an excel file?

Something like this: data = xlsread('filename'); mdl = fitcensemble(data,'class');

2 years ago | 0

Answered

How Can I Configure "the Trial License" for Cloud Use?

You can't cloud-enable a trial "license". You need to request a cloud-enabled trial, which is just become available at <https://...

How Can I Configure "the Trial License" for Cloud Use?

You can't cloud-enable a trial "license". You need to request a cloud-enabled trial, which is just become available at <https://...

2 years ago | 0

Answered

Feature Selection PCA in Haar for face recognition

Well, you could try whether PCA finds a linear mapping among the 16 Haar wavelets that expresses most of the variability in your...

Feature Selection PCA in Haar for face recognition

Well, you could try whether PCA finds a linear mapping among the 16 Haar wavelets that expresses most of the variability in your...

2 years ago | 0

Answered

How to utilize GPU while the classifiers were running on the classification learner application?

<https://www.mathworks.com/help/stats/statistics-and-machine-learning-toolbox-functions-with-gpuarray-arguments.html This page> ...

How to utilize GPU while the classifiers were running on the classification learner application?

<https://www.mathworks.com/help/stats/statistics-and-machine-learning-toolbox-functions-with-gpuarray-arguments.html This page> ...

2 years ago | 1

| accepted