Title: ch01: make a slice index an integer by struuuuggle · Pull Request #25 · luispedro/BuildingMachineLearningSystemsWithPython · GitHub
Open Graph Title: ch01: make a slice index an integer by struuuuggle · Pull Request #25 · luispedro/BuildingMachineLearningSystemsWithPython
X Title: ch01: make a slice index an integer by struuuuggle · Pull Request #25 · luispedro/BuildingMachineLearningSystemsWithPython
Description: Fix a TypeError below.
[[1.000e+00 2.272e+03]
[2.000e+00 nan]
[3.000e+00 1.386e+03]
[4.000e+00 1.365e+03]
[5.000e+00 1.488e+03]
[6.000e+00 1.337e+03]
[7.000e+00 1.883e+03]
[8.000e+00 2.283e+03]
[9.000e+00 1.335e+03]
[1.000e+01 1.025e+03]]
(743, 2)
('Number of invalid entries:', 8)
Model parameters of fp1: [ 2.59619213 989.02487106]
('Error of the model of fp1:', array([3.17389767e+08]))
Model parameters of fp2: [ 1.05322215e-02 -5.26545650e+00 1.97476082e+03]
('Error of the model of fp2:', array([1.79983508e+08]))
/usr/local/lib/python2.7/site-packages/numpy/lib/polynomial.py:583: RuntimeWarning: overflow encountered in multiply
scale = NX.sqrt((lhs*lhs).sum(axis=0))
/usr/local/lib/python2.7/site-packages/numpy/core/_methods.py:32: RuntimeWarning: overflow encountered in reduce
return umr_sum(a, axis, dtype, out, keepdims)
analyze_webstats.py:76: RankWarning: Polyfit may be poorly conditioned
f100 = sp.poly1d(sp.polyfit(x, y, 100))
Traceback (most recent call last):
File "analyze_webstats.py", line 85, in
Open Graph Description: Fix a TypeError below. [[1.000e+00 2.272e+03] [2.000e+00 nan] [3.000e+00 1.386e+03] [4.000e+00 1.365e+03] [5.000e+00 1.488e+03] [6.000e+00 1.337e+03] [7.000e+00 1.883e+03] [8.000e+00 2...
X Description: Fix a TypeError below. [[1.000e+00 2.272e+03] [2.000e+00 nan] [3.000e+00 1.386e+03] [4.000e+00 1.365e+03] [5.000e+00 1.488e+03] [6.000e+00 1.337e+03] [7.000e+00 1.883e+03] [8.000e+00 2...
Opengraph URL: https://github.com/luispedro/BuildingMachineLearningSystemsWithPython/pull/25
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:9e608fdc-94c3-99d3-d22d-9b86803e50e0 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9D14:312517:1C4B7DC:27116EA:696AACB8 |
| html-safe-nonce | f461cc09abfccd585b826def97a5d7c4c116e720e5be8ddfe2be8f5badbc461a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDE0OjMxMjUxNzoxQzRCN0RDOjI3MTE2RUE6Njk2QUFDQjgiLCJ2aXNpdG9yX2lkIjoiMjE3OTA2NDYzODc4NTM2NzIyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 72db3f6792158ef958d66759b50c93bdc1f70f519458b6c2af411f887dc83a7f |
| hovercard-subject-tag | pull_request:183209872 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/luispedro/BuildingMachineLearningSystemsWithPython/pull/25/checks |
| twitter:image | https://avatars.githubusercontent.com/u/13087887?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13087887?s=400&v=4 |
| og:image:alt | Fix a TypeError below. [[1.000e+00 2.272e+03] [2.000e+00 nan] [3.000e+00 1.386e+03] [4.000e+00 1.365e+03] [5.000e+00 1.488e+03] [6.000e+00 1.337e+03] [7.000e+00 1.883e+03] [8.000e+00 2... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| turbo-cache-control | no-preview |
| go-import | github.com/luispedro/BuildingMachineLearningSystemsWithPython git https://github.com/luispedro/BuildingMachineLearningSystemsWithPython.git |
| octolytics-dimension-user_id | 79334 |
| octolytics-dimension-user_login | luispedro |
| octolytics-dimension-repository_id | 13086750 |
| octolytics-dimension-repository_nwo | luispedro/BuildingMachineLearningSystemsWithPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13086750 |
| octolytics-dimension-repository_network_root_nwo | luispedro/BuildingMachineLearningSystemsWithPython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width