class="blockList">
<h4>generate</h4>
<pre>public&nbsp;<a href="../../weka/core/Instances.html" title="class in weka.core">Instances</a>&nbsp;generate(java.lang.String&nbsp;namePrefix)
                   throws java.lang.Exception</pre>
<div class="block">generates a new dataset.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>namePrefix</code> - the prefix to add to the name of an attribute</dd>
<dt><span class="strong">Returns:</span></dt><dd>the generated data</dd>
<dt><span class="str