Created
January 10, 2019 15:21
-
-
Save AndreasPK/91035fbf77694bf1bd509f60ff679479 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x == A = e1 | |
| x == B = e2 | |
| predFunc(x) = e3 | |
case (case x of { C1 -> (Weight: 1000) A; | |
C2 -> (Weight: 1000) B; | |
C3 -> (Weight: 1000) e3; } ) of | |
{ | |
A -> (Weight: 10) e1; | |
B -> (Weight: 0) e2; | |
} | |
case x of { C1 -> (Weight: 333) -> KnownExtracted: (333 -> 100%) => Sum (keptWeights) = sumKept, | |
Normalize in regards to KnownExtracted weights. | |
-> Adds up to 100%. | |
=> | |
case A of { | |
A -> (Weight: 1000) e1; | |
B -> (Weight: 0) e2; | |
_ -> 0: undefined | |
}; | |
C2 -> (Weight: 333) -> KnownExtracted: (333 -> 0%) 0% => Implies 0 weight | |
case B of { | |
A -> (Weight: 1000) e1; | |
B -> (Weight: 0) e2; | |
_ -> 0: undefined | |
}; | |
C3 -> (Weight: 333) -> KeepWeight: 333 -> Average of x => 50. | |
case e3 of { | |
A -> (Weight: 1000) e1; | |
B -> (Weight: 0) e2; | |
_ -> 0: undefined | |
}; | |
} | |
case x of { C1 -> 70 | |
C2 => 11 | |
C3 => 23 | |
C4 => ... | |
... | |
Cn -> Avg[34] -> Unknown/Average/Max/Min/0 | |
case e3 of { | |
A -> (Weight: 1000) e1; | |
B -> (Weight: 0) e2; | |
_ -> 0: undefined | |
}; | |
Cn1-> Avg[34] -> Unknown/Average/Max/Min/0 | |
case e3 of { | |
A -> (Weight: 1000) e1; | |
B -> (Weight: 0) e2; | |
_ -> 0: undefined | |
}; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment