mindsdb / mindsdb_native

Machine Learning in one line of code
http://mindsdb.com
GNU General Public License v3.0
37 stars 28 forks source link

Store ICP groups with str keys #476

Closed paxcema closed 3 years ago

paxcema commented 3 years ago

Why

Solves M#1186.

Grouped time series predictors were not being saved due to an error in SQL Alchemy, as it could not use frozensets as keys. These frozensets were used to store ICPs for each different group. This PR changes those keys to a simple '_'.join() of the values in the grouped columns for each possible group.

Note: ignore deceiving branch name