I'm training an unsupersived isolation forest model with a dataframe that contains 10 features , the model performs well and detect anomalies. My question is if an anomaly is catched i want to know which feature(s) has caused that anomaly. Is there any way to do it ? If not , is there an other model that allows me to do it
How to know which features causes anomalies while training isolation forest model
591 Views Asked by Bacem At
1
There are 1 best solutions below
Related Questions in MACHINE-LEARNING
- How to cluster a set of strings?
- Enforcing that inputs sum to 1 and are contained in the unit interval in scikit-learn
- scikit-learn preperation
- Spark MLLib How to ignore features when training a classifier
- Increasing the efficiency of equipment using Amazon Machine Learning
- How to interpret scikit's learn confusion matrix and classification report?
- Amazon Machine Learning for sentiment analysis
- What Machine Learning algorithm would be appropriate?
- LDA generated topics
- Spectral clustering with Similarity matrix constructed by jaccard coefficient
- Speeding up Viterbi execution
- Memory Error with Classifier fit and partial_fit
- How to find algo type(regression,classification) in Caret in R for all algos at once?
- Difference between weka tool's correlation coefficient and scikit learn's coefficient of determination score
- What are the approaches to the Big-Data problems?
Related Questions in UNSUPERVISED-LEARNING
- Implementation of convolutional sparse coding in deep networks frameworks
- How to extract unsupervised clusters from a Dirichlet Process in PyMC3?
- Determine the attribute that influences the outcome most
- Deep autoencoder using RBM
- Datum object in caffe - unsupervised networks
- Different silhouette scores for the same data and number of clusters
- Find Normal value using Min and Max from scala data-frame
- ELKI: perform min-max normalization before running k-means
- Unsupervised Classification: Assign classes to to data
- Unsupervised Learning : Clustering based Facial Recognition
- deep neural network model stops learning after one epoch
- How to use tf.Dataset in Keras model.fit without specifying targets?
- Importing data to tensorflow autoencoders through ImageDataGenerator
- K-means performance
- outlier detection using 2D spatial information
Related Questions in ANOMALY-DETECTION
- Fault Detection on time sequence of variable changing (trending) over the time
- Get sparse region of KDE
- Time Dependent Anomaly Detection in Unsupervised Learning
- Training Anomaly detection model on large datasets and chossing the correct model
- Questions about feature selection and data engineering when using H2O autoencoder for anomaly detection
- LSTM Autoencoder for Anomaly detection in time series, correct way to fit model
- Interpreting Anomaly detection R values
- Time Series Anomaly Detection from Data vs Image
- Categorical Embeddings in an Unsupervised Setting for Anomaly Detection
- How to use Isolation Forest in python
- Anomaly Detection Using Keras - Low Prediction Rate
- How to convert percentage to z-score of normal distribution in C/C++?
- uploading data using esp32 to google colab
- The reason of different results of KNN algorithm from PYOD & Sklearn packages
- The best algorithms to detect continuing decrease pattern on conversion data
Related Questions in ISOLATION-FOREST
- Trying to write the code for the iforest algorithm in python
- How to use Isolation Forest in python
- H2O | ExtendedIsolation Forest | model.explain() gives, KeyError: 'response_column'
- how to set max_depth in sklearn implementation of Isolation Forest?
- Outlier detection in time-series
- Unable to make multiple plotly graphs in for loop
- How to know which features causes anomalies while training isolation forest model
- IndexError for Shap TreeExplainer with Univariate IsolationForest
- By what criteria should bootstrap parameter be selected in isolation forest?
- Isolation forest with multiple features detecting everything as an anomaly
- How to give more importance to some features in sklearn Isolation Forest
- Evaluate multiple Isolation Forest estimators during GridSearchCV with custom scorer function
- Scikit Learn IsolationForest: How to Fit Multiple Dataframes With Different Parameters (Not Using GridSearchCV)
- Python Vetiver model - use alternative prediction method
- Threshold of anomaly score in scikit-learn's IsolationForest
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
SHAP values and the shap library can be used for this. See this answer for an example.
After getting the shap values out of the explainer for your datapoints, you can use the waterfall plots to see how different features contributed to the decision.
It will give a plot similar to this: