Skip to content
View prempv's full-sized avatar
🎧
🎧

Block or report prempv

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
prempv/README.md

Hi there 👋

Pinned Loading

  1. dgl_kge dgl_kge Public

    Python 1

  2. extractive-sentence-summarization extractive-sentence-summarization Public

    Forked from josiahdavis/extractive-sentence-summarization

    Jupyter Notebook

  3. Elbow points experimentation script Elbow points experimentation script
    1
    # %% **************************************************************************
    2
    
                  
    3
    from matplotlib import colors
    4
    import pandas as pd
    5
    import numpy as np
  4. Convert cosine scores to classes and... Convert cosine scores to classes and confidence of class
    1
    a = [0, 0.1, 0.24, 0.3, 0.66, 0.99, 0.83335, 1]
    2
    
                  
    3
    [
    4
        (
    5
            round(i * 3 + 1),
  5. Python code that implements multipro... Python code that implements multiprocessing with Task Queues and Result Queues. It creates 5 worker processes, that picks an item from the task list (input_queue), processes it, and adds the result to output_queue.
    1
    from multiprocessing import Process, Queue
    2
    from time import sleep
    3
    from random import random
    4
    
                  
    5
    class Worker(Process):
  6. word phrases / bigrams sampling word phrases / bigrams sampling
    1
    # Source: https://github.com/chrisjmccormick/word2vec_commented/blob/master/word2phrase.c#L389
    2
    
                  
    3
     *   In this step, we go back through the training text again, and evaluate
    4
     *   whether each word combination should be turned into a phrase.
    5
     *   We are trying to determine whether words A and B should be turned into