jliszka / probability-monad Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Thanks for this amazing library!
I have really enjoyed playing with your probability-monad in scala. Thank you for coding it up! One issue I keep running into is a situation where the data that I am starting from is given in the form of conditional probabilities.
Is a conditional probability distribution Pr(B | A)
essentially just represented as a function Distribution[A] => Distribution[B]
?
def samplePar(n: Int = N): ParSeq[A] = (0 until N).par.map(i => self.get)
Just noticed the above minor typo in the code. Thanks for the library !
I love your library. Noticed that you(maybe someone else) published the 1.0.0 version of it to bintray jcenter. Is that you? if so, do you mind update code (since package name is org.jliszka.probabilitymonad on that version) the documentation here? If it's not you, I can update the code together with a sbt-bintray plugin and create a PR. Thanks!
Hi,
Could this project be packaged and released on the typesafe repo?
I use SBT at work, yet I cannot add git dependencies to my project due to firewall issues.
Hi I really like this project. I used it to generate test data on a project recently.
I created a simple markov chain text generator this morning.
I considered using the probability-monad's markov chain functions to create my text generator, but couldn't think of a way to do it. I'm just curious to know if you might suggest a way to implement it?
It looks like I should provide the function for markov
as String => Distribution[String]
. The String
should be the current word which returns a distribution of next words Distribution[String]
.
But what would the resulting Distribution[A]
represent in this case? How would I take the result and generate text? distribution.sample(X)
?
Thanks for providing this fascinating library.
Can you run this library with Scastie?
Hi there. This looks like it would be handy to play with. Have you thought about what license you would like to be applied?
Can I suggest LGPL, Apache or BSD?
ps. I'm new to github -- not sure if there is a better way to communicate with people :-p
If possible could we get this package published for scala 2.13? This package has been a great help for me trying to write tests for my code and it'd be awesome if we could get 2.13 support so I can upgrade other packages I rely on.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.