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)
- 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
- Visualising Decision Tree explainer gives a Cytoscape object which is not savable to my local machine HOT 2
- [DP-EBM] Question regarding range R and sensitivity
- Support for more parameters in the Differentially Private models HOT 1
- NAM Model HOT 1
- Some hyperparameter questions HOT 3
- Lookup Table for single feature and feature interaction terms HOT 3
- Operations when merging EBM HOT 6
- EBM Classifier Global Feature Importance x Random Forest Classifier with Morris Sensitivity Analysis HOT 1
- possibility of adding `sample_weight` to `interpret.glassbox.ClassificationTree` HOT 6
- 2d PDP Z-axis colours appear too similar HOT 1
- Exporting EBM as PMML HOT 3
- Feature Request: Passing Validation Set or Index HOT 2
- Explore the data with continuous output and category input HOT 4
- Using the init_score in EBM Classifier HOT 1
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.