本文整理匯總了C#中BasicMLDataSet.xf266aaef11483efa方法的典型用法代碼示例。如果您正苦於以下問題:C# BasicMLDataSet.xf266aaef11483efa方法的具體用法?C# BasicMLDataSet.xf266aaef11483efa怎麽用?C# BasicMLDataSet.xf266aaef11483efa使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類BasicMLDataSet
的用法示例。
在下文中一共展示了BasicMLDataSet.xf266aaef11483efa方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: CalcData
public static double[] CalcData(BasicMLDataSet data)
{
BasicNetwork network;
double num;
int num2;
double num3;
ChartWindow window;
<>c__DisplayClass5 class2;
bool flag;
double[] res;
XElement xml = App.Services.GetService<x1a44f162f55467a5>().Xml;
if ((((uint) num) - ((uint) flag)) > uint.MaxValue)
{
goto Label_00F6;
}
if (1 != 0)
{
if ((((uint) num3) - ((uint) num2)) < 0)
{
double[] numArray;
return numArray;
}
App.Services.GetService<xf8efd7615008d32e>().x4ab8973167965816();
network = App.Services.GetService<xf8efd7615008d32e>().x5b0926ce641e48a7;
data = App.Services.GetService<IDataProcessor>().ProcessDataSet(data);
num = network.CalculateError(data);
res = new double[network.InputCount];
num2 = 0;
goto Label_00E9;
}
Label_003D:
window = new ChartWindow {
chart = { Title = "Значимость параметров" },
barSeries = { ItemsSource = Enumerable.Select<double, Tuple<double, bool>>(res, new Func<double, Tuple<double, bool>>(class2, this.<CalcData>b__4)) }
};
window.ShowDialog();
App.Services.GetService<x1a44f162f55467a5>().Xml = xml;
return res;
Label_00C0:
if (flag)
{
goto Label_00F6;
}
num3 = res.Max();
num2 = 0;
while (true)
{
flag = num2 < network.InputCount;
if (flag)
{
res[num2] /= num3;
}
else
{
GC.Collect();
goto Label_003D;
}
num2++;
}
Label_00E9:
flag = num2 < network.InputCount;
goto Label_00C0;
Label_00F6:
res[num2] = network.CalculateError(data.xf266aaef11483efa(num2)) - num;
if ((((uint) num2) | 15) != 0)
{
num2++;
if ((((uint) num2) + ((uint) flag)) > uint.MaxValue)
{
goto Label_003D;
}
goto Label_00E9;
}
goto Label_00C0;
}