sna-hm / HybridDLM

Detecting phishing attacks using a combined model of LSTM and CNN
1 stars 0 forks source link

InvalidIndexError: Reindexing only valid with uniquely valued Index objects #1

Closed oussamachaab closed 1 year ago

oussamachaab commented 2 years ago

how can we slove this

sna-hm commented 2 years ago

It might be due to some duplicate columns. First, check your dataset; if it contains some duplicate columns, reseting the index does not work. Therefore, duplicated columns should be removed first to make it works. If you can share the used dataset and screenshot of the given error, it might be helpful for me to provide a specific solution for this.

oussamachaab commented 2 years ago

It's the same one that you use in your project

On Sat, Apr 16, 2022, 7:43 AM Subhash Ariyadasa @.***> wrote:

It might be due to some duplicate columns. First, check your dataset; if it contains some duplicate columns, reseting the index does not work. Therefore, duplicated columns should be removed first to make it works. If you can share the used dataset and screenshot of the given error, it might be helpful for me to provide a specific solution for this.

— Reply to this email directly, view it on GitHub https://github.com/sna-hm/HybridDLM/issues/1#issuecomment-1100587765, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYJT6CB74SO6IIZB2UISHTVFJOQDANCNFSM5TL2YMUQ . You are receiving this because you authored the thread.Message ID: @.***>

sna-hm commented 2 years ago

The issue is fixed and tested. You can get the updated code for a new attempt. The latest source is tested on Python 3.7.6 and Tensorflow version 2.1.0 with Keras 2.3.1 environment. If it is not working yet, please list the followed steps to reproduce.

Thank You.