How to perform Independent Component Analysis(ICA) in Python

Independent Component Analysis(ICA) is an unsupervised ML algorithm which is used to find independent groups of columns in data. More information about this algorithm can be found here.

You can learn more about ICA in the below video.

The below code helps to run ICA for any data in python.

Sample Output:

Running ICA in Python
Running ICA in Python

Author Details
Lead Data Scientist
Farukh is an innovator in solving industry problems using Artificial intelligence. His expertise is backed with 10 years of industry experience. Being a senior data scientist he is responsible for designing the AI/ML solution to provide maximum gains for the clients. As a thought leader, his focus is on solving the key business problems of the CPG Industry. He has worked across different domains like Telecom, Insurance, and Logistics. He has worked with global tech leaders including Infosys, IBM, and Persistent systems. His passion to teach inspired him to create this website!

4 thoughts on “How to perform Independent Component Analysis(ICA) in Python”

  1. It’s an easy example to understand and the code looks neat.
    But can you bit explain the meaning of final independent components IC1 and IC2 ?
    What do they suggest ? What does each row say ?

    1. The independent components IC1 and IC2 are representing those 7 original columns.
      When you do such compression, the individual components row values don’t have a business meaning which can be explained. While the original columns, each one of them has a individual meaning.

  2. Would be nice to project these on 2D or 3D (for n_components=3) axis, as a biplot. Is there a way? Thanks

Leave a Reply!

Your email address will not be published. Required fields are marked *