guofei9987 / guofei9987/scikit-opt
如何用已知的较好参数初始化种群
Open
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
现在我有一组较好的参数,比如一组维度为(50,10)的numpy数组,其中元素都是float类型,其中50是种群大小,10是参数的维度,我可以用这个数组去初始化种群吗?如何实现呢?
我试过令self.Chrom=这个数组,但是在某个地方报错数据类型不支持,这个self.Chrom必须是int类型的numpy数组吗
Contributor guide
Research direction
Start by tracing where self.Chrom is initialized and where its dtype is assumed, using the reported (50,10) float NumPy array as the case to follow. Done means determining whether a supplied float population is supported and documenting or exposing the required initialization behavior without the reported type error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100