[WIP] Add Successfulness types#119
Open
brentleyjones wants to merge 3 commits into
Open
Conversation
Member
Author
|
@JonathanHoffman Would you mind adding playground support for this? It would help prove it out more by having someone else look at it from the API point of view. Also, I love your playground pages. If not I will, just wondering if you would want to. |
Member
Author
|
@JonathanHoffman This got lost with the holiday. Are you planning on doing the playground pages, or should I assign this back to myself? |
7522a0f to
57675fa
Compare
2 tasks
57675fa to
a067c24
Compare
`Successfulness` can represent the actual number of successes and failures that occurred while evaluating an `ExpressionType`, or it can represent the possibility of successes and failures in the context of a `FrequencyDistribution`.
A paired `FrequencyDistributionOutcomeType` and `Successfulness` Useful for determining the successfulness of expressions.
a067c24 to
4fab3dd
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unlike #71, this just adds the types needed to support success checking. Therefore it doesn't complete #59, since it needs some additional support at the
ExpressionTypelevel. Though, if you changeExpressionProbabilityMasstoProbabilityMass<OutcomeWithSuccessfulness<Int>>you can start to see where this is heading.Features
Successfulness, a type that represents how many successes and failures an expression has.OutcomeWithSuccessfulness, a way to represent successfulness withProbabilityMass.