concept term in category deep learning

This is an excerpt from Manning's book Math and Architectures of Deep Learning.
Now for the all important step. We need to estimate the function which transforms the input vector to the output. With slight abuse of terms, we will denote this function as well as the output by y. In mathematical notation, we want to estimate y(
).
IDF is obtained by inverting and then taking logarithm of the fraction of all documents in which the term occurs. For terms that occur in most documents, IDF weight will be very low. It will be high for relatively esoteric terms.
Words are known by the company they keep. This means, if terms appear together in many documents, they are likely to share some semantic similarity. For instance, guns and violence in the above examples. Such terms should be grouped together into a common pool of semantically similar terms. We will call this pool a topic. Document similarity should be measured in terms of common topics rather than common terms. Thus, we have expanded the notion of shared terms between documents to shared topics between documents.
Figure 4.8: Document Vectors from our toy dataset d0, ··· d6. Each word in the vocabulary corresponds to a separate dimension. Dots show projections of document feature vectors on the plane formed by the axes corresponding to the terms “gun(s)” and “violence”
![]()
How do we automatically identify topics from an universe of documents? Answer: we look for terms that occur together in many documents. Geometrically, this would manifest as follows: if we project the points representing document vectors on the subspace corresponding to the topic, we will see correlation (see Figure 4.8). This means - recall section 4.3 - we expect principal components along the topics. We can identify these principal components by taking SVD on the data matrix with individual document vectors along its rows. Then, the right eigenvectors would be along topics. Projecting the document vectors on the subspace of these eigenvectors would yield topic modeling of the document. As indicated before, we can set the smaller eigenvalues to zero to eliminate noise and unimportant topics.

This is an excerpt from Manning's book Deep Learning with PyTorch.
TensorFlow has a robust pipeline to production, an extensive industry-wide community, and massive mindshare. PyTorch has made huge inroads with the research and teaching communities, thanks to its ease of use, and has picked up momentum since, as researchers and graduates train students and move to industry. It has also built up steam in terms of production solutions. Interestingly, with the advent of TorchScript and eager mode, both PyTorch and TensorFlow have seen their feature sets start to converge with the other’s, though the presentation of these features and the overall experience is still quite different between the two.
This is when PyTorch tensors come to the rescue, with a PyTorch component called autograd. Chapter 3 presented a comprehensive overview of what tensors are and what functions we can call on them. We left out one very interesting aspect, however: PyTorch tensors can remember where they come from, in terms of the operations and parent tensors that originated them, and they can automatically provide the chain of derivatives of such operations with respect to their inputs. This means we won’t need to derive our model by hand;10 given a forward expression, no matter how nested, PyTorch will automatically provide the gradient of that expression with respect to its input parameters.

This is an excerpt from Manning's book Deep Learning for Search.
A query parser is responsible for transforming the text of the search query entered by the user into a set of clauses that indicate which terms the search engine should look for and how to use them when looking for a match in the inverted indexes. In the previous query examples, the query parser would be responsible for making sense of the symbols + and ”. Another widespread syntax allows you to put Boolean operators among query terms: “deep AND learning.” In this case, the query parser will give a special meaning to the “AND” operator: terms to the left and right of it are mandatory. A query parser can be thought as a function that takes some text and outputs a set of constraints to apply to the underlying inverted index(es) in order to find results. Let’s again pick an example query like “latest research in artificial intelligence.” A smart query parser would create clauses that reflect the semantics of words; for example, instead of having two clauses for “artificial” and “intelligence,” it should create only one clause for “artificial intelligence.” In addition, probably the term “latest” isn’t to be matched; you don’t want results containing the word “latest”; you instead want to retrieve results that have been “created” recently. So a good query parser would transform the “latest” term into a clause that can be expressed, for example, like “created between today and 2 months ago” in natural language. The query engine would encode such a clause in a way that’s more easily handled by a computer, such as created < today() AND created > (today() - 60days); see figure 1.6.
During indexing, a text analysis pipeline is used to split the input text into terms to be stored in the index; this is also called index-time text analysis. Similarly, text analysis can be applied during search on the query in order to break the query string into terms; this is therefore called search-time text analysis. A document is retrieved by the search engine when the search-time terms match a term in the inverted index referenced by that doc.
Figure 1.7 shows an index-time analysis on the left, which is used to split a document text into terms. These end up in the index, all referencing doc 1. The index-time analysis is composed of a whitespace tokenizer and two token filters: the former is used to remove unwanted stopwords (like “the”), and the latter is used to convert all the terms into lowercase (for example, “Fox” gets converted to “fox”). At upper right, the query “lazy foxes” is passed to the search-time analysis, which splits tokens using a whitespace tokenizer but filters using a lowercase filter and a stemming filter. A stemming filter transforms terms by reducing inflected or derived words to their root form; this means removing plural suffixes, ing form in verbs, and so on. In this case, “foxes” is transformed into “fox.”