English 中文(简体)
简单监督的培训算法
原标题:Simple supervised training algorithm
  • 时间:2012-01-12 15:27:09
  •  标签:
  • c#

我正在收集一个简单的监督培训算法,该算法根据一套培训投入为某些变量找到了最佳值。 (培训投入组是一套投入,每个投入都有预期产出)

My best values are some double values that gives me maximum correct answers from training input set.

变量应当用于某些<代码>if...else的条件。

这是一个非常简单的例子:

a)


1 D-1, 1 P-4, 1 P-3, 1 FS, 1 GS, 1 NS

页: 1

页: 1

0 0 0

其中,第一和第二数值(a b)为投入,第三数值(o)为预期产出。

如果我只具备这样的条件:

if ((a > d1) && (b > d2)
    return 1;
else
    return 0;

在这方面,我想找到第一和第二代的最佳价值观,以便从培训计划中得到较少的答案。

因此,在这个例子中, d1和 d2的数值应大于0,低于1。

但我的实际问题比这个例子要困难一点。

你给我建议什么算法?

问题回答

你们可以 h住一个简单的神经网络,并用背书对它进行培训。

http://en.wikipedia.org/wiki/Backpropagation

贵问题没有足够的信息来提出一种良好的普通用途解决办法。 了解数据来源可能有助于。 然而,这是你可以做的一件简单的事情:

  • Take a square image.
  • Draw each data point, using the two input values as the coordinates and the output as colour.
  • Note whether there is a pattern in the image.
  • Approximate the pattern with code.




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签