Re: Probabilistic programming anyone?

2015-05-12 Thread hyang
Looks great. Could I use this to implement something like a Gibbs Sampler? 

On Tuesday, May 12, 2015 at 3:05:50 AM UTC-7, Frank Wood wrote:
>
> I'm a professor at Oxford and my group has been working on a new embedded 
> language called Anglican:
>
> http://www.robots.ox.ac.uk/~fwood/anglican/
>
> It can be used to do advanced machine learning in Clojure (Java, etc.) 
> applications without having to know anything about inference or math.  For 
> example see:
>
> http://www.robots.ox.ac.uk/~fwood/anglican/examples/index.html
>
> My group would be very interested to get feedback on the language design 
> and its usefulness to the community.  Also, frankly, we could use your help 
> in taking it forward, where "help" largely means writing queries and 
> telling us what doesn't work.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Probabilistic programming anyone?

2015-05-12 Thread hyang
Another question: is there a particular reason why the code of Anglican is 
hosted on BitBucket with read only access for outsider, whereas the 
examples are on Github? Does that mean that you do not anticipate 
contributions to the language from the outside? I saw the license is GPL 
though.

On Tuesday, May 12, 2015 at 3:05:50 AM UTC-7, Frank Wood wrote:
>
> I'm a professor at Oxford and my group has been working on a new embedded 
> language called Anglican:
>
> http://www.robots.ox.ac.uk/~fwood/anglican/
>
> It can be used to do advanced machine learning in Clojure (Java, etc.) 
> applications without having to know anything about inference or math.  For 
> example see:
>
> http://www.robots.ox.ac.uk/~fwood/anglican/examples/index.html
>
> My group would be very interested to get feedback on the language design 
> and its usefulness to the community.  Also, frankly, we could use your help 
> in taking it forward, where "help" largely means writing queries and 
> telling us what doesn't work.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] editscript: a diffing library for Clojure data

2018-04-30 Thread hyang
Hello,

I am happy to make available a diffing/patching library for Clojure data 
structures. 

https://github.com/juji-io/editscript

Two flavors of diffing algorithms are provided, with very different 
performance characteristics, suitable for different applications. 

* One optimizing diffing algorithm aimed to reduce the size of diffs. It is 
an A* based graph search algorithm that is optimized for speed, though much 
slower than the next one, it is still practical.
* Another is a straightforward tree walking algorithm that is about two 
orders of magnitude faster, but produce suboptimal results.

Hope this library will be of some use for someone. Comments, suggestions 
and contributions are also welcome.

-huahai

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread hyang
My readme specifically mentioned https://github.com/friemen/diffit, where I 
said:

>...The same sequence diffing algorithm is also implemented in diffit 
. Using their benchmark, our 
implementation has slightly better performance due to more optimizations. 
Keep in mind that our algorithm also handles nested Clojure data 
structures. ...

That is to say, diffit only does map and vector diffing *separately*, so 
you cannot really use it as a *Clojure data structure* diffing library. 
Hope this helps.

Cheers.

-huahai



On Thursday, May 3, 2018 at 2:59:07 AM UTC-7, alpeware wrote:
>
> Thanks for sharing!
>
> Last time I was looking for something similar, I came across this library -
>
> https://github.com/friemen/diffit
>
> It works for both Clojure and ClojureScript, although it's specific for 
> either maps or vectors.
>
> I haven't looked at the specific implementations of either library and 
> only used it on small data sets, so can't comment on suitability for your 
> use cases.
>
> I thought I'll share since your readme mentioned you didn't find any prior 
> implementations and for anyone looking at this thread in the future.
>
> -Alpeware
>
> On Thu, May 3, 2018, 12:34 AM Colin Fleming  > wrote:
>
>> This looks very nice, thank you!
>>
>> On 1 May 2018 at 06:52, > wrote:
>>
>>> Hello,
>>>
>>> I am happy to make available a diffing/patching library for Clojure data 
>>> structures. 
>>>
>>> https://github.com/juji-io/editscript
>>>
>>> Two flavors of diffing algorithms are provided, with very different 
>>> performance characteristics, suitable for different applications. 
>>>
>>> * One optimizing diffing algorithm aimed to reduce the size of diffs. It 
>>> is an A* based graph search algorithm that is optimized for speed, though 
>>> much slower than the next one, it is still practical.
>>> * Another is a straightforward tree walking algorithm that is about two 
>>> orders of magnitude faster, but produce suboptimal results.
>>>
>>> Hope this library will be of some use for someone. Comments, suggestions 
>>> and contributions are also welcome.
>>>
>>> -huahai
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@googlegroups.com 
>>> 
>>> Note that posts from new members are moderated - please be patient with 
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> clojure+u...@googlegroups.com 
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to clojure+u...@googlegroups.com .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.