Skip to main content
  1. Data Science Blog/

Dealing with Sensitive Data

·551 words·3 mins· loading · ·
Data Security & Privacy Cybersecurity Data Science Data Security Data Privacy Data Governance Cybersecurity Data Management

XAI

Dealing with Sensitive Data
#

Introduction
#

One of the biggest problems for a Data Science project team is to protect the data. We know, data is the basic raw material for building any supervised or unsupervised models. We cannot make a without data. Let’s assume you are working for an eCommerce retail company like Amazon; or in the health domain with some big hospital chain or government hospital; or in the banking industry with some big bank like Bank of America, Standard Charted, SBI, or ICICI Bank. They have huge data. That data can be used to develop ML models. These models can help them to serve their customers or other stakeholders in a better and efficient way. To develop these models, data should be given to the Data Science team. When the data is moving out from the production environment to the project environment, there is no guarantee that data will not fall in the wrong hands and will not be misused during the project or post the project completion. When the data is moving within the same company, there are lesser chances of this disaster. But when the company is giving data to third parties or vendors, then there are high chances.

As a client, it is my responsibility to ensure and take the measure that data do not fall in the hands of those for whom it is not intended. But even if it goes to unintended people, they should not be able to misuse that. How to ensure that the given data helps the data science team in developing a high-performing model and at the same time data is useless in the wrong hands?   For that purpose, there are many methods and 4 methods recommend in this article.  If you are interested in reading in detail you can read that. Below is the summary of those 4 techniques.

Techniques to Handle Sensitive Data
#

  1. Data Removal and Encryption : Look all the columns of all the files. Ask yourself, is this information useful for the model building? If you do not know the answer, then ask data science team. If data is not useful, then remove that file or column from the file. When we know that field is must, then we should encrypt that field. For example, a name field may be removed. Religion or address field may be encrypted.
  2. Data Coarsening: For example, if you have income filed, then consider it rounding off to a thousand or a million precision level. Consider amount field 2378959 to 2378K or 2.3M.
  3. Data Masking: Handing over full credit card number is dangerous, so consider giving last 4 digit and mask other digits. Or you can convert these 4 digits to an octave number, so 8 can be written as 10. Instead of giving address, consider low precision longitude and latitude of the address.
  4. Principal Components Analysis (PCA): PCA can be used to compress the data. For example, if your dataset has 10 columns then after compressing this using PCA you can get 2 or 3 columns which represents 99% of the data which is coming from your 10 columns. You can safely hand over this new compress data for modeling.

If you are using any other techniques, then feel free to share them in the comment box.

Related

Quantum Hardware Is Not a Smaller or Stranger Classical Computer
·5562 words·27 mins· loading
Interdisciplinary Topics Research & Academia Quantum Computing Quantum Physics Quantum Mechanics Photonics Semiconductor Engineering Interdisciplinary Topics
Quantum Hardware Is Not a Smaller or Stranger Classical Computer # A ground-up guide for engineers …
Bell's Inequality: What It Actually Tests About Reality
·2254 words·11 mins· loading
Interdisciplinary Topics Research & Academia Physics Quantum Physics Quantum Mechanics Philosophy of Science Entanglement Probability
Bell’s Inequality # What it actually tests about reality — explained step by step # Part 18 …
What Is Distance? From Metres to Light-Travel Time and the Meaning of Size
·4301 words·21 mins· loading
Interdisciplinary Topics Research & Academia Physics Special Relativity Quantum Physics Metrology Philosophy of Science Applied Mathematics
What Is Distance? # From metres to light-travel time — and what it really means for an object to …
Anatomy of a Circle — Radius, Arc, Sector, Radian, π, and Every Part in Between
·1826 words·9 mins· loading
Mathematics Research & Academia Mathematics Mathematics for Machine Learning Mathematics for AI Applied Mathematics Geometry Trigonometry
Anatomy of a Circle # Every named part, formula, and diagram — strictly in two dimensions # Part 16 …
Six Trigonometric Functions — One Diagram
·1958 words·10 mins· loading
Mathematics Research & Academia Mathematics Mathematics for Machine Learning Mathematics for AI Applied Mathematics Trigonometry Geometry
Six Trigonometric Functions — One Diagram # All six trig values as lengths on one unit-circle …