Terms starting with M
Machine Learning is the study of computer algorithms that improve automatically through experience.
Markdown is the language used to format the plain text files in your Git-enabled repository. Its also called a markup language, like HTML. Both languages add markers to plain text to style and organize the text of a document. In HTML:
<h1> Heading 1 </h1>
# Heading 1
Whereas you use HTML and CSS with WordPress, you use Markdown with Git and GitHub. Markdown has fewer options for marking text than HTML. It was designed to be human-readable, meaning easy to write and edit.
Markup languages allow you to format things, whether they’re documents, posters, or websites. HTML is a markup language, as is LaTeX.
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
If, when attempting to merge, there is a line that has been changed by both parties, you will experience a merge conflict. This means that Git needs your manual intervention to decide which of the two changes will be the canonical or accepted change. A merge conflict is resolved by editing the conflicting files with a text editor, then adding and committing to resolve the merge.
If you’ve advanced the timeline of a repository by making commits, and someone else has advanced the timeline of a remote version of the repository, when you attempt to pull in the remote changes you will be prompted to merge the two timelines. In most cases this is an automatic process that reconciles the two timelines.
Any data that describes your book: title, subtitle, author bio, book description, price, publication date, ISBN, etc.
A method in Python is similar to a function, in that it allows us to do things with data. However, a method is attached to what we call an object, which is a representation of data. Accordingly, a method operates as a function that is specifically available for that object.
Methods are accessed through the dot syntax
.. For example, the method
lower() can be attached to a string object like so:
"HELLO".lower() and will return the string
A module is a python file (like a script) that contains a number of functions and expressions that you want to include in your program. Programmers often import modules written by other programmers and use them like building blocks for their applications.
In order to use modules, you need to add them to your script with
import and then indicate which function you want to use with the dot syntax
.. For example, we might use the function
choice from the
random module, to generate random numbers.
>>> import random >>> numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9] >>> random.choice(numbers) 1 >>> random.choice(numbers) 3 >>> random.choice(numbers) 3 >>> random.choice(numbers) 1 >>> random.choice(numbers) 4 >>> random.choice(numbers) 9