This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #TF-IDF | |
| TF-IDF = tf * idf = tf * log(N/n) | |
| tf: number of times a term appears in a document | |
| N: total number of documents | |
| n: number of documents that contain a term | |
| TF-IDF stands for "Term Frequency, Inverse Document Frequency". | |
| It is a way to score the importance of words (or "terms") in a | |
| document based on how frequently they appear across multiple documents. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | redirect.c | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <fcntl.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| /** | |
| * Executes the command "grep Villanova < scores > out". | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Login shell: .bash_profile | |
| Interactive shell: .bashrc | |
| To color code your prompt on a Mac, use the following template: | |
| \[\033[COLOR_CODE_HERE\]PROMPT_ESCAPE_OR_TEXT_HERE\[\033[0m\] | |
| ---------------------------------------------------------------------------- | |
| Most Linux distributions use a little different format: | |
| \e[COLOR_CODE PROMPT_ESCAPE\e[0m | |
| ---------------------------------------------------------------------------- | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | struct foo | |
| { | |
| int x; | |
| float y; | |
| }; | |
| struct foo var; | |
| struct foo* pvar; | |
| var.x = 5; | 
NewerOlder