Posts

Showing posts from September, 2018

Fix Ubuntu’s “switch to greeter” login bug

Image
One day I switched  to guest and returned back to the user account, The password box has the label information like ' switch to greeter' . When I looked at this I was shell shocked. After deep analysis I found that was OS issue. The issue related detail information given in this link      https://ubuntuforums.org/showthread.php?t=2363654  . This link helped me back to normal.  Solution :  LightDM  is the root cause of this issue. So we have to restart / reinstall the LightDM through the command line.  Before go to solution, the small introduction  of lightdm given below, What is LightDM? LightDM is the display manager running in Ubuntu up to version 16.04 LTS. While it has been replaced by GDM in later Ubuntu releases, LightDM is still used by default in the latest release of several Ubuntu flavors.  LightDM starts the X servers, user sessions and greeter (login screen). The default greeter in Ubuntu up to ...

Feature Scaling in Machine Learning using Python

Image
      In this tutorial we are going to learn how to do scaling the independent variable data using python. In data processing, it is also called as data normalization . What is the use of feature scaling in Machine Learning?      The range of values of raw data varies widely, in some machine learning algorithms, objective functions will not work properly without normalization. For example, the majority of classifiers calculate the distance between two points by the Euclidean distance . If one of the features has a broad range of values, the distance will be governed by this particular feature. Therefore, the range of all features should be normalized so that each feature contributes approximately proportionately to the final distance. Another reason why feature scaling is applied is that gradient descent converges much faster with feature scaling than without it. We can do the feature scaling in many ways. As of now we are going to look the Min-M...