[PATCH] D83814: [clangd] Add Random Forest runtime for code completion.
UTKARSH SAXENA via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 14 14:32:28 PDT 2020
usaxena95 created this revision.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov, mgorny.
Herald added a project: clang.
[WIP]
- Proposes a json format for representing Random Forest model.
- Proposes a way to test the generated runtime using a test model.
TODO:
- Add generated source code snippet for easier review.
- Fix unused label warning.
- Figure out required using declarations for CATEGORICAL columns from Features.json.
- Necessary Google3 internal modifications for blaze before landing.
- Add documentation for format of the model.
- Document more.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83814
Files:
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/CompletionModelCodegen.py
clang-tools-extra/clangd/model/features.json
clang-tools-extra/clangd/model/tree.json
clang-tools-extra/clangd/unittests/CMakeLists.txt
clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
clang-tools-extra/clangd/unittests/model/features.json
clang-tools-extra/clangd/unittests/model/tree.json
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83814.277978.patch
Type: text/x-patch
Size: 16506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200714/4e22f0fa/attachment.bin>
More information about the cfe-commits
mailing list