• Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA
  • Disclaimer
Thursday, August 22, 2024
CryptoBangs.com
Advertisement
  • Home
  • Live Crypto Prices
  • Crypto News
    • Bitcoin
    • Ethereum
    • Ripple
    • Altcoin
    • NFT News
  • DeFi
  • Blockchain
  • Regulation
  • Shop
  • Blog
  • Calculator
No Result
View All Result
  • Home
  • Live Crypto Prices
  • Crypto News
    • Bitcoin
    • Ethereum
    • Ripple
    • Altcoin
    • NFT News
  • DeFi
  • Blockchain
  • Regulation
  • Shop
  • Blog
  • Calculator
No Result
View All Result
CryptoBangs.com
No Result
View All Result

Enhancing Recommender Systems with Co-Visitation Matrices and RAPIDS cuDF

August 22, 2024
in Blockchain
Reading Time: 3 mins read
A A
Enhancing Recommender Systems with Co-Visitation Matrices and RAPIDS cuDF
ShareShareShareShareShare

Related articles

Algorand Price Prediction for Today, August 21 – ALGO Technical Analysis

Algorand Price Prediction for Today, August 21 – ALGO Technical Analysis

August 21, 2024
Tether (USDT) to Launch UAE Dirham-Pegged Stablecoin in Collaboration with Phoenix Group

Tether (USDT) to Launch UAE Dirham-Pegged Stablecoin in Collaboration with Phoenix Group

August 21, 2024


Jessie A Ellis
Aug 22, 2024 08:15

Learn how to build efficient recommender systems using co-visitation matrices and RAPIDS cuDF for faster data processing and improved personalization.





Recommender systems are crucial for personalizing user experiences across various platforms. These systems predict and suggest items that users are likely to interact with, based on their past behavior and preferences. Building an effective recommender system involves leveraging large, complex datasets that capture user-item interactions.

Recommender Systems and Co-Visitation Matrices

Recommender systems are machine learning algorithms designed to deliver personalized suggestions to users. They are widely used in e-commerce, content streaming, and social media to help users discover products, services, or content aligned with their interests.

Datasets for recommender systems typically include:

  • Items to recommend, which can number in the millions.
  • Interactions between users and items, forming sessions that help infer future user interactions.

A co-visitation matrix counts items that appear together in a session, making it easier to recommend items that frequently co-occur with those in a user’s session.

Challenges in Building Co-Visitation Matrices

Computing co-visitation matrices involves processing numerous sessions and counting all co-occurrences, which can be computationally expensive. Traditional methods using libraries like pandas can be inefficient and slow for large datasets, necessitating heavy optimization for practical use.

RAPIDS cuDF, a GPU DataFrame library, addresses these issues by providing a pandas-like API for faster data manipulation. It accelerates computations by up to 40x without requiring code changes.

RAPIDS cuDF Pandas Accelerator Mode

RAPIDS cuDF is designed to speed up operations like loading, joining, aggregating, and filtering on large datasets. Its new pandas accelerator mode allows for accelerated computing in pandas workflows, delivering 50x to 150x faster performance for tabular data processing.

The Data

The data for this tutorial comes from the OTTO – Multi-Objective Recommender System Kaggle competition, which includes one month of sessions. The dataset contains 1.86 million items and around 500 million user-item interactions, stored in chunked parquet files for easier handling.

Implementing Co-Visitation Matrices

To build co-visitation matrices efficiently, the data is split into parts to manage memory usage. Sessions are loaded, and transformations are applied to save memory. Interactions are restricted to a manageable number, and co-occurrences are computed by merging the data with itself on the session column.

Weights are assigned to pairs of items, and the matrix is updated by adding new weights to previous ones. Finally, the matrix is reduced to keep only the best candidates per item, ensuring that the most relevant information is retained.

Generating Candidates

Co-visitation matrices can be used to generate recommendation candidates by aggregating weights over session items. The items with the highest weights are recommended. This process benefits significantly from the GPU accelerator, making it faster and more efficient.

Performance Assessment

The recall metric is used to evaluate the strength of the candidates. In this case, the recall@20 metric showed a strong baseline performance, with an achieved recall of 0.5868. This means that out of 20 items recommended, on average, 11 were purchased by the user.

Going Further

Improving candidate recall involves giving more history to the matrices, refining the matrices by considering interaction types, and adjusting weights based on the importance of session items. These changes can significantly enhance the performance of recommender systems.

Summary

This tutorial demonstrates how to build and optimize co-visitation matrices using RAPIDS cuDF. Leveraging GPU acceleration, co-visitation matrix computation becomes up to 50x faster, enabling quick iterations and improvements in recommender systems.

For more details, visit the NVIDIA Technical Blog.

Image source: Shutterstock


Credit: Source link

ShareTweetSendPinShare
Previous Post

BC.GAME Unveils Coco Rush: A New Mini-App Game on Telegram

Next Post

AI Sets TRX Price For August 25, 2024

Related Posts

Algorand Price Prediction for Today, August 21 – ALGO Technical Analysis

Algorand Price Prediction for Today, August 21 – ALGO Technical Analysis

August 21, 2024

Join Our Telegram channel to stay up to date on breaking news coverage The Algorand price prediction shows that ALGO...

Tether (USDT) to Launch UAE Dirham-Pegged Stablecoin in Collaboration with Phoenix Group

Tether (USDT) to Launch UAE Dirham-Pegged Stablecoin in Collaboration with Phoenix Group

August 21, 2024

Luisa Crawford Aug 21, 2024 18:16 Tether announces plans to introduce a stablecoin pegged to the...

VanEck Provides Monthly Gold Market Insights from Experts Casanova and Foster

VanEck Provides Monthly Gold Market Insights from Experts Casanova and Foster

August 21, 2024

Timothy Morano Aug 21, 2024 15:52 VanEck shares monthly insights on the gold market and economy...

Bitcoin Price Prediction: BTC Plunges 3% As Mt. Gox Moves $784 Million And This Solana GameFi Crypto Closes On $2 Million

Bitcoin Price Prediction: BTC Plunges 3% As Mt. Gox Moves $784 Million And This Solana GameFi Crypto Closes On $2 Million

August 21, 2024

Join Our Telegram channel to stay up to date on breaking news coverage The Bitcoin price plunged 3% in the...

Brett Price Pumps 7% After Binance Futures Launch, But Experts Say This Base Meme Coin Rival Might Be The Best Crypto To Buy Now

Brett Price Pumps 7% After Binance Futures Launch, But Experts Say This Base Meme Coin Rival Might Be The Best Crypto To Buy Now

August 21, 2024

Join Our Telegram channel to stay up to date on breaking news coverage The Brett price pumped 7% in the...

Load More
Next Post
AI Sets TRX Price For August 25, 2024

AI Sets TRX Price For August 25, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Crypto Sleuth Uncovers Sahil Arora’s Celebrity Token Scheme

Crypto Sleuth Uncovers Sahil Arora’s Celebrity Token Scheme

August 15, 2024
Pixelcraft Studios Unveils a New Members-Only Blockchain ‘Geist’

Pixelcraft Studios Unveils a New Members-Only Blockchain ‘Geist’

August 16, 2024
Bitwise AUM surpasses $4.5 billion, expands to Europe with ETC Group purchase

Bitwise AUM surpasses $4.5 billion, expands to Europe with ETC Group purchase

August 19, 2024
Bitcoin Mining Hashrate Rebounds: Belief Back Among Miners?

Bitcoin Mining Hashrate Rebounds: Belief Back Among Miners?

August 21, 2024
TRON’s $13.65B Market Cap Explosion

TRON’s $13.65B Market Cap Explosion

August 20, 2024
CryptoBangs.com

CryptoBangs.com is an online news portal that aims to share the latest crypto news, bitcoin, altcoin, blockchain, nft news and much more stuff like that.

What’s New Here!

  • AI Sets TRX Price For August 25, 2024
  • Enhancing Recommender Systems with Co-Visitation Matrices and RAPIDS cuDF
  • BC.GAME Unveils Coco Rush: A New Mini-App Game on Telegram
  • SunPump Hits $11 Million: TRON Blockchain’s Game-Changer

Newsletter

Don't miss a beat and stay up to date with our Newsletter!
Loading

  • Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA
  • Disclaimer

© 2023 - CryptoBangs.com - All Rights Reserved!

No Result
View All Result
  • Home
  • Live Crypto Prices
  • Crypto News
    • Bitcoin
    • Ethereum
    • Ripple
    • Altcoin
    • NFT News
  • DeFi
  • Blockchain
  • Regulation
  • Shop
  • Blog
  • Calculator

© 2018 JNews by Jegtheme.

  • bitcoinBitcoin(BTC)$61,140.003.09%
  • ethereumEthereum(ETH)$2,650.992.17%
  • tetherTether(USDT)$1.000.25%
  • binancecoinBNB(BNB)$566.68-0.64%
  • solanaSolana(SOL)$143.39-0.05%
  • usd-coinUSDC(USDC)$1.000.24%
  • rippleXRP(XRP)$0.610.64%
  • staked-etherLido Staked Ether(STETH)$2,647.052.08%
  • the-open-networkToncoin(TON)$6.731.06%
  • dogecoinDogecoin(DOGE)$0.1061072.27%
  • tronTRON(TRX)$0.1598822.67%
  • cardanoCardano(ADA)$0.3741598.18%
  • Wrapped stETHWrapped stETH(WSTETH)$3,110.942.02%
  • avalanche-2Avalanche(AVAX)$23.544.63%
  • wrapped-bitcoinWrapped Bitcoin(WBTC)$61,018.003.02%
  • shiba-inuShiba Inu(SHIB)$0.0000142.00%
  • WETHWETH(WETH)$2,645.961.97%
  • bitcoin-cashBitcoin Cash(BCH)$347.023.20%
  • chainlinkChainlink(LINK)$10.987.42%
  • polkadotPolkadot(DOT)$4.683.08%
  • leo-tokenLEO Token(LEO)$5.79-0.40%
  • uniswapUniswap(UNI)$7.0513.86%
  • daiDai(DAI)$1.000.17%
  • matic-networkPolygon(MATIC)$0.5215.02%
  • litecoinLitecoin(LTC)$63.73-0.92%
  • nearNEAR Protocol(NEAR)$4.234.97%
  • Wrapped eETHWrapped eETH(WEETH)$2,765.751.95%
  • kaspaKaspa(KAS)$0.161966-0.10%
  • internet-computerInternet Computer(ICP)$7.756.63%
  • PepePepe(PEPE)$0.0000082.44%
  • aptosAptos(APT)$6.273.17%
  • Ethena USDeEthena USDe(USDE)$1.000.10%
  • moneroMonero(XMR)$159.961.31%
  • stellarStellar(XLM)$0.0985790.82%
  • ethereum-classicEthereum Classic(ETC)$19.552.66%
  • First Digital USDFirst Digital USD(FDUSD)$1.010.66%
  • fetch-aiArtificial Superintelligence Alliance(FET)$0.979.73%
  • crypto-com-chainCronos(CRO)$0.0876480.99%
  • blockstackStacks(STX)$1.585.39%
  • okbOKB(OKB)$37.862.40%
  • suiSui(SUI)$0.86-1.95%
  • filecoinFilecoin(FIL)$3.834.37%
  • BittensorBittensor(TAO)$301.812.72%
  • aaveAave(AAVE)$142.1814.27%
  • mantleMantle(MNT)$0.611.71%
  • vechainVeChain(VET)$0.0243584.98%
  • hedera-hashgraphHedera(HBAR)$0.0550042.16%
  • arbitrumArbitrum(ARB)$0.552.74%
  • injective-protocolInjective(INJ)$19.545.40%
  • immutable-xImmutable(IMX)$1.205.21%
WP Twitter Auto Publish Powered By : XYZScripts.com