Logarithmic transformation

Finf email marketing list in Sogou forum
Post Reply
arjumakhatun1468
Posts: 3
Joined: Tue May 21, 2024 5:59 am

Logarithmic transformation

Post by arjumakhatun1468 »

In the rest of this section, using the Python programming language, we will learn how to implement the three data transformation techniques mentioned earlier. If you want to get a more complete knowledge of various visualization methods, we suggest you to watch the tutorial video on visualization of extracurricular data, the link of which is placed below: Data visualization training - Part 1 Data visualization training video - Part 1 in the course click 1.



If the data sample follows a "power law distribution", we can Bermuda Email List change the data distribution to normal by applying the "logarithmic transformation" technique. Since most of the features in our dataset have a "right-skewed" distribution, we only need to use the function as below logUse the Numpy library to change the distribution to normal form: ## log transformation - power law distribution .


Image

you can see in the image below, the distribution of 10 examples of dataset features has been normalized to an acceptable level: Histogram chart of features after applying the logarithmic transformation technique Histogram plot of features after applying the logarithmic transformation technique - "click image to enlarge".
Post Reply