They both measure the mutual information between a matrix containing a set of feature vectors and the target. They are under sklearn.feature_selection, since the mutual information can be used to gain some understanding on how good of a predictor a feature may be. This is a core concept in information theory, which is closely linked to that of entropy, which I would suggest you to start with ...
The rough rule of thumb I would offer is to use an attribute for data that can be used as stored, and a function for data that needs to have something done to it before it's returned. In your example, .shape just returns the tuple as it is stored by the system. It's a straightforward attribute. By comparison, .info () and .describe () both apply filtering/formatting etc to the data before it ...
A couple things: First, you most likely want to use .gitignore instead of .git/info/exclude. It does the same thing, except it gets checked into the repo and versioned along with all the working files. In most situations this would be the desired behavior. (If you use .git/info/exclude then only that particular clone of the repository will ignore the specified paths, and if the ignore rules ...
github - How do I create/ add to a .git/info/exclude file to ignore ...
What is the difference between logger.debug and logger.info ? When will logger.debug be printed?
188 Each time I want to see the phpinfo(); I have to: Create a info.php file; Write phpinfo(); in it. Go to the browser and type my "thisproject.dev/info.php" I'm on Ubuntu. Isn't there a more practical way to see phpinfo in the browser?