mindsdb / lightwood

Lightwood is Legos for Machine Learning.
GNU General Public License v3.0
450 stars 94 forks source link

Check potential issue with ignored forced dtypes in `json_ai_from_problem` #1142

Closed paxcema closed 1 year ago

paxcema commented 1 year ago

As reported by @pafluxa

paxcema commented 1 year ago

Closing. Cannot reproduce, override works fine:

pdef = ProblemDefinition.from_dict({"target": target, 'dtype_dict': {'$col': '$type'})
json_ai = json_ai_from_problem(df, problem_definition=pdef)