Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.96 KB

README.md

File metadata and controls

67 lines (47 loc) · 1.96 KB

Lab2 For Data Mining 2018 Fall @ NTHU

This repository contains all the instructions and necessary code for Data Mining 2018 (Fall) lab session 2.


Clone or Download this repository

  • Git clone:

      $ git clone https://github.com/EvanYu800112/dm_2018Fall_Lab2.git
    
  • Download zip file: download link


Libraries requirements

Here is a list of the new required python libraries necessary for this lab session:
tensorflow, keras, gensim, scikit-learn

Pre-trained model requirements

GoogleNews-vectors-negative300.bin.gz: download link
The data size is around 1.5GB, download it and put in ./GoogleNews/ directory. You do NOT need to decompress it.


Test script

Open a Jupyter notebook and run the following commands. If you have properly installed all the necessary libraries you should see no error.

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import itertools
import warnings
import sklearn
import gensim
import tensorflow
import keras

Preview of Complete Jupyter Notebook


Kaggle kernel version Jupyter Notebook


References