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

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/d/s/DS_GA_NYC-HEAD/DS_NYC3_sample_code/lesson_13/python-recsys-master/tests/test_matrix.py   DS_GA_NYC(Download)
from nose import with_setup
from nose.tools import assert_equal, assert_not_equal, assert_raises, assert_true
 
from recsys.algorithm.matrix import SparseMatrix as OurSparseMatrix
from divisi2 import make_sparse, SparseMatrix
def test_equal():
    m = make_sparse(data)
    assert_equal(matrix.get(), m)
 
def test_set_matrix():
    m = make_sparse(data)

src/p/y/python-recsys-HEAD/tests/test_matrix.py   python-recsys(Download)
from nose import with_setup
from nose.tools import assert_equal, assert_not_equal, assert_raises, assert_true
 
from recsys.algorithm.matrix import SparseMatrix as OurSparseMatrix
from divisi2 import make_sparse, SparseMatrix
def test_equal():
    m = make_sparse(data)
    assert_equal(matrix.get(), m)
 
def test_set_matrix():
    m = make_sparse(data)