This file contains 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
package main | |
import ( | |
"log" | |
"io/ioutil" | |
"github.com/golang/protobuf/proto" | |
"./example" | |
) |
This file contains 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
const char * const string; | |
static char *handle; | |
void foo() | |
{ | |
xxx(handle); | |
} |
This file contains 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
diff --git a/example/bwmf/kldiv_loss.go b/example/bwmf/kldiv_loss.go | |
index 764a46d..3dbd771 100644 | |
--- a/example/bwmf/kldiv_loss.go | |
+++ b/example/bwmf/kldiv_loss.go | |
@@ -3,6 +3,8 @@ package bwmf | |
import ( | |
"math" | |
"sort" | |
+ "time" | |
+ "fmt" |
This file contains 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
package main | |
import ( | |
"fmt" | |
"github.com/golang/protobuf/proto" | |
pb "github.com/taskgraph/taskgraph/example/bwmf/proto" | |
"io/ioutil" | |
"os" | |
"strconv" | |
) |
This file contains 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
etcd is running on localhost:4001 | |
# github.com/taskgraph/taskgraph/op | |
op/projected_gradient.go:29: undefined: Timer | |
FAIL github.com/taskgraph/taskgraph/integration [build failed] | |
➜ taskgraph git:(port_cpp) ✗ git diff | |
➜ taskgraph git:(port_cpp) ✗ ./test-bwmf | |
etcd is running on localhost:4001 | |
=== RUN TestBWMF | |
2015/04/23 12:43:49 controller.go:45: Controller starting, name: bwmf_basic_test, numberOfTask: 1 | |
2015/04/23 12:43:49 healthy.go:64: got free task [/bwmf_basic_test/freeTasks/0], randomly choose 0 to try... |
This file contains 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
Topic #0: | |
car like got stuff thing good just don ll ve course new heard right deleted sounds isn kind cars company | |
Topic #1: | |
thanks mail windows help know advance computer info use does hi need looking information code program edu using dos email | |
Topic #2: | |
crowd 00 cost bike questions mark number com offer hp phone good 250 500 built sale cable luck 15 bought | |
Topic #3: |
This file contains 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
Loading dataset and extracting TF-IDF features... | |
done in 2.520s. | |
Topic #0: | |
game good car team don like just red current play ll games really quality want think new thought cars price | |
Topic #1: | |
mamma 00 edu mail think file sale windows luck problem fax good include works pc use send 10 flyers program | |
Topic #2: | |
heads thanks advance card know file hi files gives leafs mail bus format ram need info like does 16 drivers |
This file contains 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
Loading dataset and extracting TF-IDF features... | |
done in 2.653s. | |
Fitting the NMF model with n_samples=2000 and n_features=1000... | |
done in 4.910s. | |
Topic #0: | |
people think did time law government israel rights say case said make state true evidence don mr point gun let | |
Topic #1: | |
thanks know does mail advance hi info interested anybody email looking help appreciated card information list send post need video |
This file contains 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
etcd is running on localhost:4001 | |
=== RUN TestBWMF | |
2015/04/21 14:10:32 controller.go:45: Controller starting, name: bwmf_basic_test, numberOfTask: 1 | |
2015/04/21 14:10:32 healthy.go:65: got free task [/bwmf_basic_test/freeTasks/0], randomly choose 0 to try... | |
2015/04/21 14:10:32 bootstrap.go:171: standby grabbed free task 0 | |
task 0: 2015/04/21 14:10:32 bootstrap.go:60: starting at epoch 0 | |
task 0: 2015/04/21 14:10:32 bootstrap.go:85: framework starts to run | |
2015/04/21 14:10:32 bwmf_task.go:241: doEnterEpoch, task 0, epoch 0 | |
task 0: 2015/04/21 14:10:32 data_request.go:141: serving grpc on 127.0.0.1:63006 | |
task 0: 2015/04/21 14:10:32 data_request.go:101: data request /proto.BlockData/GetDShard to task 0, addr 127.0.0.1:63006 |
This file contains 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
0 1.2167709e+06 | |
0 1.2224444e+06 | |
0 1.2307871e+06 | |
0 1.260106e+06 | |
1 27401.582 | |
1 33980.64 | |
1 34229.844 | |
1 34920.914 | |
2 20299.98 | |
2 24624.56 |
NewerOlder