// makeFieldDescMap returns a map from column key to FieldDesc
// NOTE that the target is not important for analyzing feature derivation.
makeFieldDescMap returns a map from column key to FieldDesc
NOTE that the target is not important for analyzing feature derivation.
// makeFieldDescMap returns a map from column key to FieldDesc // NOTE that the target is not important for analyzing feature derivation .
func makeFieldDescMap(features map[string][]FeatureColumn) FieldDescMap {
	fmMap := make(FieldDescMap)
	for _, fcList := range features {
		for _, fc := range fcList {
			for _, fm := range fc.GetFieldDesc() {
				if fm != nil {
					fmMap[fm.Name] = fm
				}
			}
		}
	}
	return fmMap
}
func makeFieldDescMap ( features map [ string ] [ ] FeatureColumn ) FieldDescMap { fmMap := make ( FieldDescMap ) for _ , fcList := range features { for _ , fc := range fcList { for _ , fm := range fc . GetFieldDesc ( ) { if fm != nil { fmMap [ fm . Name ] = fm } } } } return fmMap }
makeFieldDescMap returns a map from column key to FieldDesc
NOTE that the target is not important for analyzing feature derivation.
makeFieldDescMap returns a map from column key to FieldDesc NOTE that the target is not important for analyzing feature derivation .