Git Product home page Git Product logo

Comments (9)

crudalex avatar crudalex commented on July 24, 2024

from ml-coursera-python-assignments.

dibgerge avatar dibgerge commented on July 24, 2024

Which version of python are you using?

from ml-coursera-python-assignments.

Krasaa avatar Krasaa commented on July 24, 2024

I have same problem, how do you solve it? @dibgerge
I 'm using python3 in win10 with jupyter notebook.

from ml-coursera-python-assignments.

Krasaa avatar Krasaa commented on July 24, 2024

I find that despite the problem, the grades are updated as usual so maybe the bug can be ignored.

from ml-coursera-python-assignments.

chrisadas avatar chrisadas commented on July 24, 2024

I confirm the same errors with Python 3 on Ubuntu. And that grades are registered despite the error message.

from ml-coursera-python-assignments.

de3z1e avatar de3z1e commented on July 24, 2024

See pull request #11 suggesting a fix.

from ml-coursera-python-assignments.

chrisadas avatar chrisadas commented on July 24, 2024

See pull request #11 suggesting a fix.

That fixed it for me.

from ml-coursera-python-assignments.

UnnatiDhanaliya avatar UnnatiDhanaliya commented on July 24, 2024

When I try to submit first exercise to the grader I'm getting following error:


TypeError Traceback (most recent call last)
in
3
4 # send the added functions to coursera grader for getting a grade on this part
----> 5 grader.grade()

~/project/machine_learning/ml/ml-coursera-python-assignments/submission.py in grade(self)
28 # Evaluate the different parts of exercise
29 parts = OrderedDict()
---> 30 for part_id, result in self:
31 parts[str(part_id)] = {'output': sprintf('%0.5f ', result)}
32 result, response = self.request(parts)

~/project/machine_learning/ml/ml-coursera-python-assignments/Exercise1/utils.py in iter(self)
29 # Each part has different expected arguments/different function
30 if part_id == 1:
---> 31 res = func()
32 elif part_id == 2:
33 res = func(self.X1, self.Y1, np.array([0.5, -0.5]))

TypeError: 'numpy.ndarray' object is not callable

from ml-coursera-python-assignments.

blackhat721 avatar blackhat721 commented on July 24, 2024

define the submission/grader object for this exercise

grader = utils.Grader()
AttributeError: module 'utils' has no attribute 'Grader'

from ml-coursera-python-assignments.

Related Issues (20)

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.