Displaying 1 result from an estimated 1 matches for "device_prob_vector".
2007 Jul 10
1
Simple table generation question
...w tables from existing tables. I'm
currently using a table of measurements I read in from a CSV file to
generate training and validation data set tables for future use in a machine
learning algorithm using the code:
#generate probabilities to divide up training / validation data sets
randomly
device_Prob_Vector <- runif(num_Devices)
#NULL-initialize training and validation sets. This seems like a bit of a
hack...
training_Set <- measurements[0]
validation_Set <- measurements[0]
#divide up the training and validation data sets from measurements.
for ( i in 1:num_Devices)
{
if ( device_Pro...