tweak: add some indicative printfs
This commit is contained in:
parent
c3d402a44a
commit
f85d128780
3
makefile
3
makefile
|
@ -4,3 +4,6 @@ dev:
|
||||||
prod:
|
prod:
|
||||||
go build -o probppl
|
go build -o probppl
|
||||||
./probppl
|
./probppl
|
||||||
|
|
||||||
|
record:
|
||||||
|
make prod > record.txt
|
||||||
|
|
|
@ -143,7 +143,9 @@ func main() {
|
||||||
people_known_distribution := generatePeopleKnownDistribution(r)
|
people_known_distribution := generatePeopleKnownDistribution(r)
|
||||||
// fmt.Println(people_known_distribution)
|
// fmt.Println(people_known_distribution)
|
||||||
result := getUnnormalizedBayesianUpdateForDistribution(people_known_distribution, r)
|
result := getUnnormalizedBayesianUpdateForDistribution(people_known_distribution, r)
|
||||||
// fmt.Println(i)
|
if i%10 == 0 {
|
||||||
|
fmt.Printf("%d/10000\n", i)
|
||||||
|
}
|
||||||
if result > 0 {
|
if result > 0 {
|
||||||
// fmt.Println(people_known_distribution)
|
// fmt.Println(people_known_distribution)
|
||||||
// fmt.Println(result)
|
// fmt.Println(result)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user