Increased test ntree; making test more stable.

This commit is contained in:
Joel Therrien 2018-08-09 16:33:57 -07:00
parent 55eab76610
commit 6d65d48844

View file

@ -289,6 +289,7 @@ public class TestCompetingRisk {
public void testLogRankSingleGroupDifferentiatorAllCovariates() throws IOException { public void testLogRankSingleGroupDifferentiatorAllCovariates() throws IOException {
final Settings settings = getSettings(); final Settings settings = getSettings();
settings.setNtree(300); // results are too variable at 100
final List<Covariate> covariates = getCovariates(settings); final List<Covariate> covariates = getCovariates(settings);
final List<Row<CompetingRiskResponse>> dataset = DataLoader.loadData(covariates, settings.getResponseLoader(), settings.getDataFileLocation()); final List<Row<CompetingRiskResponse>> dataset = DataLoader.loadData(covariates, settings.getResponseLoader(), settings.getDataFileLocation());