File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -95,12 +95,13 @@ sh predict.sh
95
95
```
96
96
If works right, you will see this
97
97
```
98
- load feature num: 34
98
+ Load feature dict successfully
99
+ sparse feature num: 34
100
+ fieldid: 116 missid: 2
99
101
fieldid: 6 missid: 9
100
102
fieldid: 152 missid: 10
101
103
fieldid: 9 missid: 3
102
104
fieldid: 179 missid: 10
103
- fieldid: 116 missid: 2
104
105
fieldid: 179 feanum: 11
105
106
fieldid: 116 feanum: 3
106
107
fieldid: 6 feanum: 10
Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ int main(int argc, char* argv[]) {
48
48
std::cerr << " Failed to load dict protobuf" << std::endl;
49
49
return 1 ;
50
50
}
51
- std::cout << " load feature num: " << dict.featureid2sortid_size () << std::endl;
51
+ std::cout << " Load feature dict successfully" << std::endl;
52
+ std::cout << " sparse feature num: " << dict.featureid2sortid_size () << std::endl;
52
53
for (::google::protobuf::Map<::google::protobuf::uint32, ::google::protobuf::uint64>::const_iterator iter = dict.field2missid ().begin ();
53
54
iter != dict.field2missid ().end (); iter++) {
54
55
std::cout << " fieldid: " << iter->first << " missid: " << iter->second << std::endl;
You can’t perform that action at this time.
0 commit comments