Making a neural network with data given.

2 views (last 30 days)
Bhavick Singh
Bhavick Singh on 12 Jun 2021
Commented: Ritvik Garg on 16 Jun 2021
So I have voltage, current and power data. They all are related with the equation P = VI. The data represents the operation of a fuel cell. It has three different operations. 1. Normal Operation 2. Purging and 3. No load operation. I have to build a neural network that can predict or tell what operations is happening when it is fed with data.
Im a newbie to machine learning. Any help will be really appreciated.

Answers (1)

Ritvik Garg
Ritvik Garg on 14 Jun 2021
Hi Bhavick,
This is a Machine Learning Classification Problem with input variables as voltage, current and power data, and output variable as operations. You can write your code in MATLAB or use toolboxes like Deep Learning Toolbox which provide command-line functions and apps for creating, training, and simulating shallow neural networks. The apps make it easy to develop neural networks for tasks such as classification, regression (including time-series regression), and clustering. After creating your networks in these tools, you can automatically generate MATLAB code to capture your work and automate tasks.
As with function fitting, there are two ways to solve this problem:
You may refer to example-1 and example-2 for classification problems.
Ritvik Garg
Ritvik Garg on 16 Jun 2021
Hi Bhavick,
You cannot figure out the best model for your use-case without experimenting different models. If you have large dataset, you may go for trying deep learning models also, or else you may go for traditional machine learning algorithms.
Popular algorithms that can be used for multi-class classification include:
  • k-Nearest Neighbors.
  • Decision Trees.
  • Naive Bayes.
  • Random Forest.
  • Gradient Boosting.
Try these and let me know which performed best.

Sign in to comment.




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!