Тёмный

Music Recommender System Using Python 

KNOWLEDGE DOCTOR
Подписаться 24 тыс.
Просмотров 41 тыс.
50% 1

Creating a music recommender system using RU-vid video descriptions involves using Natural Language Processing (NLP) techniques to analyze the text descriptions and recommend music based on the content. Here's a high-level overview of how you could approach building such a system using Python:
1. *Data Collection:*
- Dataset Link: www.kaggle.com/datasets/notsh...
2. *Text Preprocessing:*
- Clean and preprocess the text by removing special characters, punctuation, and converting all letters to lowercase.
- Tokenize the descriptions into individual words or phrases.
- Remove stopwords (common words like "and," "the," "is," etc.) that don't provide much context.
3. *Feature Extraction:*
- Convert the tokenized descriptions into numerical representations that can be used by machine learning models. You can use techniques like TF-IDF (Term Frequency-Inverse Document Frequency) or word embeddings (Word2Vec, GloVe) for this purpose.
4. *Building a Recommender Model:*
- Choose a recommendation algorithm. Collaborative Filtering and Content-Based Filtering are two common approaches.
*Content-Based Filtering:*
- In your case, content-based filtering might be more suitable since you're focusing on analyzing the video descriptions. This approach recommends items similar to those the user has shown interest in.
- Calculate similarity scores between videos based on their preprocessed descriptions and feature representations.
- Recommend videos that have similar descriptions to the ones the user has liked or interacted with in the past.
5. *User Interaction and Recommendations:*
- Allow users to input their preferences, e.g., by providing a sample video URL or keywords related to their interests.
- Use the selected video's description for recommendation.
- Rank the videos based on similarity scores and present the top recommendations to the user.
💻 Source Code: github.com/Chando0185/Music_R...
💡 Expand your knowledge and enhance your coding skills with this hands-on project! 💪
Connect with us on social media for more exciting tutorials and projects:
📸 Instagram: @knowledge_doctor.
invitescon...
💻 GitHub: github.com/Chando0185
📘 Facebook: / knowledge-doctor-progr...
🎬 Don't miss out on this amazing tutorial! Watch now and start building music recommender system. 🔐

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 80   
@nithyaaddada7329
@nithyaaddada7329 3 месяца назад
What to do for memory error at cosine_similarity(matrix) could you pls tell me how to correct the error
@rishabhsrinivasan8433
@rishabhsrinivasan8433 8 месяцев назад
Also on what basis are these vectors created and what are the X and Y axis represent that u explained in ur explanation for tokenization Would be gr8 help if you could clear my doubts
@niteshnegi7911
@niteshnegi7911 Месяц назад
finally done!!😮‍💨😮‍💨
@Power-of-Islam111
@Power-of-Islam111 6 месяцев назад
please give me the complete code of music recommendation system because the link you share have not complete code kindly share complete code?
@naren.j2177
@naren.j2177 5 месяцев назад
can we use lemmatization instead of stemming ?
@RaviChandran-oi2wf
@RaviChandran-oi2wf 4 месяца назад
I cant run using streamlit could you help me with that
@user-im3kx6yn6i
@user-im3kx6yn6i 3 месяца назад
Can we add the feature of playing recommended song for user?
@khanhtruongphamngoc2246
@khanhtruongphamngoc2246 2 месяца назад
sir, how can i evaluate the accuracy of the model?
@ChemistrySchool-wf2jr
@ChemistrySchool-wf2jr 6 месяцев назад
What algorithm did u use bro?
@starksanket3880
@starksanket3880 23 дня назад
Sir I'm getting an error on : similer = cosine_similarity(matrix)
@_itssouravchoudhary_
@_itssouravchoudhary_ Месяц назад
how you open these all files on vscode please explain
@GaneshGorana27
@GaneshGorana27 23 часа назад
It's You - Aliegatie
@Mobbgaming
@Mobbgaming 7 месяцев назад
bro, please don't use fake accent. Your natural accent is very good.
@knowledgedoctor3849
@knowledgedoctor3849 7 месяцев назад
Ok bro, Thanks for suggestion
@nanthithasoundar5556
@nanthithasoundar5556 4 месяца назад
tokenization is not working,it shows me lookuperror
@calvinleonard2105
@calvinleonard2105 11 месяцев назад
What method use in this project sir? Thank you
@knowledgedoctor3849
@knowledgedoctor3849 8 месяцев назад
Content based
@jarvisgohil8035
@jarvisgohil8035 6 месяцев назад
my recommendation function is not working def recommender(song_name): idx = df[df['song']==song_name].index[0] distance = sorted(list(enumerate(similer[idx])), reverse=True, key=lambda x: x[1]) song = [] for s_id in distance[1:21]: song.append(df.iloc[s_id[0]].song) return song recommender("Learning To Hunt") ans: ["She Ain't Your Ordinary Girl"] only showing one
@pritampremi12
@pritampremi12 8 месяцев назад
when i call the token its did not work its give some error
@moonkakran5693
@moonkakran5693 8 месяцев назад
Yes sir pls reply
@sethuraman9884
@sethuraman9884 11 месяцев назад
🔥🔥
@jarvisgohil8035
@jarvisgohil8035 6 месяцев назад
can you tell me the objective of this project
@user-cc2ni1wi2m
@user-cc2ni1wi2m 6 месяцев назад
i getting error at creating the function can you help
@nuctanKatira
@nuctanKatira 6 месяцев назад
Did u find it…?
@rishabhsrinivasan8433
@rishabhsrinivasan8433 8 месяцев назад
Also Sir how can we test the accuracy if this model??
@user-cg5qy3jq6f
@user-cg5qy3jq6f 2 месяца назад
Did you get the accuracy?
@user-cg5qy3jq6f
@user-cg5qy3jq6f 2 месяца назад
If yes can you tell me
@kamnasharma7300
@kamnasharma7300 4 месяца назад
couldnt deploy app , streamlit is giving error for df.pkl not found .. kindly help in solving this
@niteshnegi7911
@niteshnegi7911 Месяц назад
same
@niteshnegi7911
@niteshnegi7911 Месяц назад
did you fixed it?
@211santhoshinireddy8
@211santhoshinireddy8 5 месяцев назад
We are getting an error in token pz can you say
@starksanket3880
@starksanket3880 23 дня назад
Have you downloaded nltk ?
@tss4763
@tss4763 11 месяцев назад
Bro send project report
@PabloEscobar-p5l
@PabloEscobar-p5l Месяц назад
what should i do : FileNotFoundError: [Errno 2] No such file or directory: 'df.pkl'
@sharma.surbhi
@sharma.surbhi День назад
Did you solve this issue ? If yes please tell me too
@techwithvr1553
@techwithvr1553 4 месяца назад
Please Share df.pkl, similarity.pkl file or You can send Folder.
@nilaybirari6381
@nilaybirari6381 4 месяца назад
Bro i am gonna use this project as a Final Year Project But getting error plz help : No such file or directory: 'df.pkl'
@user-lf8qe5wt5b
@user-lf8qe5wt5b 4 месяца назад
same probblem
@nilaybirari6381
@nilaybirari6381 4 месяца назад
@@user-lf8qe5wt5b My problem Solved bro Just rename Df file with df.pkl and similarity.pkl put .pkl to both file and project will run.
@nilaybirari6381
@nilaybirari6381 4 месяца назад
Problem Solved Just Put or rename .pkl to Df and similarity files as df.pkl and similarity.pkl
@sharma.surbhi
@sharma.surbhi День назад
​@@nilaybirari6381 How did you get those files in the first place ? I didn't get any file even after running the pickle module
@knowledgedoctor3849
@knowledgedoctor3849 8 месяцев назад
Final Year Project Me Bhi Use Kar Sakte Hoo, Muje Acca Lagega koi Mujse Sike Python, Deep Learning Then Khut us project banake College me submit kare🌻 Actually Muje Sikane ka bohot adat he sach bolo tho Accha hi lagta he.. Sath me rehena 🤗🌼🌻
@ravibansal6675
@ravibansal6675 5 месяцев назад
I am using it for final year project. Could you please share project report of this project with me?
@Beakymon
@Beakymon 9 месяцев назад
So we can only search from the sample of 5000 songs?
@Homelander-compV
@Homelander-compV 9 месяцев назад
More data better the model
@llllllllllllllkl
@llllllllllllllkl 4 месяца назад
@@Homelander-compV how can I add data , if i add directly it will be different heads like text albums descs etc.
@ROHITRAWAT-et5tr
@ROHITRAWAT-et5tr 2 месяца назад
df.pickle file and similarity.pkl file is not created why?
@subratmohapatra2080
@subratmohapatra2080 Месяц назад
You must run the .ipynb file completely to generate the df.pickle file
@niteshnegi7911
@niteshnegi7911 Месяц назад
@@subratmohapatra2080 what about similarity .pkl???
@sharma.surbhi
@sharma.surbhi День назад
@@subratmohapatra2080 I did run the .ipynb file completely but it did not generate the df and similarity file. Could you please help me
@sharma.surbhi
@sharma.surbhi День назад
​@@subratmohapatra2080 I did this and still did not get the df.pkl and similarity.pkl file
@sharma.surbhi
@sharma.surbhi 17 часов назад
​@@subratmohapatra2080did this and it still did not create the file... Help
@nilaybirari6381
@nilaybirari6381 4 месяца назад
Problem Solved Just rename Df and similarity files as df.pkl and similarity.pkl and restart and run
@dhruvikhimasiya9560
@dhruvikhimasiya9560 10 месяцев назад
I reached till studio but now I am not understanding what we have to do in studio, please help
@knowledgedoctor3849
@knowledgedoctor3849 8 месяцев назад
Install python
@rishabhsrinivasan5664
@rishabhsrinivasan5664 8 месяцев назад
Sir can you please provide the Df.pkl files
@knowledgedoctor3849
@knowledgedoctor3849 8 месяцев назад
Train it pls it will automatically generate
@elfincredible9002
@elfincredible9002 8 месяцев назад
I'm stuck here, could you give us pointers please? @@knowledgedoctor3849
@rishabhsrinivasan8433
@rishabhsrinivasan8433 8 месяцев назад
Got it Sir @@knowledgedoctor3849
@allouchizakaria
@allouchizakaria 7 месяцев назад
import pickle pickle.dump(similarity,open('similarity.pkl','wb')) pickle.dump(df,open('df.pkl','wb'))
@uniqueb4614
@uniqueb4614 2 месяца назад
@@allouchizakaria where i insert this help please
@ayushburman2113
@ayushburman2113 9 месяцев назад
please provide -df.pkl file
@allouchizakaria
@allouchizakaria 7 месяцев назад
import pickle pickle.dump(similarity,open('similarity.pkl','wb')) pickle.dump(df,open('df.pkl','wb'))
@urjashah4564
@urjashah4564 3 месяца назад
@@allouchizakariaI have to make a new file with this code only and name it as df.pkl
@varmagokul5122
@varmagokul5122 Месяц назад
/r why shouldn't removed
@kingofleader142gamer3
@kingofleader142gamer3 9 месяцев назад
streamlit shown blank
@knowledgedoctor3849
@knowledgedoctor3849 8 месяцев назад
Why?
@sharma.surbhi
@sharma.surbhi 17 часов назад
​@@knowledgedoctor3849 please help I got an error which says df.pkl and similarity.pkl is not found even though I did run the .ipynb file
@tss4763
@tss4763 11 месяцев назад
And seminar ppt
@knowledgedoctor3849
@knowledgedoctor3849 8 месяцев назад
No
@aryan8437
@aryan8437 9 месяцев назад
please provide me pkl files
@user-fu4xb1qk6d
@user-fu4xb1qk6d 9 месяцев назад
hello did you got project running then please help
@ayushburman2113
@ayushburman2113 9 месяцев назад
did you get these ?
@knowledgedoctor3849
@knowledgedoctor3849 8 месяцев назад
Please run it and you will get
@rishabhsrinivasan5664
@rishabhsrinivasan5664 8 месяцев назад
run what sir the project does not run without the pkl files@@knowledgedoctor3849
@madhumithakolkar_
@madhumithakolkar_ 2 месяца назад
Please don’t talk like this , it’s painful to hear . Indian accents are better than whatever this is .
@knowledgedoctor3849
@knowledgedoctor3849 2 месяца назад
Aah Ok, Madhumita🌻
@pious007
@pious007 7 месяцев назад
MemoryError: Unable to allocate 23.6 GiB for an array with shape (3161436880,) and data type float64 How did u not get this error?
@knowledgedoctor3849
@knowledgedoctor3849 7 месяцев назад
Take sample of the data, Seems Data Quite Big & It's Unable to allocated by YOUR memory or Use Google Colab Pro.
@pious007
@pious007 7 месяцев назад
@@knowledgedoctor3849 is there a way i can use all songs and just store the results of distance Matrix to access it immediately everytime i need to find similarities?
Далее
Elon Musk The Future of Design Recreation Using Python
24:48
ПОМОГЛА НАЗЫВАЕТСЯ😂
00:20
Просмотров 804 тыс.
Spotify's music recommender algorithm: How it works
8:10
Movie Recommender System in Python with LLMs
25:01
Просмотров 6 тыс.
Neural Recommender Systems
20:47
Просмотров 12 тыс.
How Recommender Systems Work (Netflix/Amazon)
8:18
Просмотров 230 тыс.
5 Good Python Habits
17:35
Просмотров 469 тыс.
Building a Recommendation System in Python
13:52
Просмотров 69 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 853 тыс.