擅长:python、mysql、java
<p>您应该存储<code>SelectPercentile</code>对象,并使用它来<code>transform</code>测试数据:</p>
<pre><code>select = SelectPercentile(f_regression,percentile=10)
reducedTrainData = select.fit_transform(trainDenseData,trainYarray)
reducedTestData = select.transform(testDenseData)
</code></pre>