how to take just 10% of my whole data and then train it?

1 回表示 (過去 30 日間)
fatemeh p
fatemeh p 2021 年 12 月 31 日
編集済み: fatemeh p 2021 年 12 月 31 日
Hi
i have a 500*10 matrix of data and now i want to use just first 10% of rows. how can i do this?
  1 件のコメント
Adam Danz
Adam Danz 2021 年 12 月 31 日
10% of all elements in the matrix?
10% of the columns or rows?
I also recomment using cvpartition as Cris LaPierre recommended. If you do not have the Stats & ML toolbox, use randperm to select indices of the matrix.

サインインしてコメントする。

採用された回答

Cris LaPierre
Cris LaPierre 2021 年 12 月 31 日
I suggest looking into cvpartition.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGaussian Process Regression についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by