Kaaiian / CBFV

Tool to quickly create a composition-based feature vector
25 stars 6 forks source link

Invalid formulas during generate_features() #7

Open fedeotto opened 2 years ago

fedeotto commented 2 years ago

Some formulas in my datasets are occasionally not recognized and I get the error

raise CompositionError(f'{f} is an invalid formula!')
CompositionError: ,65 is an invalid formula!

This is happening into get_sym_dict() function. Is there a way to automatically drop non-recognized symbols?