Spartan
0.05
Site
spartan Package
dense Package
expr Package
sparse Package
wrap Package
Page
examples Package
kmeans
Module
netflix
Module
netflix_core
Module
Source
examples Package
¶
kmeans
Module
¶
spartan.examples.kmeans.
run
(
num_pts
,
num_centers
,
num_dim
)
[source]
¶
netflix
Module
¶
spartan.examples.netflix.
fake_netflix_mapper
(
inputs
,
ex
,
p_rating=None
)
[source]
¶
Create “Netflix-like” data for the given extent.
Parameters:
p_rating
– Sparsity factor (probability a given cell will have a rating)
spartan.examples.netflix.
load_netflix_mapper
(
inputs
,
ex
,
load_file=None
)
[source]
¶
spartan.examples.netflix.
sgd
(
V
,
M
,
U
)
[source]
¶
spartan.examples.netflix.
sgd_netflix_mapper
(
inputs
,
ex
,
V=None
,
M=None
,
U=None
,
worklist=None
)
[source]
¶
spartan.examples.netflix.
strata_overlap
(
extents
,
v
)
[source]
¶
netflix_core
Module
¶