almost-matching-exactly / DAME-FLAME-Python-Package

A Python Package providing two algorithms, DAME and FLAME, for fast and interpretable treatment-control matches of categorical data
https://almost-matching-exactly.github.io/DAME-FLAME-Python-Package/
MIT License
56 stars 14 forks source link

ValueError: could not broadcast input array from shape (4,2) into shape (6,4) #63

Open OliverWayne007 opened 12 months ago

OliverWayne007 commented 12 months ago

The above mentioned Error occurred in the following line: model = dame_flame.matching.FLAME(adaptive_weights = 'ridgeCV' , repeats = True , verbose = 3) model.fit(holdout_data = df11 , treatment_column_name='AGE', outcome_column_name='DIAGNOSIS') result = model.predict(df11).

Following is the dataset used: mimic-iii_Removed_Duplicates.csv

OliverWayne007 commented 12 months ago

Can anyone help in resolving this error ? Would really appreciate the help. Thanks !

nehargupta commented 11 months ago

Hi @OliverWayne007 will look into this thanks.

OliverWayne007 commented 11 months ago

Thanks for your consideration !

On Tue, Jul 11, 2023, 02:27 Neha Gupta @.***> wrote:

Hi @OliverWayne007 https://github.com/OliverWayne007 will look into this thanks.

— Reply to this email directly, view it on GitHub https://github.com/almost-matching-exactly/DAME-FLAME-Python-Package/issues/63#issuecomment-1629721620, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUGWWADZCW3OJF4RDLSBXQTXPRUEPANCNFSM6AAAAAA2BUOC3A . You are receiving this because you were mentioned.Message ID: <almost-matching-exactly/DAME-FLAME-Python-Package/issues/63/1629721620@ github.com>