Opened 16 years ago
Closed 15 years ago
#149 closed request (fixed)
Target constructor from Target and vector<string>
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.4 |
Component: | classifier | Version: | trunk |
Keywords: | Cc: |
Description
The constructor being very similar to the vector<string> Constructor, with the addition that the mapping from labels to size_t classes is copied from the passed Target.
The reason to have this constructor is that the mapping of label to size_t classes is decided by the order they appear the vector<string>. Hence, the same string label can be mapped to different size classes, which of course is not not optimal in e.g. a situation constructing the Target for an independent dataset.
Change History (3)
comment:1 Changed 15 years ago by
Milestone: | later → 0.4 |
---|
comment:2 Changed 15 years ago by
Status: | new → assigned |
---|
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
fixed in [860]