Filter löschen
Filter löschen

Finding a correlation table

10 Ansichten (letzte 30 Tage)
Bijoya Bhattacharjee
Bijoya Bhattacharjee am 11 Dez. 2023
Anyone know how to get started with finding a correlation table of multiple features of muliple class?
  3 Kommentare
Bijoya Bhattacharjee
Bijoya Bhattacharjee am 12 Dez. 2023
Bijoya Bhattacharjee
Bijoya Bhattacharjee am 12 Dez. 2023
Here is one class with three features. I have three classes similar to this

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Jalal Khan
Jalal Khan am 12 Dez. 2023
Load your dataset into MATLAB or create one using arrays. Ensure that you have a matrix where each row represents an observation, and each column represents a feature, and another column represents the class label.
Use the corrcoef function to calculate the correlation matrix for all features
If you want to compute the correlation matrix for each class separately, you can use the splitapply function.
You can use MATLAB's plotting functions to visualize the correlation matrix. For example, you might use imagesc for a heatmap.

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 12 Dez. 2023
That you can adjust w.r.t. your exercise.

Kategorien

Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by