Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Draco JS rewrite#96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
domoritz wants to merge42 commits intomaster
base:master
Choose a base branch
Loading
fromndraco
Open
Changes from1 commit
Commits
Show all changes
42 commits
Select commitHold shift + click to select a range
551f26c
Initial commit of refactor.
haldenlJun 2, 2019
9613fcd
Add additional constraints, tests, improve naming, fix small bugs.
haldenlJun 3, 2019
d1c600d
Add data parsing + temporal.
haldenlJun 3, 2019
11af692
Fix fact asp.
haldenlJun 3, 2019
1e52945
Update README.md
haldenlJun 3, 2019
64cca6e
Add travis.
haldenlJun 3, 2019
5942da6
Merge branch 'ndraco' of github.com:uwdata/draco into ndraco
haldenlJun 3, 2019
18e0f4b
Fix temporal c_d soft constraint.
haldenlJun 3, 2019
aee47a2
Refactor tests, add additional constraints.
haldenlJun 4, 2019
702ad0f
Add typing and module to package.
haldenlJun 4, 2019
2d67b1d
Add typings and esmodule exports.
haldenlJun 4, 2019
2e801e0
Fix imports and remove encoding comparison integrity constraint.
haldenlJun 4, 2019
07a2254
Remove extra stack generation.
haldenlJun 4, 2019
43fc4a7
Add functions for generation declarations in Data, fix constraints.
haldenlJun 4, 2019
53b9e8d
Fix encoding_fact(raw...
haldenlJun 5, 2019
c571b4b
Add version.
haldenlJun 5, 2019
93ea663
Change IMDB test case to scatter.
haldenlJun 5, 2019
f3897d7
Fix temporal constraint.
haldenlJun 5, 2019
b6cb9da
Add cardinality soft constraints.
haldenlJun 5, 2019
cbaedaa
Uncomment continuous_channel.
haldenlJun 5, 2019
7829808
Rewrite options.
haldenlJun 5, 2019
2796381
Refactor data lp.
haldenlJun 25, 2019
39a88f1
Remove old data generate.
haldenlJun 25, 2019
d9e0f07
Allow generateData in Draco API.
haldenlJun 27, 2019
e97727b
Reduce number of max fields.
haldenlJun 27, 2019
1b7a722
Reduce number of max fields.
haldenlJun 27, 2019
d890689
Fix merge.
haldenlJun 27, 2019
f312113
Add constraint for boolean gen.
haldenlJun 28, 2019
1c38dae
Merge branch 'ndraco' of github.com:uwdata/draco into ndraco
haldenlJun 28, 2019
8df9da2
Add more generation constraints.
haldenlJun 29, 2019
557e173
Fix data gen hard constraints.
haldenlJun 29, 2019
8488545
Fix data gen hard constraints.
haldenlJun 29, 2019
ae4b785
Merge branch 'ndraco' of github.com:uwdata/draco into ndraco
haldenlJun 29, 2019
af39dff
Update generate.
haldenlJul 9, 2019
2d87bdf
Options for generation.
haldenlJul 29, 2019
41d0f5a
Fix binning bugs.
haldenlAug 14, 2019
15fa9a0
Fix bin parsing bug for facts2vl.
haldenlAug 14, 2019
9135ed6
Fix encoding checks.
haldenlAug 27, 2019
67b654d
Fix falsey bin.
haldenlAug 28, 2019
1c7c652
Add generate extra encodings option.
haldenlAug 28, 2019
e9c1934
Add option to (not) generate extra encodings.
haldenlAug 29, 2019
f644ff6
Update test.
haldenlAug 30, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Reduce number of max fields.
  • Loading branch information
@haldenl
haldenl committedJun 27, 2019
commit1b7a722dd0970228e345e736043632fa603d0e0d
10 changes: 6 additions & 4 deletionsmodel/data/generate.lp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
#const max_fields =10.
#const max_fields =4.
0 { field_id(1..max_fields) } max_fields.


1 = { num_rows(S): S = (5;10; 50; 100; 1000) }.
1 = { num_rows(S): S = (10; 50; 100; 1000) }.
1 = { fieldtype(F,T): fieldtype_type(T) } :- field_id(F).

1 = { cardinality(F,C): C = (2;5;9;21;31;101;10;20;100;1000) } :- field(F).
1 = { extent(F,MIN,MAX): MIN = (-100;-1;0;1;100), MAX = (-50;-1;0;1;100)} :- field(F).
1 = { cardinality(F,C): C = (2;5;9;21;31;101;100;1000) } :- field(F).
1 = { extent(F,MIN,MAX): MIN = (-100;-1;0;1;100), MAX = (-100;-1;0;1;100)} :- field(F).

:- fieldtype(F,integer), cardinality(F,C), extent(F,MIN,MAX), C > MAX - MIN + 1.

#show num_rows/1.
#show fieldtype/2.
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp