Community Profile

# Bernhard Suhm

### MathWorks

95 total contributions since 2017

View details...

Contributions in
View by

Submitted

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

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...

2 Monate 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...

3 Monate ago

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 ...

3 Monate 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...

3 Monate 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 ...

3 Monate 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...

3 Monate 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...

3 Monate 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...

3 Monate 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...

3 Monate 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 ...

3 Monate ago

Solved

Given a and b, return the sum a+b in c.

3 Monate ago

Principal Component for Shape Analysis.
Per documentation of pca, your "Mode" are " .. the representations of X in the principal component space. Rows of scorecvorrespo...

7 Monate ago | 0

| accepted

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...

7 Monate ago | 1

| accepted

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...

8 Monate ago | 0

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...

8 Monate ago | 0

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

9 Monate ago | 0

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...

12 Monate ago | 0

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...

12 Monate ago | 3

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

12 Monate ago | 0

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...

12 Monate ago | 0

| accepted

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...

etwa ein Jahr ago | 0

| accepted

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 ...

etwa ein Jahr ago | 0

| accepted

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 ...

etwa ein Jahr ago | 0

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...

etwa ein Jahr ago | 0

question about k-means clustering metric choice
If you have any further questions, follow up. Otherwise, can you kindly "accept" Walter's answer?

etwa ein Jahr ago | 0

How can I use random forest classifier with an excel file?
Something like this: data = xlsread('filename'); mdl = fitcensemble(data,'class');

etwa ein Jahr ago | 0

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://...

etwa ein Jahr ago | 0

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...

etwa ein Jahr ago | 0