SheffieldML / SheffieldML/GPy

use of input instead of raw_input in utils fails in python 2

Open
#548 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.2k
Forks
570
PR merge metrics
No merged PRs in 30d

Description

found the bug in the GPLVM notebook

data = GPy.util.datasets.decampos_digits(which_digits=which)

calls input, which is weird as python tries to run the input not save it in a variable.

-- Mike (lionfish0) posted this

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the GPLVM notebook and trace GPy.util.datasets.decampos_digits(which_digits=which) to the input-handling code. Verify the behavior under Python 2 and update the call so the requested digit selection is captured correctly; done means the notebook no longer fails at this prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.