private void init(string[] predLabels, string[] outcomeNames) { this.pmap = new IndexHashTable <string>(predLabels, 0.7d); this.outcomeNames = outcomeNames; }
public AbstractModel(Context[] parameters, string[] predLabels, IndexHashTable <string> pmap, string[] outcomeNames) { this.pmap = pmap; this.outcomeNames = outcomeNames; this.evalParams = new EvalParameters(parameters, outcomeNames.Length); }