Giter VIP home page Giter VIP logo

precourse's People

Contributors

actions-user avatar beacosenza avatar courtneydean33 avatar ebatty avatar fedeclaudi avatar gunnarblohm avatar iamzoltan avatar kbonnen avatar likeajumprope avatar meganakpeters avatar mgomezn avatar msarvestani avatar nickhalper avatar patrickmineault avatar ruyuanzhang avatar shivam-199 avatar spiroschv avatar titipata avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

precourse's Issues

W0D3_T2 typo

  1. Cast each this as a matrix-vector multiplication:

Not sure what this is meant to say but I don't think it is correct as is.

Reporting a vulnerability

Hello!

I hope you are doing well!

We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.

Can you enable it, so that we can report it?

Thanks in advance!

PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository

Issue on page /tutorials/W0D2_PythonWorkshop2/student/W0D2_Tutorial1.html

In the Python refresher 2 (W0D2_Tutorial1), in the part 'Coding Exercise 1: Plotting a histogram', the Markdown cell asks to 'Plot an histogram of J=50 bins of N=10000 realizations of V(t) for t=tmax/10 and t=tmax.'

However in the Python code, nbins = 32. And the solution gives a histogram that corresponds to using nbins = 32, not nbins =50.

Two solutions:

  • the Markdown cell should be: 'Plot an histogram of J=32 bins of N=10000 realizations of V(t) for t=tmax/10 and t=tmax.'
    OR
  • The solution should give an histogram that corresponds to nbins = 50.

Issue on page /tutorials/W0D3_LinearAlgebra/student/W0D3_Tutorial1.html

Well its not an issue with the content itself, rather seems like a bug from matplotlib .

The issue is in Section Think! 2.1: Determing dependence, while plotting vectors in 3-D.:

    424                 """
    425                 try:
--> 426                     signature = inspect.signature(artist.do_3d_projection)
    427                     signature.bind()
    428                 # ValueError if `inspect.signature` cannot provide a signature

AttributeError: 'Arrow3D' object has no attribute 'do_3d_projection' 

It seems like matplotlib removed the method do_3d_projection and requires us to implement it. The discussion could be found here:

matplotlib/matplotlib#21688

I tested it in Kaggle and it works, basically you need to add this method as below to the Arrow3D class:

class Arrow3D(FancyArrowPatch):
    def __init__(self, xs, ys, zs, *args, **kwargs):
        FancyArrowPatch.__init__(self, (0,0), (0,0), *args, **kwargs)
        self._verts3d = xs, ys, zs

    def draw(self, renderer):
        xs3d, ys3d, zs3d = self._verts3d
        xs, ys, zs = proj3d.proj_transform(xs3d, ys3d, zs3d, renderer.M)
        self.set_positions((xs[0],ys[0]),(xs[1],ys[1]))
        FancyArrowPatch.draw(self, renderer)
    def do_3d_projection(self, renderer=None):
        xs3d, ys3d, zs3d = self._verts3d
        xs, ys, zs = proj3d.proj_transform(xs3d, ys3d, zs3d, self.axes.M)
        self.set_positions((xs[0],ys[0]),(xs[1],ys[1]))
        
        return np.min(zs)

Formatting tiny errors in W0D3 tutorial1

There is an extra comma and typo in the vector b in the 2.1: Determining dependence part:

typo issue:
"Determining dependence": there is a missing 'n' for "Determining"

comma issue

The comma after 3 in the vector b should be removed:

# original 
 \end{bmatrix},  \mathbf{b} = \begin{bmatrix}
    1 \\ 0 \\ 3, 
# suggestion
 \end{bmatrix},  \mathbf{b} = \begin{bmatrix}
    1 \\ 0 \\ 3

Let me know if it will be easier if I modify it on the colab files. Thanks!

W0D3_T2 Ex1.1 Suggestion

It might be worth introducing one (multiple?) of:

  • @
  • np.dot
  • np.matmul

in this exercise since the student needs to use one of them to complete the exercise, but they haven't been introduced yet.

Missing bracket in derivative of rate (W0D4_Calculus/W0D4_Tutorial1)

in tutorials/W0D4_Calculus/W0D4_Tutorial1.ipynb the following formula is missing a bracket:

($\\frac{d(r(I)}{dI}$)

Should instead read

($\\frac{d(r(I))}{dI}$)

The line is here:

"The slope of a neurons input-output transfer function ($\\frac{d(r(I)}{dI}$) is called the **gain** of the neuron, as it tells how the neuron output will change if the input is changed. In other words, the slope of the transfer function tells us in which range of inputs the neuron output is most sensitive to changes in its input. \n"

Variance vs standard deviation mixup in W0D5 coding exercise 2.2

The exercise asks us to write a function negLogLike to fit the mean and variance of a gaussian, but the code that uses this function and the solution treat the scale variable as a standard deviation. This doesn't matter much in the exercise because the generative value is 1, but will break if we try to recover other values.

Issue on page /tutorials/W0D1_PythonWorkshop1/student/W0D1_Tutorial1.html

W0D1_Tutorial1
Coding Exercise 4: Simulating membrane potential
Issue : SAMPLE OUTPUT is misaligned by 1 line.

Current SAMPLE OUTPUT :
0.000 -6.0000e-02
0.001 -5.8750e-02
0.002 -5.6828e-02
0.003 -5.4548e-02
0.004 -5.2381e-02
0.005 -5.0778e-02
0.006 -4.9989e-02
0.007 -4.9974e-02
0.008 -5.0414e-02
0.009 -5.0832e-02

Corrected SAMPLE OUTPUT :
0.000 -5.8750e-02
0.001 -5.6828e-02
0.002 -5.4548e-02
0.003 -5.2381e-02
0.004 -5.0778e-02
0.005 -4.9989e-02
0.006 -4.9974e-02
0.007 -5.0414e-02
0.008 -5.0832e-02
0.009 -5.0775e-02

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.