Skip to content
Back to formatted view

Raw Message

Message-ID: <BAY102-F14F8E3BC4EAFCE81D01FA7D3590@phx.gbl>
Date: 2005-11-11T18:12:37Z
From: Dhiren DSouza
Subject: split data into training and testing sets

How can I split a dataset randomly into a training and testing set.  I would 
like to have the ability to specify the size of the training set and use the 
remaining data as the testing set.

For example 90% training data and 10% testing data split.  Is there a 
function that will accomplish this?

Thank you,

-Dhiren

Rutgers University
Graduate Student