Icon

Thesis 3

Annotations and comments
  • Db preparation
  • Text mining
  • Python LDA visualization
  • Checker box
  • Final Db exportation
  • Scopus
  • Data Preparation for Topic Models. Preprocessing, n-grams, exclusion of reviews with a small number of terms can be adjusted as desired
  • Find optimal k. Other methods can be implemented in KNIME (https://hub.knime.com/angusveitch/spaces/Public/latest/TopicKR~HRMp6v9Ip_ODMIob). Other Topic model algorithms that can be used in R or python are structural topic models (STM) and correlated topic models (CTM).
  • Obtain topic solution. Users can test more than 1 topic solution and choose based on interpretability.
  • Data preparation
  • Visualizion
  • Theta preparation
  • IEEE Explorer
  • Doc lenght preparation
  • Google Scholar
  • Phi preparation
  • Vocabulary preparation
  • Google Scholar automated from citation to full data
  • Bibliography
  • Cloude word visualization
  • If the python enviromental's is working use this section
  • Filter out the column text
  • Doc creation
  • Making all lower case to campare after
  • All the words for each paper are printed
  • Appliyng Kuhlen Stemmer
  • Removing irrelevant charts
  • Removing numbers
  • Removing numbers (other options)
  • Removing the punctation
  • Appliyng stop word filter
  • Filtering out non informative words
  • Filtering out unfrequent words
  • Filtering out too frequent words
  • Non descriptive terms
  • Dividing word per word
  • Founding the frequency of each word
  • Normalizing
  • List of words appearing in less than X documents
  • Normalize the count for a simpler interpretation
  • Individuate the words with a normalized score higher than X
  • Mantaining only the n-grams column
  • Retrieve pre-processed document as string
  • Creation of the n-grams
  • collect only last iteration from first inport second and third are passed back to the loop start
  • get first row only
  • umlaut -> no umlaut
  • convert to vars
  • Choosing if there are rappresenatative n-grams in the sample and retain them filterinf by the frequency
  • Normalizing the n-grams
  • old document columns
  • Extract Number of terms
  • Exclude Reviews with less than 10 words. LDA doesn't perform very well in text that is too short
  • Figguring out missing values
  • Converting the Years into strings for the string manipulation
  • Creating a column with all the info joined to have the bibliography
  • collect optimization data
  • iteration: topic-model
  • Optimization parameters
  • LDA
  • get-doc-id
  • loop over doc j
  • We need additional sorting criteria in case words have same mass
  • Compute obs words vectors
  • match words pairs
  • generic name
  • word pair
  • χ2 Chi-square
  • doc-id
  • Build the regex to match the words pairs
  • helps to generically rename the word
  • for each word in doc j
  • DTW
  • create a document-id
  • we want that the sets of words are consistent => Only words we are in the TWW Matric
  • filter out words without the tag (that means, not part of the TWW
  • Cartesian Product
  • no empty table
  • ^topic_.*$
  • sum up
  • mass
  • cumulativedistribution
  • split informative component
  • merge Informative component and Uninformative component
  • Uninformative component
  • Cumulative distribution
  • document-id
  • Informative component
  • 0 if empty
  • word vectors pairs
  • Same sets of docs (if a doc has no words in the DTW after making the group consistent with the vocabulary in the TWW, it will be filtered out)
  • Estimated Word Proportions
  • degrees-of-freedom
  • calibration of the probabilities
  • topics columns
  • list of topics
  • θ
  • φ
  • Sum up the linear combination by word in the document-n
  • topic as linear combination of words and weights
  • pairwise multiplication
  • regex
  • Pattern for matching
  • loop over each pair
  • T
  • shape the table
  • get the document of the current loop
  • new-id
  • store doc-id
  • TWW (Transposed)
  • for each word j
  • topic-ids
  • softmax
  • Topic-Words-Matrix
  • retrieve doc text
  • Change the file path accordingly
  • Combining the info
  • Appending the previus info
  • Mantaining only the usefull columns
  • Manteining for each topic all the weight that compose single abstract
  • Manteining only the n° of terms per abstract
  • Removing Topic id
  • Eliminating useless column
  • Chainging the name
  • Renaiming the columns to have uniform names accross the Dbs
  • Putting the column in the same order in all the Dbs
  • Putting the Dbs in the same table
  • Eliminating the duplicates
  • Importing the excel file from IEEE Explorer
  • Importing the excel file from Google Scholar
  • Importing the excel file from scopus
  • Importing the review framwork overiew
  • Visualizing in knime
  • Source check count The n. of rows in this node has to be equal to the sum of the rows in two nodes table creator
  • Counting Papers per topic
  • Summary words per topic
  • Full string with a line separation ready to be copied on word
  • Calculating the count for each word
  • Importing Merged dataset composed by: 1)phi 2)theta 3)doc_lenght 4)vocab 5)term frequency
  • If the paper are a little amount or the premium API are used put the first row of this joiner in the second row of the concatenate (and exclude the Google Scholar box output)
  • Adding overview info
  • Calculating the relative count (%)
  • Calculating the percentage weight of each words
  • Replaicing missing values with 0
  • Fit Comparison
  • Perplexity
  • LogLik Last Iteration
  • K
  • k and alpha are dynamic variables that are imputed in each loop iteration
  • alpha=0.1 Beta=0.01 Threads=16
  • Pivoting fo word
  • The script query the Semantic scholar API the info
  • After using this node substitute the output of this node to the input of the python script node in the visualization box (the one that create the visualization)
  • Creating visualization as HTML
  • Exporting the HTML Change the file path accordingly (Usefull to publish on github and spread the graph)
  • Matching the source that have to be excluded
  • Matching the source that have to be retain
  • If this table is not empty same paper are not in the list between the soruce to mantaine and exclude
  • Mantaining only the articles
  • Excluding paper before 2020
  • Removing the paper that are not 1 or 2 Q
  • Excluding papers that are not relevant for the research
  • Uniforming the name of the publication's typer
  • Sorting from A-Z terms
  • Making the Source column lower case to campare after
  • Replacing the topic with their name
  • Source to exclude
  • Source to retain
  • replace with topic names
  • Transforming row in varibale
  • Cloud word's
  • Step 3: Select a topic # example K=4

Nodes

Extensions

Links