필터 지우기
필터 지우기

Finding a correlation table

조회 수: 11 (최근 30일)
Bijoya Bhattacharjee
Bijoya Bhattacharjee 2023년 12월 11일
답변: Sulaymon Eshkabilov 2023년 12월 12일
Anyone know how to get started with finding a correlation table of multiple features of muliple class?
  댓글 수: 3
Bijoya Bhattacharjee
Bijoya Bhattacharjee 2023년 12월 12일
Bijoya Bhattacharjee
Bijoya Bhattacharjee 2023년 12월 12일
Here is one class with three features. I have three classes similar to this

댓글을 달려면 로그인하십시오.

답변 (2개)

Jalal Khan
Jalal Khan 2023년 12월 12일
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 2023년 12월 12일
That you can adjust w.r.t. your exercise.

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by