Community Profile

# Jon Cherrie

### MathWorks

Last seen: 5 days ago Active since 2011

Programming Languages:
MATLAB
Spoken Languages:
English

All

#### Content Feed

View by

For an example showing Graph Neural Networks in MATLAB, please see Node Classification Using Graph Convolutional Network https...

2 months ago | 1

Graph Convolutional Network（GCN）？
For an example showing Graph Neural Networks in MATLAB, please see Node Classification Using Graph Convolutional Network https...

2 months ago | 9

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

5 months ago

How do I get the confusion matrix for all trained data
You can use the confusionmat command https://au.mathworks.com/help/stats/confusionmat.html When you call it, make sure that yo...

5 months ago | 1

Solved

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

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

5 months ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

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

5 months ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 months ago

LSTM time series forecasting with 3 inputs using chickenpox example
Rather than starting from the chickenpox example, you might be better off starting from the "Sequence-to-Sequence Regression Usi...

5 months ago | 0

multivariate time series forecasting using lstm
Rather than starting from the chickenpox example, you might be better off starting from the "Sequence-to-Sequence Regression Usi...

5 months ago | 0

How can I call network
You can use the sim function: https://au.mathworks.com/help/deeplearning/ref/sim.html The sim function is usually called im...

5 months ago | 0

| accepted

How to calculate gradient of output of a neural network with respect to its parameters?
You can use dlgradient and dlfeval to take derivatives with respect to the input or to the parameters Here's an example: I'm...

5 months ago | 1

| accepted

How to re-load MatLab's feedforwardnet to Workspace?
I recommend using a cell array rather than a regular array for this case, e.g., FFNN_trained_sum = {}; % Use {} here, not [] f...

5 months ago | 0

| accepted

Flatten layer in MATLAB
In MATLAB, in many cases, you don't need a flattern layer. Flattern layers are often used before a fully connected layer. The fu...

5 months ago | 1

What does Predict for neural network give back?
I think that Ypred(i,j,k,n) is the score for class k for pixel i,j of the n-th image. Often the score is the probability or si...

5 months ago | 0

| accepted

How to understand Softmax layer activations for pretrained CNN?
How to identify what class they correspond with? We can get this from the class names property of the output layer. What these...

5 months ago | 0

| accepted

Recommendation for neural network implementation
It might be that you can solve this as sequence classification problem, e.g., https://www.mathworks.com/help/deeplearning/ug/c...

6 months ago | 1

You can use a GPU for the dlgradient computation by using a gpuArray with dlarray. In this example, the minibtachqueue, puts da...

6 months ago | 1

ONNX export yields Error !
It looks like you are hitting this bug: Error when using functions for importing or converting ONNX or Caffe models on Windows ...

6 months ago | 3

extractFileText returns <missing>
The extractFileText function has been significantly rewritten for R2021a and may give different results for some PDF files. I re...

6 months ago | 1

Will MATLAB provide Bert word embedding support?
BERT is available via this GitHub repository https://github.com/matlab-deep-learning/transformer-models

7 months ago | 3

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

cftool crashes Matlab
There are many potential sources of the problem here. Please contact MathWorks Technical Support so they can investigate the pro...

10 years ago | 1