code: def test_fsvd_train_binary():
      ratings = lktu.ml_test.ratings.drop(
          columns=["rating", "timestamp"]
      )
  
      original = svd.FunkSVD(20, iterations=20, bias=False)
      original.fit(ratings)
  
      assert original.bias is None
      assert original.item_features_.shape == (
          ratings.item.nunique(),
          20,
      )
      assert original.user_features_.shape == (
          ratings.user.nunique(),
          20,
      )
  
file_path: lkpy/tests/test_funksvd.py
imports: import logging
  import pickle
  from pathlib import Path
  import lenskit.algorithms.funksvd
  import pandas
  import numpy
  from pytest import approx, mark
  import lenskit.util.test
label_desc: Use image node_id 10 for calling a global function with example usage: test_fsvd_train_binary() without return types