Comments (5)
http_archive
is a Bazel macro that should be imported before being used. Add the following line in your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
More details at https://docs.bazel.build/versions/main/repo/http.html.
from yggdrasil-decision-forests.
I did manage to fix that, thanks. Furthermore, I think the link in urls
is wrong. I changed the WORKSPACE file to:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "ydf",
strip_prefix = "yggdrasil-decision-forests-0.1.3",
urls = ["https://github.com/google/yggdrasil-decision-forests/archive/refs/tags/0.1.3.zip"],
)
load("@ydf//yggdrasil_decision_forests:library.bzl", ydf_load_deps = "load_dependencies")
ydf_load_deps(repo_name = "@ydf", exclude_repo=[])
Nonetheless, I still do not manage to get it to work. As far as I can understand from the error message below, the dependencies of ydf are not being pulled, despite being included by the last two lines of the WORKSPACE file:
Unable to find package for @bazel_skylib//lib:versions.bzl: The repository '@bazel_skylib' could not be resolved
from yggdrasil-decision-forests.
I'll create a standalone repo to demonstrate it.
This will be easier this way :).
I'll update the issue when available.
from yggdrasil-decision-forests.
Thank you very much, I appreciate it!
from yggdrasil-decision-forests.
Hi,
The directory yggdrasil-decision-forests/tree/main/examples/standalone now contains a standalone example. The compilation requirements and trouble shooting instructions are the same as for the library.
from yggdrasil-decision-forests.
Related Issues (20)
- Documentation for using Go is out of date HOT 1
- Go module buried in this repo prevents the module importing properly HOT 14
- Go module only supports binary classification HOT 1
- Go model serving does not support DISCRETIZED_NUMERICAL HOT 4
- Running quick Scorer Extended Model HOT 2
- Windows Build Fails - Compiling .cc files results in syntax error HOT 2
- Missing whitespace on page /cli_install.html and please use sudo in build_binary_release.sh HOT 5
- Don't pollute my home !! HOT 1
- minor typo on page /intro_df.html HOT 1
- Cannot import ydf from windows vsc HOT 5
- Cannot compile standalone example on macOS HOT 1
- No aarch64 wheel or source distro HOT 2
- rich reports not rendering graphs in vscode HOT 3
- Cannot use 'discretize_numerical_columns' in tuner HOT 1
- Loading big models is slow HOT 9
- On MacOSX, Mac M Hardware (ARM), a segmentation fault happened with YDF when pyarrow is installed HOT 8
- MHLD_OBLIQUE is unknown while mentioned in the documentation HOT 2
- porting an example from tensorflow HOT 4
- `to_tensorflow_function()` fails if added to the quickstart HOT 4
- import ydf returns error: ydf.so (no such file) and ydf.so (not a mach-o file) 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 yggdrasil-decision-forests.