Comments (2)
Hi @DerWeh -- Thanks for letting us know about this. I'll add the information to install npm in the documentation once we resolve the rest of the issues you're observing.
node v8.10.0 and npm v3.5.2 are pretty old (2018/2015). Can you try updating them with:
sudo apt update
sudo apt install nodejs npm
from interpret.
Indeed, the Ubuntu on my machine is quite old (and I have some constrains not allowing me to upgrade).
Tried it on a different machine with a newer Ubuntu.
$ nodejs --version
v12.22.9
$ npm --version
8.5.1
With the newer version, the command runs with the following output:
$ make install
cd /home/wehandre/workspace/code/interpret/shared/vis && npm install
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Redundant dependency in your project.
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
added 1127 packages, and audited 1128 packages in 2m
150 packages are looking for funding
run `npm fund` for details
4 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
cd /home/wehandre/workspace/code/interpret/shared/vis && npm run build-prod
> @interpretml/[email protected] build-prod
> webpack --mode production
events.js:291
throw er; // Unhandled 'error' event
^
Error [ERR_WORKER_OUT_OF_MEMORY]: Worker terminated due to reaching memory limit: JS heap out of memory
at Worker.[kOnExit] (internal/worker.js:238:26)
at Worker.<computed>.onexit (internal/worker.js:168:20)
Emitted 'error' event on Worker instance at:
at Worker.[kOnExit] (internal/worker.js:238:12)
at Worker.<computed>.onexit (internal/worker.js:168:20) {
code: 'ERR_WORKER_OUT_OF_MEMORY'
}
make: *** [Makefile:86: build-javascript] Error 1
I'm not really interested in developing dashboards and visualizations, so it seems it's fine to just use
$ chmod u+x build.sh
$ ./build.sh
followed by installing the Python module. The relevant test are passing, so this is good enough for me (but it might be useful to document it for other developers).
from interpret.
Related Issues (20)
- Multi target black box models explanation HOT 1
- How much data is require for EBM??? HOT 2
- Question about Inference Time HOT 1
- Computational complexity of EBM HOT 5
- Validation or OOB score HOT 3
- Does the EBM model support customized loss functions (objectives)? HOT 1
- Ordinal vs nominal for categorical variables HOT 2
- Attribute ERROR from interpret/utils/_clean_x.py HOT 1
- How can I interpret a fully connected nerual network?
- Stepwise process for model selection with EBM classifier HOT 2
- Method for extracting where the steps are in the variable plots HOT 1
- Interactions setting in multi-class datasets HOT 2
- Multi Output Regressor Model Support HOT 2
- cannot import name 'url_quote' from 'werkzeug.urls' when using show(dt.explain_global()) HOT 5
- How to get word importance HOT 1
- Query: performance prospects on massive data sets (curse of dimensionality?) HOT 3
- How to speed up EBM model? Unbelievable slow. HOT 9
- Question: Parallel boosting? HOT 4
- Integrate EBM into the pytorch framework HOT 7
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 interpret.