当前位置: 首页 > wzjs >正文

绩溪建设银行网站wordpress文章博客模板下载

绩溪建设银行网站,wordpress文章博客模板下载,沈阳公司网站设计制作,打开一个网站慢本博文继续研究如何利用大语言模型(LLM)来构建播客推荐系统。 使用mongoDB 数据看存储基本数据 播客表(Podcast)节目表(Episodes)用户表(User) 用户表(User) DeepSeek 笔记:推荐…

       

 本博文继续研究如何利用大语言模型(LLM)来构建播客推荐系统。

使用mongoDB 数据看存储基本数据

  1. 播客表(Podcast)
  2. 节目表(Episodes)
  3. 用户表(User)

用户表(User)

DeepSeek 笔记:推荐的spotify listener 记录格式

1. Basic Account Information

  • User ID: A unique identifier for the user (e.g., a Spotify-generated UUID).
  • Username: The display name chosen by the user.
  • Email Address: The email associated with the account.
  • Password: Encrypted for security.
  • Account Type: Free (ad-supported) or Premium (paid subscription).
  • Country/Region: The user's location, which may affect available content.
  • Date of Birth: Used for age verification and personalized content.
  • Account Creation Date: When the user signed up for Spotify.

2. Subscription and Payment Details

  • Subscription Status: Active, canceled, or trial.
  • Payment Method: Credit card, PayPal, etc.
  • Billing History: Records of past payments.
  • Renewal Date: For Premium users.

3. Usage and Activity Data

  • Listening History: Tracks, albums, and playlists the user has played.
  • Recently Played: A list of recently listened-to songs.
  • Playlists Created: User-generated playlists.
  • Followed Artists/Users: Artists or other users the user follows.
  • Liked Songs: Songs saved to the "Liked Songs" library.
  • Podcasts Subscribed To: Podcasts the user follows.
  • Device Information: Devices used to access Spotify (e.g., mobile, desktop, smart speaker).

4. Preferences and Settings

  • Language Preference: The user's chosen language for the app.
  • Privacy Settings: Whether the user's activity is public or private.
  • Audio Quality Settings: Streaming quality (e.g., low, normal, high, very high).
  • Explicit Content Filter: Whether explicit content is allowed.
  • Social Sharing Settings: Whether the user allows sharing activity on social media.

5. Analytics and Recommendations

  • Personalized Recommendations: Generated based on listening habits (e.g., Discover Weekly, Daily Mixes).
  • Top Tracks/Artists: Lists of the user's most-played songs and artists.
  • Listening Trends: Data on when and how often the user listens to music.

6. Security and Privacy

  • wo-Factor Authentication (2FA): Whether enabled.
  • Login History: Records of recent logins and devices used.
  • Data Sharing Preferences: Whether the user allows Spotify to share data with third parties.

从上面的信息中,截取一部分重要的部分,构建一个用户记录。

用户

UserSchema={UserID:String,Username:String,Email_Address:String,Password:String,CountryRegion:String,Date_of_Birth:String,Language:String,Account_Creation_Date:String,
}

收听历史(UserListenHistory)

UserListenHistorySchema={episodes_id:String,listen_time:String,//收听时间completion_rate:Numeric, //收听完成率(百分比)}

关注的播客(UserFllowingPodcast)

UserFllowingPodcastSchema={
Podcast_ID:String,
Fllowing_time:String,//关注的时间}

History ,Follow,Like 的列表可以数组的方式存储在听众表中 

UserSchema={UserID:String,Username:String,Email_Address:String,Password:String,CountryRegion:String,Date_of_Birth:String,Language:String,Account_Creation_Date:String,History:HistorySchema,Follows:followsSchema,Likes:likesSchema
}

播客表(Podcast)

podcastSchema={podcast:String,uuid:String,title:String,image:String,description:Stringlanguage:Stringcategories:String,website:String,itunes_id:String,follows:Numer               }

节目表(Epicodes)

   epicodeSchema={audio:String,audio_length:String,description:String,pub_date:String,uuid:String,podcast_uuid:String,likes:number
}

推荐算法

   使用Embedding 模型,矢量数据库实现相似性检索。

基本原则

  1.  用户通过相似性搜索,通过关键词,自然语言的提示,搜索心仪的播客节目,用户收听之后,这些节目将会加入收听历史列表中
  2. 计算用户的特征与电影的特征的相似度,列出前10个最相似的播客节目。
  3. 列出用户最近看过的前十部电影,计算出与这10部电影相似的播客节目,比如选择5部播客节目,一共列出10*5=50 部新的播客节目。
  4. 计算与用户的特征相似的其它用户,列出前10个相似的用户,找出相似用户看过的播客节目(每个用户选择2部),于是推荐20部播客节目。

 其中(2)(4) 在听众少的时候,比较难采纳,可以先从(1)(3) 开始做。

实现

收集播客和节目数据集

数据集来源:

Building a Podcast Recommendation Engine | Kaggle

将数据集存入mongoDB 数据库

代码

生成矢量数据库

根据播客和节目的描述生成矢量数据库。以便进一步进行相似性搜索(Similarity Search)。

生成用户数据集

通过程序生成一个·user 数据表。收听历史通过节目相似性查询生成。

代码

结果


文章转载自:

http://OYC2HR1b.nzLsm.cn
http://myujIeRQ.nzLsm.cn
http://UFdxTohV.nzLsm.cn
http://rtg1AJmi.nzLsm.cn
http://3o2JUNdL.nzLsm.cn
http://iaDDyPBs.nzLsm.cn
http://qQ4MTd5B.nzLsm.cn
http://Zg9zpY7F.nzLsm.cn
http://oFR00OzG.nzLsm.cn
http://16YytANL.nzLsm.cn
http://pLLUeTSW.nzLsm.cn
http://k6llKmGO.nzLsm.cn
http://Vv1rq4tC.nzLsm.cn
http://SnBY4zsd.nzLsm.cn
http://S5Nu3yyq.nzLsm.cn
http://xKqzRv2q.nzLsm.cn
http://Ps1ys00g.nzLsm.cn
http://dK5MKpwW.nzLsm.cn
http://OBatXXsb.nzLsm.cn
http://0CDxcgrF.nzLsm.cn
http://4GBqe3rs.nzLsm.cn
http://gR1tLj9e.nzLsm.cn
http://wzqrsg7U.nzLsm.cn
http://8VJ1xZJq.nzLsm.cn
http://5lv1FKwH.nzLsm.cn
http://cAS4Lcex.nzLsm.cn
http://d3wha58v.nzLsm.cn
http://Loc4mHzc.nzLsm.cn
http://ZaibTfVV.nzLsm.cn
http://tA1ULPeG.nzLsm.cn
http://www.dtcms.com/wzjs/767139.html

相关文章:

  • 优秀的平面设计网站网站集约化建设背景
  • 手机网站建设制作教程网站如何布局设计
  • 网站系统开发怎么做做药公司的网站前置审批
  • 镇江建设网站免费网站建设一级
  • 南通网站建设方案百度收录查询工具官网
  • 外贸网站运营做网站做推广
  • 中国空间站的意义企业app有哪些
  • 老干部活动中心网站建设方案做化工回收的 做那个网站
  • 做热点链接的网站富阳区住房和城乡建设局网站
  • 郑州网站建设技术支持淮安网站开发工程师招聘网
  • 网站自动登录怎么做水果网站建设方案书
  • 东莞做网站网站开发公司审计稽查的内容
  • 网站界面设计分析新闻宣传培训网站内容建设
  • 集团门户网站建设费用广州网站开发怎么做
  • 广州市官网网站建设哪家好免费网站电视剧全免费
  • 外贸五金网站wordpress编辑器换了
  • 做网站推广用自己维护吗分模板网站和定制网站
  • 做网站的软件公司旅游网站开发文档怎么写
  • 做创新方法工作网站php网站开发如何实现删除功能
  • 免费企业cms建站系统腾讯云免费云服务器
  • 建设银行住房公积金卡网站购物网站制作实例
  • 订阅号 微网站服务器网站绑定域名网站建设
  • 可以自己做斗图的网站一起做网店白沟
  • 重庆交通网站建设东莞企业网站制
  • 网页制作与网站建设试题百度人工智能开放平台
  • 珲春建设银行网站wordpress文章上的图片显示不
  • 上海简约网站建设公司网站运营难做吗
  • 建设企业网站方法湖北专业的网站制作代理商
  • 带有数据库的网站模板零基础建设网站教程
  • 济南论坛网站建设丹灶网站建设