Hi everyone I need help, how can I make dataset from these rawdata? I did not understand. I tried once, but failed.

5 ビュー (過去 30 日間)
Here I attached the text file which is raw data obtained that being generated by Matlab. I am stuck at making these data trained. I dont know how, already try once but met the dead end, whenever I wanted to normalize it and blunt where to start it. I hope anyone can provide me the solution.

回答 (1 件)

Himanshu
Himanshu 2024 年 5 月 27 日
編集済み: Himanshu 2024 年 5 月 27 日
Hey,
To train a model using the data you provided in MATLAB, you can follow these general steps:
  • Load the Data: Load the data from the text file into MATLAB. You can use functions like load, csvread, or readtable depending on the format of your data.
  • Normalize the Data: Since you mentioned normalization as a step you're interested in, you can use the 'normalize' function in MATLAB to do the same. The can access the documentaion link for this function through this link: https://www.mathworks.com/help/matlab/ref/double.normalize.html
  • Choose a Model: Depending on the nature of your problem (classification, regression, etc.), choose an appropriate machine learning model to train on your data. This could be a neural network, support vector machine, decision tree, etc.
  • Train the Model: MATLAB provides built-in functions for training various types of models, such as fitcknn for k-nearest neighbors, fitcsvm for support vector machines etc. Here are the detailed documenation links for the same:

カテゴリ

Help Center および File ExchangeGet Started with Statistics and Machine Learning Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by