Skip to content

Commit

Permalink
move files from fdr_analysis to fdrx module
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-charlotte committed Jan 17, 2025
1 parent 7a1f4a7 commit ceabe7c
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion alphadia/fdrexperimental.py
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,6 @@ def fit(self, x: np.ndarray, y: np.ndarray):
x_train_batch = x_train[batch_start:batch_stop]
y_train_batch = y_train[batch_start:batch_stop]
y_pred = self.network(x_train_batch)

loss_value = loss(y_pred, y_train_batch)

self.network.zero_grad()
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,4 @@ def apply_absolute_transformations(
f"column '{col}' is not present in df, therefore abs() was not applied."
)

return df
return df
2 changes: 1 addition & 1 deletion alphadia/workflow/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import alphadia
from alphadia import fdr
from alphadia.calibration.property import Calibration, calibration_model_provider
from alphadia.fdr_analysis.models import TwoStepClassifier
from alphadia.fdrx.models import TwoStepClassifier
from alphadia.workflow import reporting
from alphadia.workflow.config import Config

Expand Down
2 changes: 1 addition & 1 deletion alphadia/workflow/peptidecentric.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# alphadia imports
from alphadia import fragcomp, plexscoring, utils
from alphadia.fdr_analysis.models import LogisticRegressionClassifier, TwoStepClassifier
from alphadia.fdrx.models import LogisticRegressionClassifier, TwoStepClassifier
from alphadia.peakgroup import search
from alphadia.workflow import base, manager, optimization
from alphadia.workflow.config import Config
Expand Down

0 comments on commit ceabe7c

Please sign in to comment.