Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(5)  |  Derive(0)  |  Import(2)

src/d/s/DS_GA_NYC-HEAD/DS_NYC3_sample_code/lesson_13/python-recsys-master/recsys/algorithm/factorize.py   DS_GA_NYC(Download)
 
from numpy import fromfile #for large files (U and V)
from divisi2 import DenseVector
from divisi2 import DenseMatrix
from divisi2.ordered_set import OrderedSet
            i = 0
            while i < len(matrix) / k:
                v = DenseVector(matrix[k*i:k*(i+1)])
                vectors.append(v)
                i += 1
            i = 0
            while i < len(matrix) / k:
                v = DenseVector(matrix[k*i:k*(i+1)])
                vectors.append(v)
                i += 1

src/p/y/python-recsys-HEAD/recsys/algorithm/factorize.py   python-recsys(Download)
 
from numpy import fromfile #for large files (U and V)
from divisi2 import DenseVector
from divisi2 import DenseMatrix
from divisi2.ordered_set import OrderedSet
            i = 0
            while i < len(matrix) / k:
                v = DenseVector(matrix[k*i:k*(i+1)])
                vectors.append(v)
                i += 1
            i = 0
            while i < len(matrix) / k:
                v = DenseVector(matrix[k*i:k*(i+1)])
                vectors.append(v)
                i += 1

src/c/o/conceptnet-HEAD/conceptnet/webapi/handlers.py   conceptnet(Download)
            return rc.BAD_REQUEST
 
        vec = divisi2.DenseVector(np.zeros((150,)))
        for term, weight in terms:
            if term in assocmat.row_labels: