fix: 部署导出 _feat_cols_ 解包适配新4元组(name,ftype,ia,ib)
This commit is contained in:
@ -795,8 +795,9 @@ class WaterQualityModelingBatch:
|
|||||||
_phys.wavelengths, dtype=np.float64
|
_phys.wavelengths, dtype=np.float64
|
||||||
)
|
)
|
||||||
_feat_map = {}
|
_feat_map = {}
|
||||||
for name, ia, ib in _phys._feat_cols_:
|
for name, ftype, ia, ib in _phys._feat_cols_:
|
||||||
_feat_map[name] = {
|
_feat_map[name] = {
|
||||||
|
'ftype': str(ftype),
|
||||||
'wl_a': float(_phys.wavelengths[ia]),
|
'wl_a': float(_phys.wavelengths[ia]),
|
||||||
'wl_b': float(_phys.wavelengths[ib]),
|
'wl_b': float(_phys.wavelengths[ib]),
|
||||||
'idx_a': int(ia),
|
'idx_a': int(ia),
|
||||||
|
|||||||
Reference in New Issue
Block a user