Example #1
0
 public void LoadModel(string fileName)
 {
     Utils.ThrowException(typeof(LblT) != typeof(int) ? new InvalidOperationException() : null);
     Utils.ThrowException(!Utils.VerifyFileNameOpen(fileName) ? new ArgumentValueException("fileName") : null);
     Dispose();
     mIdxToLbl.Add((LblT)(object)1);
     mIdxToLbl.Add((LblT)(object)-1);
     mModelId = SvmLightLib.LoadModel(fileName);
 }