public static < T > VarOptItemsSketch < T > newInstance ( final int k , final ResizeFactor rf ) { return new VarOptItemsSketch <> ( k , rf ) ; }
Construct a varopt sampling sketch with up to k samples using the specified resize factor .