-
遗传算法来训练神经网络的权值
需要一个文本文件作为输入包含 x 和 y 坐标的一系列的曲线上的点。该代码然后使用遗传算法训练神经网络来逼近同一条曲线。运行从 python 命令行 ;示例输入的命令会看起来像: python nn_weights_1.py-r 10-n 100 g 500-t 3600.0-RandomCrossOver-s random_seeds_100.txt-i sine_datapoints1.txt-o results.txt nn_weights_1.py 在哪里的代码文件中,名称-r 告诉它多少运行来执行,-n 告诉它在人口中的多少人-g 告诉它多少代人,在每个运行,-t 告诉它的最长时间 (以秒为单位) 运行,— — 告诉它要使用 (随机、 HillClimber、 RandomCrossOver、 SmallCrossOver、 SmartCrossOver) 的算法,-s 告诉它什么文件用于随机种子 (可选),我告诉它什么数据文件用作输入和-o 告诉它要将输出发送到什么文件。
- 2022-03-30 01:50:57下载
- 积分:1
-
先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqS...
先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqStack void PreOrderUnrec(Bitree t) { SqStack s StackInit(s) p=t while (p!=null !StackEmpty(s-preorder non- recursive algorithm# define maxsize 100 typedef struct (Bitree Elem [maxsize]) int top SqStack void PreOrderUnrec (Bitree t) (SqStack s StackInit (s) p = t while (p! = Null! StackEmpty (s
- 2022-12-23 05:40:03下载
- 积分:1
-
科学与工程数值算法用到的积分类
科学与工程数值算法用到的积分类-science and engineering numerical algorithm used in the integration category
- 2022-02-21 19:32:31下载
- 积分:1
-
数值与符号计算LU分解法,运用LU分解函数求解Ax=b的矩阵运算...
数值与符号计算LU分解法,运用LU分解函数求解Ax=b的矩阵运算-numerical and symbolic computation LU decomposition, using LU decomposition function for Ax = b matrix operation
- 2022-03-19 23:17:36下载
- 积分:1
-
Check1 (0). Caption = "soap" Check1 (1). Caption = "soap" Ch...
Check1(0).Caption = "香皂" Check1(1).Caption = "肥皂" Check1(2).Caption = "牙膏" Check1(3).Caption = "洗衣粉" Label1(0).Caption = "5.8元" Label1(1).Caption = "2.5元" Label1(2).Caption = "7.9元" Label1(3).Caption = "6.4元"-Check1 (0). Caption = "soap" Check1 (1). Caption = "soap" Check1 (2). Caption = "toothpaste" Check1 (3). Caption = "detergent" Label1 (0). Caption = "5 .8 million "Label1 (1). Caption = "2.5 yuan" Label1 (2). Caption = "7.9 yuan" Label1 (3). Caption = "6.4 yuan"
- 2022-01-25 16:20:06下载
- 积分:1
-
趣味问题的程序原代码 海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只 猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩...
趣味问题的程序原代码 海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只 猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成五份,又多了 一个,它同样把多的一个扔入海中,拿走了一份,第三、第四、第五只猴子都是这样做的, 问海滩上原来最少有多少个桃子?- On the interest question procedure original code beach has pile
of peaches, five monkeys divide. The first monkey divides into this
pile of peach proof five, many, this monkey has thrown into many in
the sea, took away. The second monkey the peach which is left over
equally divides into five, also many, it similarly has thrown into
many in the sea, took away, third, fourth, the fifth monkey all is
does this, asked how many peaches on the beach most is originally
unusual?
- 2022-10-26 14:25:03下载
- 积分:1
-
四旋翼飞行器
应用背景四旋翼飞行器设计资料大全,包括运力图的设计,控制代码的参考,各个芯片的使用,对初学者提高很有帮助。四旋翼飞行器应用在航拍上有很大市场空间。关键技术四旋翼飞行器设计关键的难点还在于算法,资料中有相关源码可进行参考,对初学者学习上手有很大的帮助。
- 2023-05-26 17:45:04下载
- 积分:1
-
jDBC 算法
JDBC ™ API 被设计为使简单的事情保持简单。这意味着 JDBC 是日常数据库任务轻松。这条小道走你通过使用 JDBC 执行常见的 SQL 语句,并执行其他目标,共同为数据库应用程序的例子。JDBC API 是一个 Java API,可以访问任何类型的表格数据,特别是数据存储在关系 databaseDBC 帮助您编写 Java 应用程序管理这些编程的三个活动: 连接到数据源如 databaseSend 查询和更新到 databaseRetrieve 的语句并处理结果收到答复你董事长 JDBC ™ API 提供编程访问到关系型数据从 Java ™ 编程语言中的数据库。使用 JDBC API,应用程序可以执行 SQL 语句,检索结果并将更改传播回基础数据源。JDBC API 也可以与在分布式异构环境中的多个数据源进行交互。JDBC API 是 Java 平台,其中包括 Java ™ 标准版 (Java ™ SE) 和 Java ™ 企业版 (Java ™ EE) 的一部分。JDBC 4.0 API 被分成两个包: java.sql 和 javax.sql。这两个包都包括在 Java SE 和 Java EE 平台。在这 TP,您将学习 JDBC API 的基础知识。
- 2022-03-26 10:06:16下载
- 积分:1
-
目前的商用有限元程序不但分析功能几乎覆盖了所有的工程领域,其程序使用也非常方便,只要有一定基础的工程师都可以在不长的时间内分析实际工程项目,这就是它能被迅速推广...
目前的商用有限元程序不但分析功能几乎覆盖了所有的工程领域,其程序使用也非常方便,只要有一定基础的工程师都可以在不长的时间内分析实际工程项目,这就是它能被迅速推广的主要原因之一。-The current commercial finite element analysis capabilities will not only cover almost all the engineering fields, and the procedure is also very easy to use, as long as there is some basis for engineers can be a long period of time without an analysis of actual projects, that is, it can be rapidly expanded one of the main.
- 2022-10-08 20:50:02下载
- 积分:1
-
Two strings to find the longest common sub
找出两个字符串的最长公共子串。
给出一个字符串,请删除该字符串的前导空格和尾随空格,中间的空格若多余1个删减到1个。
我是个菜鸟,但软件会是我终生的事业~我有信心学好它,希望站长通融-Two strings to find the longest common sub-string. Given a string, remove the string leading spaces and trailing spaces, if the extra spaces in the middle of a cut to one. I was a rookie, but the software will be my lifelong career ~ and I am confident to learn it, and hope that owners accommodation
- 2023-05-01 09:20:03下载
- 积分:1