Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active May 30, 2022 17:15
Show Gist options
  • Save mcsee/80f9c16caaf142ae60562b09bef81e9e to your computer and use it in GitHub Desktop.
Save mcsee/80f9c16caaf142ae60562b09bef81e9e to your computer and use it in GitHub Desktop.
<?
final class SupervisedLearningStrategy {
const CONFIDENCE_INTERVAL_THRESHOLD = 0.9;
private function executeAndGetData($processId, bool $isUsingFastMethod) {
// ...
if ($estimatedError <= self::CONFIDENDE_INTERVAL_THRESHOLD) {
// ..
}
// ...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment