concrete_NLP_tutorial
concrete_NLP_tutorial copied to clipboard
An NLP workshop about concrete solutions to real problems
import keras import nltk import pandas as pd import numpy as np import re import codecs input_file = codecs.open("/home/vikash/gen/social_media-disaster-tweets-DFE.csv", 'r' , encoding='utf-8', errors='replace') print input_file output_file = open("social_media_relevant_cols_clean.csv", "w") def...
When running questions = pd.read_csv("socialmedia_relevant_cols.csv")
def plot_important_words(top_scores, top_words, bottom_scores, bottom_words, name): y_pos = np.arange(len(top_words)) top_pairs = [(a,b) for a,b in zip(top_words, top_scores)] top_pairs = sorted(top_pairs, key=lambda x: x[1]) bottom_pairs = [(a,b) for a,b in zip(bottom_words,...
I am having trouble setting up the environment and i think many are facing similar problems like #2 .If we can have a requirements.txt or environment.yml file,please add in the...
This way sanitize_characters does what it says it does =)
@hundredblocks   **ValueError: Classification metrics can't handle a mix of continuous...
Hi, Can you please provide the requirements.txt for the versions of python and all libraries? Thanks.