Title: Creating a Matrix with more than 2,147,483,647 elements · Issue #71 · BIDData/BIDMat · GitHub
Open Graph Title: Creating a Matrix with more than 2,147,483,647 elements · Issue #71 · BIDData/BIDMat
X Title: Creating a Matrix with more than 2,147,483,647 elements · Issue #71 · BIDData/BIDMat
Description: Hi, The matrix dimensions in BidMat use the Int type, which seems to be limiting the number of elements I can fit in a matrix. After 2147483647 elements there are calculations in the Matrix class about the total number of elements that o...
Open Graph Description: Hi, The matrix dimensions in BidMat use the Int type, which seems to be limiting the number of elements I can fit in a matrix. After 2147483647 elements there are calculations in the Matrix class a...
X Description: Hi, The matrix dimensions in BidMat use the Int type, which seems to be limiting the number of elements I can fit in a matrix. After 2147483647 elements there are calculations in the Matrix class a...
Opengraph URL: https://github.com/BIDData/BIDMat/issues/71
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Creating a Matrix with more than 2,147,483,647 elements","articleBody":"Hi,\nThe matrix dimensions in BidMat use the Int type, which seems to be limiting the number of elements I can fit in a matrix. After 2147483647 elements there are calculations in the Matrix class about the total number of elements that overflow and return a java.lang.NegativeArraySizeException.\n\nAs a background, my dataset is at most 15 billion numbers, as I am doing a PCA of ~ 1 million rows x 15,000 columns.. My use case is comparing the speed of [this implementation](https://blog.dominodatalab.com/pca-on-very-large-neuroimaging-datasets-using-pyspark/) to randomized SVD in BidMach/Mat and randomized SVD in numpy.\nWith 1.5 billion elements BidMach performed excellently (10s for the BidMach SVD with dim=50 on a beefy machine) but I cannot go further with it because I can't fit any more values in my matrices.\n\nCheers,\nAmedee\n","author":{"url":"https://github.com/amedeedaboville","@type":"Person","name":"amedeedaboville"},"datePublished":"2016-09-04T15:49:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/71/BIDMat/issues/71"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7b702696-1c53-05b6-8741-038e1a3c865d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA94:355854:14E6739:1C3DDF6:6A5DC783 |
| html-safe-nonce | ed8ababe74f735f0e2d50d5af9fdb957a699e85ce9b72b2e481644b93368e854 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTk0OjM1NTg1NDoxNEU2NzM5OjFDM0RERjY6NkE1REM3ODMiLCJ2aXNpdG9yX2lkIjoiODkyNjMyNDI0MDY1Nzc5NDk0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ffa171368278612cbd03812da3612189e9396bd52924795635e888cbef7187a6 |
| hovercard-subject-tag | issue:174955204 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/BIDData/BIDMat/71/issue_layout |
| twitter:image | https://opengraph.githubassets.com/98dd5b2125f6491867ab3fc397d8370e4a90bda54f77b98249d3b7e86e1c4b24/BIDData/BIDMat/issues/71 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98dd5b2125f6491867ab3fc397d8370e4a90bda54f77b98249d3b7e86e1c4b24/BIDData/BIDMat/issues/71 |
| og:image:alt | Hi, The matrix dimensions in BidMat use the Int type, which seems to be limiting the number of elements I can fit in a matrix. After 2147483647 elements there are calculations in the Matrix class a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amedeedaboville |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/BIDData/BIDMat git https://github.com/BIDData/BIDMat.git |
| octolytics-dimension-user_id | 6103170 |
| octolytics-dimension-user_login | BIDData |
| octolytics-dimension-repository_id | 6270220 |
| octolytics-dimension-repository_nwo | BIDData/BIDMat |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 6270220 |
| octolytics-dimension-repository_network_root_nwo | BIDData/BIDMat |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width