-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errata in Ch2~Ch9 #145
Comments
Thanks a lot! Will incorporate it into the next ed! Btw regarding
I think they mean |
Ah.. you're right. |
I see, thanks for the feedback! |
In $ \sum_i (w_i^{{i}} x_i^{(i)} $, subscript i should be changed other character because it means sample index and remove superscript of w like: $ \sum_k (w_k x_k^{(i)} $
c=''
raises an error in matplotlib 3.2, suggest replacefacecolor='none'
L05_gradient-descent_slides.pdf shoud be changed L08_logistic_slides.pdf
$ \phi(x) = 0.5 $ should be changed $ \phi(0) = 0.5 $
$ 0.1 \overline{\overline{6}} $ should be changed $ 0.1 \overline{6} $
$ 0. \overline{\overline{16}} $ should be changed $ 0.1 \overline{6} $
As you know, scikit-learn now can do post-pruning with
ccp_alpha
$ x_k^{(i)} x_k^{(j)} $ should be changed $ x_k^{(i)} - x_k^{(j)} $
(
X[:, 0].reshape(-1, 1))
) should be changed (X[:, 0].reshape(-1, 1)
)In
c_transf.fit_transform(X).astype(float)
,astype(float)
is not needed.It's better that
mean_overall = mean_overall.reshape(d, 1)
is moved above for loop.$ \sum v = \lambda v $, so $ v = \frac{1}{n} \sum_{i=1}^n a^{(i)} \phi(x^{(i)}) = \lambda \phi(X)^T a $ should be changed $ v = \sum_{i=1}^n a^{(i)} \phi(x^{(i)}) = \phi(X)^T a $
and $ \frac{1}{n} \sum_{i=1}^n a^{(i)} \phi(x^{(i)}) $ should be changed $ \sum_{i=1}^n a^{(i)} \phi(x^{(i)}) $
$ C_j (J \in {0, 1}) $ should be changed $ C_j (J \in {1, 2, 3}) $
$ 0.2 \times i_0 + 0.2 \times i_0 + 0.6 \times i_1 $ should be changed $ 0.2 \times i_0 + 0.2 \times i_0, 0.6 \times i_1 $
"previous equations" should refer to idf(t, d) not tf idf(t, d)
smooth_idf
parameter does not exist in second dictionary.wtforms.readthedocs.org/en/latest should be changed wtforms.readthedocs.io
jinja.pocoo.org should be changed jinja.palletsprojects.com
flask.pocoo.org/docs/1.0/ shoud be changed flask.palletsprojects.com
Thanks. :)
The text was updated successfully, but these errors were encountered: