dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
9k stars 1.88k forks source link

How to convert multiple lines to one line ? #7204

Open tq01zuo opened 1 month ago

tq01zuo commented 1 month ago

Hi, everyone: i am a newer for ml.net, i have a more than one lines to indicate an individual process, so i want to convert them to one line, so i can use regression or classification to deal with these data. 1

luisquintanilla commented 2 weeks ago

Hi @tq01zuo,

Can you expand on what your goal is with this dataset?

If you want to resample the window size (change the frequency of the observations), you can apply various aggregation techniques.

Note that by resampling, you'll want to make sure that the number of entries are generally equally distributed to ensure consistency. Also, there is a loss of information since you're not actually training models on the actual observations but on a resampled dataset.