Provides functions for collaborative filtering

adjustSimMatrix | A function that applies a weighting factor to the columns of... |

calculateConnectionMatrix | Calculates for each UID the connection as a list of two... |

combineSimilarity | Combined similarity to given products |

connectionsToCounts | Calculates the connections matrix given the pair of orders |

connectOrderMapping | The function that drills in each order and associates the... |

cosineCpp | Calculates cosine similarity matrix for a given matix |

cosineMatrix | Cosine similarity transformation for product hits |

excludeSame | Filter out products that were seen by visitor |

expandHits | Expand visitor product hits data to dataset for prediction |

getComplimentaryProducts | Function to return complimentary product recommendations |

getNextOrderTopTypes | The function that return the n nearest types to the given... |

getProductGroupAffinities | Given a list of transactions the post order affinity table is... |

keepOnePerGroup | Gets top value per group |

makeRecommendationsFilter | Create filter function to reduce number of recommendations to... |

notInWhich | Creates permutation index for exclusion of values |

recommendComplimentaryProducts | Recommend products in item-to-item scenario |

recommendSimilar | Recommends products similar to given products |

recommendSimilarProducts | Recommend similar products to visitors based on product... |

similarity | Makes similarity score predictions based on the... |

similarity.predictor | Predicts similarity score for new product hits data |

similarityRecommender | Factory for the similarity recommendation model |

similarity.recommender-class | S4 class that represents similar products recommendation... |

simplify.transactions | Simplify two vector lists |

userProductHitsToMatrix | Turns interactions data table into a matrix |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.