Community Profile

photo

Philip Brown

MathWorks

Last seen: 4 dagar ago Active since 2017

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
How to use classify into App Designer to classify images using a pretrained neural network
My guess at what's happening: you're not using the classify function on AlexNet, but calling it on something else. In your scree...

11 dagar ago | 0

Answered
When use Sequence and when Feature for Neural Networks input layer in regression problem?
You're completely correct - you want to use featureInputLayer(3) as the input layer, and regressionOutputLayer as the output. f...

11 dagar ago | 0

Answered
Invalid training data. The output size (1000) of the last layer does not match the number of classes (5).
As in Yanqi Liu's comment, you probably need to modify the fully connected layer too: fullyConnectedLayer(5,"Name","fc","BiasLe...

11 dagar ago | 0

| accepted

Answered
I am trying to use a different data for my Validation and it is saying that: Training and validation responses must have the same categories. To view the categories of the res
It's likely that your training and validation folders contain different folder names, and those are being used as the class labe...

11 dagar ago | 0

| accepted

Answered
Neural Network Confusion Matrix
It looks like your network is just predicting all observations into class 5. If your test dataset is very unbalanced, so nearly ...

11 dagar ago | 0

Answered
Problem in automatic gradient calculation using Deep Learning Toolbox
To ensure tracing is happening, you need to pass your modelGradients function to dlfeval - see this doc page for more details. R...

3 månader ago | 1

| accepted

Answered
Connect SVM to CNN using matlab deep network designer
There's no built-in SVM classifier layer available in Deep Network Designer, but you should still be able to use the approach ou...

3 månader ago | 0

| accepted

Answered
Performing semantic segmentation of brain volume on 2D slices
You could take a look at this GitHub repo Brain-MRI-Age-Classification-using-Deep-Learning. The function prepare2DImageDataset.m...

6 månader ago | 0

Answered
How to get multiple output response using time series response of ANN deep learning toolbox?
You can use the outputIndex option for plotresponse. plotresponse(T,Y,'outputIndex',2); You might also want to set the sampleI...

6 månader ago | 0

Answered
Deep Network Designer Early Stopping
You can use the ValidationPatience setting in trainingOptions (doc page). In Deep Network Designer, on the "Training" tab, open...

6 månader ago | 1

| accepted

Answered
Is there an equivalent to close all for deep learning training windows?
Currently, you can't directly close just deep learning plots with a particular command. However, it is possible to close all fi...

6 månader ago | 1

| accepted

Answered
Group Layers in Deep Network Designer
It's not currently possible to view nested "subsystem"-like blocks in Deep Network Designer. We're aware this would be a useful ...

6 månader ago | 0

| accepted

Answered
What is Validation data in deep learning?
The "validation data" is a set of data held separate from your training data. It's used during the training process to see how t...

6 månader ago | 0

| accepted

Answered
How to Realize 'Gradient Reversal Layer' ?
It looks like you should be able to do this by writing your own custom layer. See the "Intermediate Layer Template" for some cod...

6 månader ago | 0

| accepted

Solved


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

mer än 4 år 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 ...

mer än 4 år 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...

mer än 4 år ago

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

mer än 4 år ago