How can I classify columns of a table
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a csv file with several columns ( current, voltage, time, temperature). I want to classify each column separately, I mean I want to consider each column as a class so that in case of new data it is automatically labeled as current, or voltage, or time... . Is it possible with machine learning techniques? please suggest me a suitable function.
댓글 수: 0
답변 (1개)
Bernhard Suhm
2018년 5월 30일
You could try to train a classifier by considering each data point of your table an example for the corresponding column's name (class), you'd have four classes current, voltage, time, temperature. But that's not going to be a very strong predictor, just to the extent the actual values are in disjoint numeric ranges will the classifier be able to distinguish them. To the degree there's overlap, the classifier will just guess randomly if a new value falls within the overlapping range. It doesn't really matter which classifier you use, since this is fundamentally not a good use case. For a better predictor you need to feed it more hints, like is there any patterns in how you receive new data points, a certain number of currents followed by a different number of voltages etc?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Discriminant Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!