Average Process
Know0
Don't know0
Haven't started22

Recommended flashcard sets

Flashcards in the set

Haven't started (22)

What is the LDA procedure? 


  1. Tell algorithm how many topics we expect 
  2. Algorithm assigns each word w in each document d to one of the k topics 
  3. Algorithm goes through each document document d and computed proportion of words in document d that are assigned to topic k
  4. Assumption: If a lot words in document d belongs to topic k, it is more probable to topic k
  5. Algorithm computes proportion of assignments to topic k over all documents that are due to the presence of word w. 
  6. If word w has high probability of being in topic k, all other documents incl. word w will be more strongly associated with topic k as well
  7. If word w has low probability of being in topic k, documents which feature the word will have very low probability o being in topic k
  8. Probabilities will be updated iteratively for a certain number of iterations


Three Assumptions of LDAs 


  1. Each topic is a distribution over words
  2. Each document is a mixture of corpus wide topic 
  3. Each word is drawn from one of these topics


What does LDA stand for?



Latent Dirichlet Allocation

What are the components and the procedure of LLMs?


  1. Data 
  2. Architecture 
  3. Training 
  4. Fine-Tuning 

It is a iterative process


What does LLM stand for?



Large Language Models

What are the advantages and disadvantages of Naive Bayes.


+ Quick and easy to implement 

+ Also works with very large data sets

+ can bet used with more than two classes

+ Requires relatively little training 

- Assumption of independence of the predictor/factor

- If a factor appears in test data that was not train data, bias will occur

What is supervised Learning?



Develop predictive model based on both input and output data.

What is Unsupervised Learning?



Group and interpret data based only on input data.

Machine Learning types 


  • Unsupervised learning: Clustering 
  • Supervised learning: Classification, Regression


Advantages and Disadvantages of Bottom-Up Analysis?


+ Highly accurate if trained correctly 

+ Can be trained to individual needs or company specifics

- Time-intensive. requires large training data that have to be processed or acquired 

- quality of results strongly depends on training data quality


Advantages and Disadvantages of Top-Down Analysis.


+ easy and quick to use 

+ Hardly any computational resources necessary 

- Very general terns that do not reflect corporate context 

- Only single words but no bigrams (not beautiful)-> negotiation problem


What is the process Bottom-Up Sentiment Analysis?


1.Uses pre-labeled text data to understand which word occur frequently in documents of a specific category


2.Model screens through text and estimated probability of category belonging based on word occurrence 


3.Determines in which category document belongs


What is the process of Top-Down Sentiment Analysis?


1.Pre-set list with words for a specific category.


2.Screens through text and counts number of words associated with each category 


3.Determines the sentiment score


What is the TF-IDF approach?


Measure of originality of a wordy comparing the number of times a word appears in a sentence with the number of sentence the word appears in.


Term frequency X Inverse Document Frequency


What is Zipf´s Law?


The frequency of a word decreases proportionally to its ranks.


How can we gather information from text?


  • Documents as combination of tokens: word level
  • Number of times a word accurs


What is Social (Media) Listening?


Process that involves monitoring and analyzing conversations and trends happening on social media platforms.


What is Text Mining?


Transforming textual data into numerical information that can than be processed by algorithms to subsequently extract underlying insights.


What is unstructured data?


Data that does not have a specific format or organization.


(Often needs to be transformed into Structured data)


What is structured data?


Data that is organized in a specific format, such as rows, columns in a spreadsheet or database.


Formula of TF-IDF (in words)

Term frequency x Inverse document Frequency

What is Word Embedding?

Words occur together and create context.