Comments (2)
@westn thanks for filing this issue!
In version 0.5.1, we did not support commonjs modules but forgot to update the documentation on the website to reflect that. We just published a new version (0.5.3) that now supports commonjs modules in addition to ES modules by using the exports
key in package.json
. If you update to the latest version of @tangramxyz/tangram (0.5.3) everything should work as shown in the documentation. We also added examples in languages/javascript/examples/node
in this repo demonstrating the use of both commonjs and ES modules. The example in the docs has also been updated with a small change on line 9: the .buffer
field needs to be used from the result of readFileSync
. Please incorporate that into your code. Let us know if you run into more problems.
Thank you!
from modelfox.
Thanks! Now it's working as intended. Closing this issue.
from modelfox.
Related Issues (20)
- Add CLI Command to auto-generate config file HOT 2
- Playground Chart min value is deceptive, use 0 instead
- Long column names overflow training stats table
- Repo overview View to compare all models contained in the repo
- Ctrl-c to cancel training from python
- Early Stopping Options default to present
- Coerce boolean values appropriately to enum values for prediction in language libraries/ cli
- Improve error message for CLI incorrect path to train/test file
- Forgetting the threshold in logPrediction causes bad request
- Allow data frame as input to predict function in python
- Explain what a baseline classifier is on the metrics page.
- Training error when column to predict has more than 100 variants HOT 2
- Thread 'main' panicked at 'called `Option::unwrap()` on a `None` value' HOT 5
- Failed to get `modelfox` as a dependency of package HOT 1
- URL in repo description is broken HOT 2
- Debian package is not installable HOT 1
- Running `modelfox app` gives "error: No such file or directory (os error 2)" HOT 1
- Bag of words - what is the delimiter? HOT 3
- [Ruby] Does not work for M1 Mac OSX
- datasets are not downloadable anymore
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 modelfox.