コード例 #1
0
 private void init(string[] predLabels, string[] outcomeNames)
 {
     this.pmap         = new IndexHashTable <string>(predLabels, 0.7d);
     this.outcomeNames = outcomeNames;
 }
コード例 #2
0
 public AbstractModel(Context[] parameters, string[] predLabels, IndexHashTable <string> pmap, string[] outcomeNames)
 {
     this.pmap         = pmap;
     this.outcomeNames = outcomeNames;
     this.evalParams   = new EvalParameters(parameters, outcomeNames.Length);
 }