/** * tests whether the clusterer handles instance weights correctly * * @see CheckClusterer#instanceWeights(boolean, boolean, boolean, boolean, boolean, boolean) * @see CheckClusterer#runTests(boolean, boolean, boolean) */ public void testInstanceWeights() { boolean[] result; if (m_weightedInstancesHandler) { if (!canPredict()) return; result = m_Tester.instanceWeights( m_NominalPredictors, m_NumericPredictors, m_StringPredictors, m_DatePredictors, m_RelationalPredictors, m_multiInstanceHandler); if (!result[0]) System.err.println("Error handling instance weights!"); } }
/** * tests whether the clusterer handles instance weights correctly * * @see CheckClusterer#instanceWeights(boolean, boolean, boolean, boolean, boolean, boolean) * @see CheckClusterer#runTests(boolean, boolean, boolean) */ public void testInstanceWeights() { boolean[] result; if (m_weightedInstancesHandler) { if (!canPredict()) return; result = m_Tester.instanceWeights( m_NominalPredictors, m_NumericPredictors, m_StringPredictors, m_DatePredictors, m_RelationalPredictors, m_multiInstanceHandler); if (!result[0]) System.err.println("Error handling instance weights!"); } }
instanceWeights(PNom, PNum, PStr, PDat, PRel, multiInstance);
instanceWeights(PNom, PNum, PStr, PDat, PRel, multiInstance);