trainingdata.vb
来自「neural networks applications」· VB 代码 · 共 51 行
VB
51 行
'------------------------------------------------------------------
' License Notice:
'------------------------------------------------------------------
' All Rights Reserved - Anoop Madhusudanan,
' Mail: amazedsaint@gmail.com
' Website: http://amazedsaint.blogspot.com
' See my articles about BrainNet at
' http://amazedsaint-articles.blogspot.com for details
'
' You can use this code (or part of it), for non
' commercial and academic uses, as long as
' - You are keeping this notice along with it
' - You are not making any profit out of this
'------------------------------------------------------------------
'''<summary>
'''This class provides a vector consists of inputs and outputs, for training
''' the network
'''</summary>
Public Class TrainingData
Private _inputs As New ArrayList()
Private _outputs As New ArrayList()
Public ReadOnly Property Inputs() As ArrayList
Get
Return _inputs
End Get
End Property
Public ReadOnly Property Outputs() As ArrayList
Get
Return _outputs
End Get
End Property
Public Sub New()
_inputs = New ArrayList()
_outputs = New ArrayList()
End Sub
Public Sub New(ByVal input As ArrayList, ByVal output As ArrayList)
_inputs = input
_outputs = output
End Sub
End Class
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?