recipe: Anchor Point Determining Model - APDM

recipe_APDM(
  df,
  df_neighbors,
  user = "u_id",
  timestamp = "created_at",
  location = "loc_id",
  keep_score = F
)

Arguments

df

An enriched dataframe

user

Name of column that holds unique identifier for each user

timestamp

Name of timestamp column. Should be POSIXct

location

Name of column that holds unique identifier for each location

keep_score

Option to keep or remove calculated result/score per user per location

show_n_loc

Number of potential homes to extract