Skip to content

Commit

Permalink
replace the occurrences of the term master with main
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 584995286
  • Loading branch information
sharadshriram authored and copybara-github committed Nov 24, 2023
1 parent 4832823 commit 9c8dd01
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ library(digest)
library(pROC)
library(R.utils)

almostnolabel_master <- "./almostnolabel-master/"
almostnolabel_main <- "./almostnolabel-main/"

source(file = paste(almostnolabel_master, "auc.R", sep = ""))
source(file = paste(almostnolabel_master, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "logistic.regression.R", sep = ""))
source(file = paste(almostnolabel_main, "auc.R", sep = ""))
source(file = paste(almostnolabel_main, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "logistic.regression.R", sep = ""))

root_for_experiments <- "./Data/"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ library(digest)
library(pROC)
library(R.utils)

almostnolabel_master <- "./almostnolabel-master/"
almostnolabel_main <- "./almostnolabel-main/"

source(file = paste(almostnolabel_master, "auc.R", sep = ""))
source(file = paste(almostnolabel_master, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "logistic.regression.R", sep = ""))
source(file = paste(almostnolabel_main, "auc.R", sep = ""))
source(file = paste(almostnolabel_main, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "logistic.regression.R", sep = ""))

root_for_experiments <- "./Data/"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ library(digest)
library(pROC)
library(R.utils)

almostnolabel_master <- "./almostnolabel-master/"
almostnolabel_main <- "./almostnolabel-main/"

source(file = paste(almostnolabel_master, "auc.R", sep = ""))
source(file = paste(almostnolabel_master, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "logistic.regression.R", sep = ""))
source(file = paste(almostnolabel_main, "auc.R", sep = ""))
source(file = paste(almostnolabel_main, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "logistic.regression.R", sep = ""))

root_for_experiments <- "./Data/"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ library(digest)
library(pROC)
library(R.utils)

almostnolabel_master <- "./almostnolabel-master/"
almostnolabel_main <- "./almostnolabel-main/"

source(file = paste(almostnolabel_master, "auc.R", sep = ""))
source(file = paste(almostnolabel_master, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "logistic.regression.R", sep = ""))
source(file = paste(almostnolabel_main, "auc.R", sep = ""))
source(file = paste(almostnolabel_main, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "logistic.regression.R", sep = ""))

root_for_experiments <- "./Data/"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ library(digest)
library(pROC)
library(R.utils)

almostnolabel_master <- "./almostnolabel-master/"
almostnolabel_main <- "./almostnolabel-main/"

source(file = paste(almostnolabel_master, "auc.R", sep = ""))
source(file = paste(almostnolabel_master, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "logistic.regression.R", sep = ""))
source(file = paste(almostnolabel_main, "auc.R", sep = ""))
source(file = paste(almostnolabel_main, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "logistic.regression.R", sep = ""))

root_for_experiments <- "./Data/"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ library(digest)
library(pROC)
library(R.utils)

almostnolabel_master <- "./almostnolabel-master/"
almostnolabel_main <- "./almostnolabel-main/"

source(file = paste(almostnolabel_master, "auc.R", sep = ""))
source(file = paste(almostnolabel_master, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "logistic.regression.R", sep = ""))
source(file = paste(almostnolabel_main, "auc.R", sep = ""))
source(file = paste(almostnolabel_main, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "logistic.regression.R", sep = ""))

root_for_experiments <- "./Data/"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ library(digest)
library(pROC)
library(R.utils)

almostnolabel_master <- "./almostnolabel-master/"
almostnolabel_main <- "./almostnolabel-main/"

source(file = paste(almostnolabel_master, "auc.R", sep = ""))
source(file = paste(almostnolabel_master, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_master, "logistic.regression.R", sep = ""))
source(file = paste(almostnolabel_main, "auc.R", sep = ""))
source(file = paste(almostnolabel_main, "mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "laplacian.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "alternating.mean.map.R", sep = ""))
source(file = paste(almostnolabel_main, "logistic.regression.R", sep = ""))

root_for_experiments <- "./Data/"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def label_map(x):
# pylint: disable=unnecessary-lambda
df[last_col] = df[last_col].map(lambda x: label_map(x))

# insert dummy bag column
# insert placeholder bag column
df.insert(loc=0, column="bag", value=1)

# insert label column
Expand Down Expand Up @@ -133,7 +133,7 @@ def label_map(x): # pylint: disable=function-redefined
# pylint: disable=unnecessary-lambda
df[last_col] = df[last_col].map(lambda x: label_map(x))

# insert dummy bag column
# insert placeholder bag column
df.insert(loc=0, column="bag", value=1)

# insert label column
Expand Down Expand Up @@ -186,7 +186,7 @@ def label_map(x): # pylint: disable=function-redefined
# pylint: disable=unnecessary-lambda
df[last_col] = df[last_col].map(lambda x: label_map(x))

# insert dummy bag column
# insert placeholder bag column
df.insert(loc=0, column="bag", value=1)

# insert label column
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To Appear in AISTATS'22.

# For Pseudo-synthetic datasets experiments
1. Collect code for previous work:
* Git pull `https://github.com/giorgiop/almostnolabel` (commit `4de5f54`) as folder `almostnolabel-master` in directory containing this README.
* Git pull `https://github.com/giorgiop/almostnolabel` (commit `4de5f54`) as folder `almostnolabel-main` in directory containing this README.
* Git pull `https://github.com/Z-Jianxin/Learning-from-Label-Proportions-A-Mutual-Contamination-Framework` (commit `adb57fa`) and copy the contents of the LMMCM directory to ./Code/PythCode/.
2. Create virtual environment `pythenv` with python 3.9.2.
* `cd ./Code`, `python -m venv pythenv`
Expand Down

0 comments on commit 9c8dd01

Please sign in to comment.