Skip to content

Commit 640975c

Browse files
committed
Merge branch 'dev'
2 parents 3647e15 + c3e85eb commit 640975c

40 files changed

+2353
-1876
lines changed

docs/make.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ makedocs(;
1313
),
1414
pages=[
1515
"Home" => "index.md",
16+
"Test Combo Introduction" => "test_combo_intro.md",
1617
"Manual" => Any[
1718
"Make Cue Matrix" => "man/make_cue_matrix.md",
1819
"Make Semantic Matrix" => "man/make_semantic_matrix.md",
@@ -23,7 +24,11 @@ makedocs(;
2324
"Evaluation" => "man/eval.md",
2425
"Output" => "man/output.md",
2526
"Test Combo" => "man/test_combo.md",
26-
"Utils" => "man/utils.md"
27+
"Display" => "man/display.md",
28+
"Utils" => "man/utils.md",
29+
"Pickle" => "man/pickle.md",
30+
"Pyndl" => "man/pyndl.md",
31+
"Widrow-Hoff Learning" => "man/wh.md",
2732
],
2833
"All Manual index" => "man/all_manual.md"
2934
],

docs/src/index.md

Lines changed: 200 additions & 210 deletions
Large diffs are not rendered by default.

docs/src/man/display.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
```@meta
2+
CurrentModule = JudiLing
3+
```
4+
5+
# Cholesky
6+
7+
```@docs
8+
display_matrix(M, rownames, colnames)
9+
display_matrix(data, target_col, cue_obj, M, M_type)
10+
```

docs/src/man/eval.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CurrentModule = JudiLing
33
```
44

5-
# Find Paths
5+
# Evaluation
66

77
```@docs
88
Comp_Acc_Struct
@@ -16,7 +16,8 @@ CurrentModule = JudiLing
1616
eval_SC_loose(SChat, SC, k)
1717
eval_SC_loose(SChat, SC, k, data, target_col)
1818
eval_manual(res, data, i2f)
19-
eval_acc(res, gold_inds)
19+
eval_acc(res, gold_inds::Array)
20+
eval_acc(res, cue_obj::Cue_Matrix_Struct)
2021
eval_acc_loose(res, gold_inds)
2122
extract_gpi(gpi, threshold=0.1, tolerance=(-1000.0))
2223
```

docs/src/man/find_path.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ CurrentModule = JudiLing
77
```@docs
88
Result_Path_Info_Struct
99
Gold_Path_Info_Struct
10+
learn_paths
11+
build_paths
12+
learn_paths(data, cue_obj, S_val, F_train, Chat_val)
1013
learn_paths(data_train, data_val, C_train, S_val, F_train, Chat_val, A, i2f, f2i)
1114
build_paths(data_val, C_train, S_val, F_train, Chat_val, A, i2f, C_train_ind)
1215
eval_can(candidates, S, F, i2f, max_can, if_pca, pca_eval_M)

docs/src/man/make_cue_matrix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ CurrentModule = JudiLing
1414
make_cue_matrix(data_train::DataFrame, data_val::DataFrame)
1515
make_cue_matrix(data::DataFrame, pyndl_weights::Pyndl_Weight_Struct)
1616
make_combined_cue_matrix(data_train, data_val)
17-
make_ngrams(tokens, grams=3, keep_sep=false, sep_token=nothing, start_end_token="#")
17+
make_ngrams(tokens, grams, keep_sep, sep_token, start_end_token)
1818
```

docs/src/man/output.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ CurrentModule = JudiLing
77
```@docs
88
write2csv
99
write2df
10-
save_L_matrix
11-
load_L_matrix
1210
write2csv(res, data, cue_obj_train, cue_obj_val, filename)
1311
write2csv(gpi, filename)
1412
write2df(res, data, cue_obj_train, cue_obj_val)
1513
write2df(gpi)
1614
save_L_matrix(L, filename)
1715
load_L_matrix(filename)
16+
save_S_matrix(S, filename, data, target_col)
17+
load_S_matrix(filename)
1818
```

docs/src/man/pickle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ CurrentModule = JudiLing
55
# Utils
66

77
```@docs
8-
mypickle
9-
myunpickle
8+
save_pickle
9+
load_pickle
1010
```

docs/src/man/preprocess.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ CurrentModule = JudiLing
55
# Preprocess
66

77
```@docs
8-
lpo_cv_split
9-
loo_cv_split
8+
SplitDataException
109
lpo_cv_split(p, data_path)
1110
loo_cv_split(data_path)
1211
train_val_random_split(data_path, output_dir_path, data_prefix)
13-
train_val_carefully_split(data_path, output_dir_path, data_prefix, n_features_columns)
12+
train_val_careful_split(data_path, output_dir_path, data_prefix, n_features_columns)
1413
```

docs/src/man/pyndl.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
```@meta
2+
CurrentModule = JudiLing
3+
```
4+
5+
# Preprocess
6+
7+
```@docs
8+
Pyndl_Weight_Struct
9+
pyndl(data_path)
10+
```

0 commit comments

Comments
 (0)