This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import vowpalwabbit | |
vw = vowpalwabbit.Workspace(arg_str="--cb 1", quiet=True) | |
# print(dir(vw)) | |
print(vw.get_config().keys()) | |
print(dir(vw)) | |
print(vw.get_arguments()) | |
# print(vw.get_options()) | |
# raise SystemExit(1) | |
# print(vw.get_config()['general']) | |
for x in vw.get_config()['cb_adf']: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shared | User s_1 | |
| feature1 feature2 | |
2:1:0.5 | feature2 feature1 | |
shared | User s_1 | |
1:0:0.5 | feature2 feature1 | |
| feature2 | |
shared | User s_1 | |
| feature2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"test_name": "cb_two_action_diff_context", | |
"data_func": "generate_cb_data", | |
"data_func_args": { | |
"num_examples": 100, | |
"num_features": 2, | |
"num_action": 2, | |
"reward_function": { | |
"name": "fixed_reward_for_diff_context", | |
"params": {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"--cb_explore 2 --epsilon 0.2" 1 features 2 action 1 user even prob | |
Data format: | |
1:1:0.5 | feature1 | |
2:0:0.5 | feature1 | |
Loss for NO 2 | |
E ACTUAL: 0.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import nft_storage | |
from nft_storage.api import nft_storage_api | |
from nft_storage.model.error_response import ErrorResponse | |
from nft_storage.model.upload_response import UploadResponse | |
from nft_storage.model.unauthorized_error_response import UnauthorizedErrorResponse | |
from nft_storage.model.forbidden_error_response import ForbiddenErrorResponse | |
from pprint import pprint | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Experiment | Type | Webapps name | Browser | CPU | Memory | Energy consumption | |
---|---|---|---|---|---|---|---|
1 | WithoutAdsAnalytics | https-www-accuweather-com | chrome | 19.73571429 | 1244508.167 | 85.81570745 | |
2 | WithoutAdsAnalytics | https-www-accuweather-com | chrome | 19.46363636 | 1222273.818 | 77.42781087 | |
3 | WithoutAdsAnalytics | https-www-accuweather-com | chrome | 21.38095238 | 1230103.762 | 74.8966705 | |
4 | WithoutAdsAnalytics | https-www-accuweather-com | chrome | 26.39534884 | 1226185 | 75.08312064 | |
5 | WithoutAdsAnalytics | https-www-accuweather-com | chrome | 22.33255814 | 1228412.605 | 73.57845396 | |
6 | WithoutAdsAnalytics | https-www-accuweather-com | chrome | 20.86 | 1267218.75 | 69.25675189 | |
7 | WithoutAdsAnalytics | https-www-accuweather-com | chrome | 26.92045455 | 1245748.25 | 69.6684348 | |
8 | WithoutAdsAnalytics | https-www-accuweather-com | chrome | 26.01463415 | 1249249.195 | 70.28198101 | |
9 | WithoutAdsAnalytics | https-www-accuweather-com | chrome | 19.685 | 1240389.8 | 69.60056036 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Experiment | Type | Webapps name | Browser | CPU | Memory | Energy consumption | |
---|---|---|---|---|---|---|---|
1 | AdsAnalytics | https-www-accuweather-com | chrome | 19.79230769 | 1237417.282 | 70.66540667 | |
2 | AdsAnalytics | https-www-accuweather-com | chrome | 25 | 1200881.919 | 70.44357946 | |
3 | AdsAnalytics | https-www-accuweather-com | chrome | 26.99166667 | 1197025.806 | 65.52060403 | |
4 | AdsAnalytics | https-www-accuweather-com | chrome | 17.57297297 | 1196568.649 | 68.69674224 | |
5 | AdsAnalytics | https-www-accuweather-com | chrome | 18.94594595 | 1196822.676 | 68.36319538 | |
6 | AdsAnalytics | https-www-accuweather-com | chrome | 21.28333333 | 1218235.361 | 69.25039812 | |
7 | AdsAnalytics | https-www-accuweather-com | chrome | 25.53684211 | 1200376.763 | 65.76530632 | |
8 | AdsAnalytics | https-www-accuweather-com | chrome | 8.463157895 | 1205158.737 | 68.903834 | |
9 | AdsAnalytics | https-www-accuweather-com | chrome | 22.43333333 | 1205423.778 | 67.48116197 |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OBJECTID,YEAR_,STATE,AGENCY,UNIT_ID,FIRE_NAME,INC_NUM,ALARM_DATE,CONT_DATE,CAUSE,COMMENTS,REPORT_AC,GIS_ACRES,C_METHOD,OBJECTIVE,FIRE_NUM,SHAPE_Length,SHAPE_Area | |
21440,2020,CA,CDF,NEU,NELSON,00013212,2020/06/18 00:00:00+00,2020/06/23 00:00:00+00,11,,110,109.60228,1,1,,4179.74314204583,733134.698478967 | |
21441,2020,CA,CDF,NEU,AMORUSO,00011799,2020/06/01 00:00:00+00,2020/06/04 00:00:00+00,2,,670,685.58502,1,1,,12399.3753905116,4578171.89880051 | |
21442,2020,CA,CDF,NEU,ATHENS,00018493,2020/08/10 00:00:00+00,2020/03/01 00:00:00+00,14,,26,27.30048,1,1,,2119.19412003875,182387.640411692 | |
21443,2020,CA,CDF,NEU,FLEMING,00007619,2020/03/31 00:00:00+00,2020/04/01 00:00:00+00,9,,13,12.931545,1,1,,2029.52488137503,86679.423402436 | |
21444,2020,CA,CDF,NEU,MELANESE,00008471,2020/04/14 00:00:00+00,2020/04/19 00:00:00+00,18,,10.3,10.315964,1,1,,1342.74290294001,70179.1223470977 | |
21445,2020,CA,CDF,NEU,PFE,00014858,2020/07/05 00:00:00+00,2020/07/05 00:00:00+00,14,,36,36.701931,1,1,,3012.19835361044,244431.516854361 | |
21446,2020,CA,DOD,BE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io | |
mapping_table = {} | |
def bigsize_decode(r): | |
"""Decode an integer from reader `r`""" | |
raw = r.read(1) | |
if len(raw) != 1: | |
return None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add from sources: ChainOfResponsibilityCheck.kt | |
add from sources: TransactionCheck.kt | |
add from sources: BlockNotFoundCheck.kt | |
add from sources: CheckHandler.kt | |
add from sources: ICommand.kt | |
add from sources: GetChainInfoBtc.kt | |
add from sources: GetRawBlockByHeightBtc.kt | |
add from sources: GetUtxOutBtc.kt | |
add from sources: SendRawTransactionBtc.kt | |
add from sources: EstimateFeeBtc.kt |
NewerOlder