Yay

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

import numpy as np

import sklearn
import json
sheet = pyexcel.get_sheet(file_name="fire&wildfire_1333-geo.xlsx")
def unit_vector(vector):
""" Returns the unit vector of the vector. """
return vector / np.linalg.norm(vector)
def angle_between(v1, v2):
v1_u = unit_vector(v1)
v2_u = unit_vector(v2)
return np.arccos(np.clip(np.dot(v1_u, v2_u), -1.0, 1.0))

for x in range (1, 1335)


for y in range (x, 1335)
sklearn.feature_extraction.text.CountVectorizer(

You might also like