We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
对于问题fieldD = np.array([[4,4,5],[1,2,3],[10,9,5],[0,0,1],[0,0,0],[1,1,1],[1,1,1],[0,1,0]]) chorm = np.array([[1,0,1,1,1,0,0,0,1,1,1,0,1], [0,1,0,0,1,1,0,1,0,1,1,1,1], [0,0,0,1,1,1,0,0,0,0,1,0,1]]) phen = ea.bs2ri(chorm,fieldD) 《Geatpy数据结构》文档出给出的结果是Phen = 7.6 5 11.51612903 3.4 8 6.87096774 1.6 7 5.32258065 而我代码运行的结果是 [[7.6 6. 4.41935484] [3.4 8. 3.64516129] [1.6 8. 3.38709677]]。 希望能告知bs2ri的具体计算过程,谢谢。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
对于问题fieldD = np.array([[4,4,5],[1,2,3],[10,9,5],[0,0,1],[0,0,0],[1,1,1],[1,1,1],[0,1,0]])
chorm = np.array([[1,0,1,1,1,0,0,0,1,1,1,0,1],
[0,1,0,0,1,1,0,1,0,1,1,1,1],
[0,0,0,1,1,1,0,0,0,0,1,0,1]])
phen = ea.bs2ri(chorm,fieldD)
《Geatpy数据结构》文档出给出的结果是Phen =
7.6 5 11.51612903
3.4 8 6.87096774
1.6 7 5.32258065
而我代码运行的结果是
[[7.6 6. 4.41935484]
[3.4 8. 3.64516129]
[1.6 8. 3.38709677]]。
希望能告知bs2ri的具体计算过程,谢谢。
The text was updated successfully, but these errors were encountered: