Skip to content

Commit

Permalink
Revert "Dev/v0.7.0"
Browse files Browse the repository at this point in the history
  • Loading branch information
fedml-alex authored Nov 15, 2023
1 parent d3dc8e4 commit 64303b0
Show file tree
Hide file tree
Showing 94 changed files with 233 additions and 1,228 deletions.
36 changes: 0 additions & 36 deletions examples/launch/hello_world/hello_world.py

This file was deleted.

1 change: 0 additions & 1 deletion examples/launch/hello_world/requirements.txt

This file was deleted.

32 changes: 0 additions & 32 deletions examples/launch/job.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ train_args:
weight_decay: 0.001

validation_args:
frequency_of_the_test: 1
frequency_of_the_test: 5

device_args:
worker_num: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import numpy as np
import pandas as pd
import torch
import fedml
from torch import nn

from fedml.core import ServerAggregator
Expand All @@ -21,7 +20,7 @@ def set_model_params(self, model_parameters):
def test(self, test_data, device, args):
pass

def test_all(
def test_on_the_server(
self, train_data_local_dict, test_data_local_dict, device, args=None
) -> bool:
model = self.model
Expand Down Expand Up @@ -68,9 +67,6 @@ def test_all(
logging.info("The True positive number is {}".format(true_positive))
logging.info("The False negative number is {}".format(false_negative))

logging.info(f"The type of auc is {type(accuracy)}")
fedml.mlops.log({"round_idx": args.round_idx, "accuracy": float(accuracy)})

logging.info("The accuracy is {}".format(accuracy))
logging.info("The precision is {}".format(precision))
logging.info("The false positive rate is {}".format(false_positive_rate))
Expand Down

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 64303b0

Please sign in to comment.