PRTools contents

PRTools manual

gendatw

GENDATW

Sample dataset by given weigths

    B = GENDATW(A,V,N)

Input
 A Dataset
 V Vector with weigths for each object in A
 N Number of objects to be generated (default size A);

Output
 B Dataset

Description

The dataset A is sampled using the weigths in V as a prior distribution.

PRTools contents

PRTools manual