Rename OLD_LAPLACE to ORIGINAL

This commit is contained in:
2024-06-13 15:04:15 +02:00
parent 3eb61905fb
commit fa26aa80f7
4 changed files with 4 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ namespace bayesnet {
states[pFeatures[index]] = xStates;
}
const torch::Tensor weights = torch::full({ pDataset.size(1) }, 1.0 / pDataset.size(1), torch::kDouble);
model.fit(pDataset, weights, pFeatures, pClassName, states, Smoothing_t::OLD_LAPLACE);
model.fit(pDataset, weights, pFeatures, pClassName, states, Smoothing_t::ORIGINAL);
}
return states;
}