Skip to content

Commit

Permalink
remove uproot because not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
avalanchesiqi committed Sep 10, 2024
1 parent 3692893 commit 5644be6
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 735 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,4 @@ cython_debug/
.DS_Store
**/.DS_Store

examples
icwsm_tutorial
examples
2 changes: 0 additions & 2 deletions icwsm_tutorial/1-Generate-Joint-Distribution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
}
],
"source": [
"import uproot # go up to the project root\n",
"\n",
"import pandas as pd\n",
"\n",
"example_df1 = pd.read_csv('data/example_data1.csv')\n",
Expand Down
96 changes: 47 additions & 49 deletions icwsm_tutorial/2-Simulated-Dataset.ipynb

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions icwsm_tutorial/Toxicity-Calibrate-Extrapolate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@
"metadata": {},
"outputs": [],
"source": [
"import uproot # go up to the project root\n",
"\n",
"import json\n",
"import numpy as np\n",
"import pandas as pd\n",
Expand Down
4 changes: 0 additions & 4 deletions icwsm_tutorial/uproot.py

This file was deleted.

3 changes: 0 additions & 3 deletions pyquantifier/calibration_curve.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import uproot # go up to the project root

from abc import abstractmethod
import numpy as np
from matplotlib import pyplot as plt
from collections.abc import Iterable
from sklearn.linear_model import LogisticRegression

Expand Down
4 changes: 1 addition & 3 deletions pyquantifier/data.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import uproot # go up to the project root

import numpy as np
import pandas as pd
from sklearn.linear_model import LogisticRegression
import matplotlib.pyplot as plt

from pyquantifier.distributions import BinnedDUD, BinnedCUD
from pyquantifier.calibration_curve import PlattScaling, BinnedCalibrationCurve, CalibrationCurve
from pyquantifier.quantifier.intrinsic_estimator import MixtureModelEstimator
from pyquantifier.plot import *
from pyquantifier.util import get_bin_idx, get_binned_x_axis
from pyquantifier.quantifier.intrinsic_estimator import MixtureModelEstimator


# Item class
Expand Down
2 changes: 0 additions & 2 deletions pyquantifier/distributions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import uproot # go up to the project root

from abc import ABC, abstractmethod
from collections.abc import Iterable
import numpy as np
Expand Down
Loading

0 comments on commit 5644be6

Please sign in to comment.