Giter VIP home page Giter VIP logo

batch2-blu10's Introduction

batch2-BLU10-instructors

What is in this BLU?

In this learning unit, we learn about Recommender Systems, NumPy, and non-personalized recommendations.

While doing it, we build the required framework and the skillset to tackle more complex problems later in the course.

How to use this repo

  1. Install all the needed dependencies, specified in the requirements.txt file
  • Install via pip
pip install -r requirements.txt
  1. Go through the Learning Notebooks (they are in the Learning Notebooks/ folder)
  2. Do the Exercise notebook, and submit it on the portal as usual

"I need help understanding something."

You can and should ask for help, be it about Learning Notebooks, Exercises, or anything else. Please check out the How to Ask for Help, and remember not to share code when asking for help about the exercises!

"I think I've found a bug."

This repo is entirely open source and is continuously improving over time. When you spot a mistake, check the issues. If it hasn't, please open an issue, explaining in details where it is (e.g., in what notebook, and on what line), and how to reproduce the error. If it is an easy fix, feel free to make a pull request.

batch2-blu10's People

Contributors

hcastilho avatar

Watchers

Sofia avatar Sam Hopkins avatar James Cloos avatar  avatar

Forkers

roriola

batch2-blu10's Issues

Learning Notebook Part 2

Minor issue,

At Point 2 we're trying to load a matrix but the file doesn't exist.

R_ = np.genfromtxt('../data/interim/ratings_matrix.csv', delimiter=',')

Exercice 5 - Count votes

created a boolean array of votes >0 (shape = (671, 9066))
then sum all rows (per column) (shape = (9066, ))

Shouldn't return one dimension array (9066, ) instead of two dimension (1, 9066)?
even after reshaping to (1, 9066) all asserts fail...

Q12 expects the top N to be sorted from largest to smallest

On Q12 you need to return the top N in order [largest, 2nd largest, 3rd largest, ...], otherwise the assert won't pass.

If you've done the slicing in a way that changes that, try typing them out in order (you know which is the biggest one from Q11) and see if it passes the assert.

Small typo

This appears more than once in the learning notebooks:

ndims = R_.ndim
nrows = R_.shape[0]
ncols = R_.shape[0] 
dtype = R_.dtype

Actualy should be

ndims = R_.ndim
nrows = R_.shape[0]
ncols = R_.shape[1]  # one 
dtype = R_.dtype

:)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.