Posted on behalf of student
-------------------------------------
I was watching the video under the project titled “Build Personal Playlists with Machine Learning" while I was in Google Colab doing exactly what the speaker said. However in the section of “Clustering the Data”, she clicked on the first code before clicking on the one below it that said “optimise_k_means(final_df_10) and it showed a graph using the Elbow bleep. I did the exact same thing she did when the code didn’t work. I clicked explain error and the bot said "Error: FetchError: Could not fetch resource at https://colab.research.google.com/langu ... authuser=0: 403” I tried copying and pasting the link into Google but it said “400. That’s an error.” Please fix this problem so I can complete my project. Thank you very much.
Playlists Machine Learning Project
Moderators: kgudger, bfinio, Moderators
-
amyCC
- Site Admin
- Posts: 405
- Joined: Wed Apr 01, 2020 4:02 pm
- Occupation: Moderator
- Project Question: *
- Project Due Date: *
- Project Status: Not applicable
-
amyCC
- Site Admin
- Posts: 405
- Joined: Wed Apr 01, 2020 4:02 pm
- Occupation: Moderator
- Project Question: *
- Project Due Date: *
- Project Status: Not applicable
Re: Playlists Machine Learning Project
Make sure that you are using the full directions for the project - not just the video. The directions appear here:
https://www.sciencebuddies.org/science- ... ns-Spotify
You want to make sure that as you go through the project, you are carefully looking at the code in Colab (and the project directions) and not just running each block.
You have run all the code blocks without an error up to this point, including importing the libraries and loading the data into a Pandas DataFrame at the beginning?
There are some sections that involve a TODO -- bleep that the directions tell you that you need to modify in the code. That is true in the section where you are having a problem.
Under "Preprocessing the Dataset" in the project, did you do step 1? In the colab notebook, that block is marked as a TODO. You need to edit that code, as noted. Then rerun that block and all blocks after. Under Preprocessing the Dataset step 1: "Add in the names of the columns you want to delete, making sure they match exactly as they are written in the dataset. Then, run the code in the cell."
If you have already edited that section of code in the notebook and are still seeing an error, please copy and paste your edited code that you have in this section (or a screenshot) so we can troubleshoot:
# TODO: List the columns that you want to drop
columns_to_drop = ['Artist']
Let us know if you have questions or are still running into an error after making changes to that section.
Amy
Science Buddies
https://www.sciencebuddies.org/science- ... ns-Spotify
You want to make sure that as you go through the project, you are carefully looking at the code in Colab (and the project directions) and not just running each block.
You have run all the code blocks without an error up to this point, including importing the libraries and loading the data into a Pandas DataFrame at the beginning?
There are some sections that involve a TODO -- bleep that the directions tell you that you need to modify in the code. That is true in the section where you are having a problem.
Under "Preprocessing the Dataset" in the project, did you do step 1? In the colab notebook, that block is marked as a TODO. You need to edit that code, as noted. Then rerun that block and all blocks after. Under Preprocessing the Dataset step 1: "Add in the names of the columns you want to delete, making sure they match exactly as they are written in the dataset. Then, run the code in the cell."
If you have already edited that section of code in the notebook and are still seeing an error, please copy and paste your edited code that you have in this section (or a screenshot) so we can troubleshoot:
# TODO: List the columns that you want to drop
columns_to_drop = ['Artist']
Let us know if you have questions or are still running into an error after making changes to that section.
Amy
Science Buddies

