codeheroku / introduction-to-machine-learning Goto Github PK
View Code? Open in Web Editor NEWThis repo will house all our course material and code snippets from the Introduction to Machine Learning Class
License: MIT License
This repo will house all our course material and code snippets from the Introduction to Machine Learning Class
License: MIT License
similar_movies = list(enumerate(cosine_sim[movie_index]))
im getting error : IndexError Traceback (most recent call last)
in
----> 1 similarmovies = list(enumerate(cosinesim[movieslikedindex]))
IndexError: only integers, slices (:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indices
I was checking out the movie recommendation code and found out that if the movie_user_likes should match the exact title of the movie or else it gives the following error.. Ok the movie title being strict is alright but it is also case sensitive... for example if i give "the avengers" it will still give the following error.
Traceback (most recent call last):
File "d:/Documents/8sem/Project Phase II/contentbased.py", line 47, in
movie_index = get_index_from_title(movie_user_likes)
File "d:/Documents/8sem/Project Phase II/contentbased.py", line 10, in get_index_from_title
return df[df.title == title]["index"].values[0]
IndexError: index 0 is out of bounds for axis 0 with size 0
so i tried turning the user data into camel case but then again it will show the same error cause the preposition in the title are small case.. I'm pretty much stuck here... I would be thankful to someone who can show me a way around it.. I'm open for new ideas... PLEASE HELP
I try to read the csv using pandas and it showed this
{"payload":{"allShortcutsEnabled":false fileTree:{"Building a Movie Recommendation Engine":{"items":[{"name":".ipynb_checkpoints" path:"Building a Movie Recommendation Engine/.ipynb_checkpoints" contentType:"directory"} {"name":"Assignment Solution.ipynb" path:"Building a Movie Recommendation Engine/Assignment Solution.ipynb" contentType:"file"} {"name":"Building_A_Movie_Recommendation_Engine.pdf" path:"Building a Movie Recommendation Engine/Building_A_Movie_Recommendation_Engine.pdf" contentType:"file"}.1 ... symbols:{"timedOut":true notAnalyzed:true symbols:[] error:{"code":"invalid_argument" msg:"content required" meta:{}}}} copilotAccessInfo:null csrf_tokens:{"/codeheroku/Introduction-to-Machine-Learning/branches":{"post":"pRmB5waW2MTOK_GcM3-tpX-aWUi3kWccIF6X_GunoRjA9cuzdm9tZxzjFTo_3xH59Cc5m2c1exqiTK1ClqQGNA"}}} title:"Introduction-to-Machine-Learning/Building a Movie Recommendation Engine/movie_dataset.csv at master · codeheroku/Introduction-to-Machine-Learning" locale:"en"}
instead of table.
Hello,
I am working on this project, and in this data there is only 0 to 5 digits data which is insufficient for our project data, so I need the whole data of this project. It's humble request to you providing whole data to me
Hope you will response me soon
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.