필터 지우기
필터 지우기

How to split input data to train & test set

조회 수: 1 (최근 30일)
Kanakaiah Jakkula
Kanakaiah Jakkula 2017년 10월 3일
편집: Kanakaiah Jakkula 2017년 10월 7일
Hi;
Is there any functionexist to divide data into train_data & test_data
I have below data:Currently I do it manually,
I want to divide the data in to 70% (train data) and 30% test data. and how to overcome fraction(suppose if data size 11, 70%-->7.7, in this kind of situation take nearest roundoff whole number i.e., 8, test data is 3)
1
2
4
5
6
7
6
8
1
2
4
9
11
23
45
78

답변 (0개)

카테고리

Help CenterFile Exchange에서 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