Powered by Apache

CVS log for OpenXM/src/asir-contrib/packages/src/gtt_ds.rr

[BACK] Up to [local] / OpenXM / src / asir-contrib / packages / src

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 15 01:59:54 2021 UTC (2 years, 7 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +193 -3 lines
Diff to previous 1.6 (colored)

Added functions for graphical models.
gtt_ds.getA(StateLevelOfVertices,SetOfCliques) returns A for the graphical model.
See examples in the source.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 3 05:56:48 2021 UTC (2 years, 9 months ago) by takayama
Branch: MAIN
Changes since 1.5: +66 -1 lines
Diff to previous 1.5 (colored)

gtt_ds.get_samples([[20,50],[40,30]],[[1,1/3],[1,1]],5 | nproc=3,verbose=1,x=1);
generates 5*nproc samples by nproc processes.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 2 02:08:09 2021 UTC (2 years, 9 months ago) by takayama
Branch: MAIN
Changes since 1.4: +24 -3 lines
Diff to previous 1.4 (colored)

Fixed a bug of the distributed computation.
Example:
Nproc=2$
gtt_ekn3.setup(|nps=Nproc,nprm=300,minp=10^100,sub_progs=["gtt_ekn3.rr","gtt_ekn3/childprocess.rr","ekn_eval.rr"],x=1,fgp="p300.txt");
Opt=[["nps",Nproc],["x",1],["crt",1],["interval",100]]$
gtt_ds.setup(Opt);
gtt_ekn3.gmvector([[1,1],[1,1]],[[1,2],[1,1]]|option_list=Opt);

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 28 01:41:46 2021 UTC (2 years, 10 months ago) by takayama
Branch: MAIN
Changes since 1.3: +27 -11 lines
Diff to previous 1.3 (colored)

Bug fix: arguments to gtt_ekn3 should be lists.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 24 21:22:11 2021 UTC (2 years, 10 months ago) by takayama
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

gtt_ekn.rr --> gtt_ekn3.rr

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 20 05:16:14 2019 UTC (5 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.1: +8 -4 lines
Diff to previous 1.1 (colored)

gtt_ds.init_load(|bigfloat=1),  then bigfloat is used to evalute
expectations.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 26 00:47:04 2018 UTC (5 years, 10 months ago) by takayama
Branch: MAIN

An implementation of the direct sampler of A-hg distribution by S.Mano  arxiv:1607.03569
Example: (2 x 3 table) B=[[5,6],[3,3,5]];P=[[1,1/2,1/3],[1,1,1]];
for (I=0; I<10; I++) print(gtt_ds.direct_sampler(B,P));"

tk_ds.direct_sampler is for general A. It is slow and is for debugging faster implementations.
 A=[[1,1,0,0],[1,0,1,0],[0,1,0,1]]; B=[4,5,6]; P=[1,1,1,9/10];
for (I=0; I<10; I++) print(tk_ds_ahg.direct_sampler(A,B,P));

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>