Opened 15 years ago

Closed 14 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 14 years ago by Peter

Milestone: later0.4

comment:2 Changed 14 years ago by Peter

Status: newassigned

comment:3 Changed 14 years ago by Peter

Resolution: fixed
Status: assignedclosed

fixed in [860]

Note: See TracTickets for help on using tickets.