Detecting the fraud in the given dataset
I am currently working on proactive detection of fraud using Isolation forest in Jupyter notebook. I am finding it difficult to train the Isolation Forest Model. I am getting a valueerror: could not convert string to float: 'CASH_IN This is my code:
model = IsolationForest(contamination=0.01, random_state=42)
model.fit(X_train)
'