pim-book / programmers-introduction-to-mathematics Goto Github PK
View Code? Open in Web Editor NEWCode for A Programmer's Introduction to Mathematics
Home Page: https://pimbook.org
License: MIT License
Code for A Programmer's Introduction to Mathematics
Home Page: https://pimbook.org
License: MIT License
We need solutions for all exercises which are given at end of the chapter.
The first term should be
Shouldn't it be (x - x_j) here, like in in formula from the book?
Make sure each chapter code is tested, and make sure that the tests are all the same style.
Decide whether to use, e.g, list(int)
or List[int]
from typing
. And make it consistent across all tips and solution code in the chapters.
And badges! Shiny, happy badges!
The expression
f(x) = \sum\limits_{i=0}^n y_i \cdot (\prod\limits_{j \neq i}^n \frac{x-x_j}{x_i - x_j})
is introduced on page 17. However, instead of starting at zero like the summation notation describes, you start at one. I am not sure if this example was just to get warmed up or if it really was the precursor explanation. Starting at zero here just seems to make more sense. Thoughts?
In the text it says
... define
phi(n)
by the number of positive integers less thann
that are relatively prime ton
but it doesn't state the edge case for phi(1)
.
Hi, I am getting this while trying to create virtualenv
"ERROR: python-coveralls 2.9.1 has requirement coverage==4.0.3, but you'll have coverage 4.5.1 which is incompatible."
Not sure how to resolve it.
Coming to github via https://pimbook.org/, kinda confused that there is no table of content available.
And no way to know the outline unless I download the full EBook
On page 192 of the first edition of the book, it says “Let A be the matrix representation of a linear map f, written with respect to the standard basis. Let U be a change of basis matrix. That is, the columns of U are the new basis vectors, and if we were to write f with respect to the new basis, its matrix would be B = UAU⁻¹.”
In fact, a matrix consisting of the basis vectors of U converts a vector from the U basis to the standard basis, so B should equal U⁻¹AU.
Hi, I work for Hanbit Media, Inc., the largest IT publisher in Korea.
We have translated and published many English programming books here.
I think your book is also very helpful to Korean programmer readers.
Do you have any plan for publication in foreign countries?
If you are willing, I'll let our copyright agency contact you (again) to discuss the contract detail.
I appreciate your quick response.
Section 2.4, "Realizing it in Code", assumes that I'll understand how to make the transition away from the sigma-and-pi version of things. I implemented the sigma-and-pi version in Javascript and it looks like a great way to get from any x input to a y output that "belongs to" the polynomial that was "defined" by the initial set of points I gave it. But it looks like all the values in there are those initial x and y values, and the output is a single (new) y value. I don't see how to make the journey from there to getting the array of coefficients that actually make up the "real" polynomial.
I'm not a mathematician myself.
I have just skimmed through your book.
It seems you are trying a lot to say mathematics can exist without proof and can also be based on intuition. (Once again, I didn't read it completely).
Calculus as taught through out the academia, or discovered by newton is due to misunderstanding of Indian calculus, says C.K.Raju.
I don't think you yourself know the real history, rather you were taught in such way. (Euro-Centrism).
Indian's have clear lineage(improvements done over period of time), for development of algebra, trigonometry, infinite series, calculus...
Out of nowhere Europeans have produced this work, as their own, without proper proofs and background.
I'm linking here one of the work by C.K.Raju here.
Which suggests calculus is stolen from India.
Cultural Foundations Of Mathematics.pdf
Hoping, you will be as neutral as possible (If possible in your next-edition).
Thank you.
local_gradient_for_argument might read a corrupted float value from the successor.
Say we have the computation graph:
h
|
|
f
I can come up with two solutions
local_gradient
(local_gradient
(global_gradient
(Thank you for your book and the sample code so that I could deeper understand the neural network!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.