Comments (8)
FWIW I had similar problems with test outputs changing due to numeric precision issues on different builders/architectures. The most recent example involved differences in rounding for single-precision std::exp()
on between Clang and GCC. Another memorable case involved a flip in the branching for a <=
if condition between 32-bit Windows and 64-bit OS's.
In the end, I just gave up and wrapped the test in a skip_on_os()
call. I concluded that the precision differences weren't going to go away, no matter what I did; but I still needed to test something, so I couldn't just delete the entire test suite.
So, an expedient "solution" might just be to skip the tests based on the architecture. Sys.info()[["machine"]]
should tell you whether it's x86_64
or arm64
; dunno about the others. Yeah, people might complain about not being able to reproduce the analysis results across machines, but sometimes we can't abstract away differences in the underlying hardware.
from uwot.
Many thanks @lucaskanashiro, I am attempting to skip that one test for the architectures listed and if all goes well this will prevent failures in your tests after the next release of this package to CRAN
from uwot.
Thanks for the report. I don't have access to any of those platforms (I admit to not even knowing what s390x
is) but I'll see what I can do. What are the implications for failing to get this fixed in a timely fashion?
from uwot.
@jlmelville the tests should be fixed ASAP to allow the inclusion of the latest version in the next Ubuntu release which will be released next month. For Debian, there is more time since it should be released next year.
FWIW I have access to machines running those architectures, if you need any testing I will be happy to help.
from uwot.
Thank you for the offer of testing help, that is appreciated.
The problem here is that I would need to really dig into the code to debug what causes the failures. Even if I can fix it, the chances of a new CRAN release in the next month is zero. So to set expectations and avoid any disappointment, there is no way these can be included in the next Ubuntu. I'm not even sure why someone turned this into a debian package and I can't commit to shouldering the burden of maintaining them. But I will do what I can.
from uwot.
@lucaskanashiro do you have the ability to run the R console on those test machines for each failing test architecture and report the value of:
Sys.info()[["sysname"]]
R.version$arch
from uwot.
The requested info is below:
arm64
> Sys.info()[["sysname"]]
[1] "Linux"
> R.version$arch
[1] "aarch64"
ppc64el
> Sys.info()[["sysname"]]
[1] "Linux"
> R.version$arch
[1] "powerpc64le"
s390x
> Sys.info()[["sysname"]]
[1] "Linux"
> R.version$arch
[1] "s390x"
from uwot.
Related Issues (20)
- Add general_simplicial_set_intersection to the uwot API HOT 3
- umap_transform causes R Studio to abort (R encountered a fatal error.) HOT 4
- umap_transform can give odd results with dens_scale HOT 17
- umap transform fuzzy graph HOT 3
- Citing {uwot} HOT 1
- Weird looking UMAP for spectral flow data HOT 3
- What C++ version should CXX_STD have? HOT 16
- devtools can no longer build uwot on Windows HOT 5
- Optimization of n_components and spread HOT 2
- Help needed . How to parallel RcppANNOY HOT 1
- Can't install on CentOS server machine HOT 2
- Support binary metric HOT 1
- Licensing model for uwot and umappp HOT 3
- Does uwot need connecting internet? HOT 4
- retrieve umap parameters HOT 2
- `fuzzy_simplicial_set()` for BBKNN HOT 5
- Differences in model parameters when calling umap() causes umap_transform() to error HOT 3
- How to input similarity_graph back into umap parameters? HOT 3
- Range scale input before optimization HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uwot.