Skip to content

Commit

Permalink
API: clean up score computation progress updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgortmaker committed Jun 18, 2022
1 parent 61b1928 commit a4491be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyblp/results/economy_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ def compute_agent_scores(
"""

# keep track of long it takes to compute scores
output("Computing micro scores ...")
output("Computing agent scores ...")
start_time = time.time()

# build micro data
Expand Down Expand Up @@ -1498,7 +1498,6 @@ def denominator_market_factory(s: Hashable) -> Tuple[EconomyResultsMarket, Micro
return market_s, dataset

# construct mappings from market IDs to xi Jacobians and denominator contributions
output("Computing contributions from the denominator of observation probabilities ...")
xi_jacobian_mapping: Dict[Hashable, Array] = {}
denominator_mapping: Dict[Hashable, Array] = {}
denominator_jacobian_mapping: Dict[Hashable, Array] = {}
Expand Down Expand Up @@ -1530,7 +1529,6 @@ def numerator_market_factory(i: Hashable) -> tuple:
return market_i, dataset, j_i, k_i, xi_jacobian_mapping[t_i]

# construct mappings from observations to numerator contributions
output("Computing contributions from the numerator of observation probabilities ...")
numerator_mapping: Dict[Hashable, Array] = {}
numerator_jacobian_mapping: Dict[Hashable, Array] = {}
generator = generate_items(
Expand Down

0 comments on commit a4491be

Please sign in to comment.