Skip to content

Instantly share code, notes, and snippets.

View devashishd12's full-sized avatar

Devashish Deshpande devashishd12

View GitHub Profile
@devashishd12
devashishd12 / agent_experimentation.ipynb
Created February 8, 2024 19:16
SQL Agent Experimentation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devashishd12
devashishd12 / mapping.ipynb
Created July 14, 2017 04:17
Mapping uri to words
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devashishd12
devashishd12 / conditional_random_fields.ipynb
Created April 12, 2017 17:43
Implementation of Linear Chain Conditional Random Fields with application to POS tagging
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devashishd12
devashishd12 / gensim_topic_modeling.ipynb
Last active September 19, 2017 16:47
Tutorial on creating and evaluating topic models with Gensim
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devashishd12
devashishd12 / zs_dsc.ipynb
Last active September 3, 2016 06:07
ZS Data Science challenge notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devashishd12
devashishd12 / tcusescases.ipynb
Created August 21, 2016 12:09
Notebook for topic coherence use cases blog
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devashishd12
devashishd12 / 20ng_benchmark_testing.ipynb
Last active July 17, 2016 16:02
Benchmark testing of the gensim topic coherence pipeline on 20NG dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devashishd12
devashishd12 / movies_benchmark_testing.ipynb
Last active July 20, 2016 16:13
Benchmark testing of gensim coherence pipeline on the Movies dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import re
import os
from scipy.stats import pearsonr
from datetime import datetime
from gensim.models import CoherenceModel
from gensim.corpora.dictionary import Dictionary
prefix = "/home/devashish/datasets/Movies/movie"