可以给我一组二维神经网络训练样本,数量要100个
时间: 2024-04-18 18:32:46 浏览: 94
当然可以!这是一个包含100个二维神经网络训练样本的示例:
输入特征(X):
[[0.2, 0.4], [0.1, 0.8], [0.5, 0.3], [0.7, 0.6], [0.9, 0.1], [0.3, 0.2], [0.6, 0.9], [0.8, 0.7], [0.4, 0.5], [0.3, 0.7], [0.7, 0.3], [0.6, 0.8], [0.1, 0.2], [0.8, 0.2], [0.4, 0.6], [0.2, 0.9], [0.9, 0.4], [0.5, 0.1], [0.2, 0.7], [0.6, 0.4], [0.8, 0.9], [0.3, 0.5], [0.7, 0.2], [0.4, 0.8], [0.1, 0.3], [0.9, 0.7], [0.5, 0.6], [0.2, 0.1], [0.6, 0.3], [0.8, 0.5], [0.3, 0.9], [0.7, 0.4], [0.4, 0.2], [0.1, 0.6], [0.9, 0.8], [0.5, 0.5], [0.2, 0.3], [0.6, 0.7], [0.8, 0.1], [0.3, 0.8], [0.7, 0.5], [0.4, 0.9], [0.1, 0.4], [0.9, 0.6], [0.5, 0.2], [0.2, 0.6], [0.6, 0.1], [0.8, 0.3], [0.3, 0.4], [0.7, 0.8], [0.4, 0.7], [0.1, 0.1], [0.9, 0.9], [0.5, 0.8], [0.2, 0.5], [0.6, 0.6], [0.8, 0.4], [0.3, 0.3], [0.7, 0.7], [0.4, 1.0], [1.0, 0.4], [0.1, 1.1], [1.1, 0.1], [0.9, 1.2], [1.2, 0.9], [1.3, 1.3], [1.4, 1.4], [1.5, 1.5], [1.6, 1.6], [1.7, 1.7], [1.8, 1.8], [1.9, 1.9], [2.0, 2.0], [2.1, 2.1], [2.2, 2.2], [2.3, 2.3], [2.4, 2.4], [2.5, 2.5], [2.6, 2.6], [2.7, 2.7], [2.8, 2.8], [2.9, 2.9], [3.0, 3.0], [3.1, 3.1], [3.2, 3.2], [3.3, 3.3], [3.4, 3.4], [3.5, 3.5], [3.6, 3.6], [3.7, 3.7], [3.8, 3.8], [3.9, 3.9], [4.0, 4.0], [4.1, 4.1], [4.2, 4.2], [4.3, 4.3], [4.4, 4.4], [4.5, 4.5], [4.6, 4.6], [4.7, 4.7], [4.8, 4.8], [4.9, 4.9]]
目标输出(Y):
[0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1]
这个样本中的输入特征是一个包含两个浮点数的二维数组,目标输出是一个包含0和1的一维数组。你可以使用这个样本来训练二维神经网络进行分类任务。希望这个样本对你有帮助!如果你还有其他问题,请随时提问。
阅读全文