Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
from comet_ml import OfflineExperiment | |
import sys | |
if __name__ == '__main__': | |
experiment = OfflineExperiment(project_name="pytorch") | |
experiment.log_model("model", sys.argv[1]) | |
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
from comet_ml import Experiment | |
import sys | |
if __name__ == '__main__': | |
experiment = Experiment(project_name="pytorch") | |
experiment.log_model("model", sys.argv[1]) | |
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
assign-vars = $(foreach A,$2,$(eval $1: $A)) | |
multiple_variable = a=10 \ | |
b=$(shell echo $$(( $(a)-1 )) ) | |
$(call assign-vars, print, $(multiple_variable)) | |
print: | |
@echo $(b) |
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
-- 1.0 Часть 2. Basic functions (22+5 баллов). Easy (4б), Каждое задание оценивается в 0.5 б. | |
-- 1.1 Выгрузите содержимое таблицы Player. | |
-- 1.2 Оставьте колонки id, player_name, birthday. | |
-- 1.3 Отобразите первые 7 строк из набора выше. |
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
/* | |
PART 2: BASIC FUNCTIONS | |
*/ | |
-- смотрим все колонки и все строки | |
SELECT * | |
FROM IndicatorsSmall; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Time | CPU Load % | |
---|---|---|
0.0 | 9.16 | |
0.21734066800000001 | 27.83 | |
28.746986842000002 | 12.5 | |
30.925176583000002 | 14.240000000000002 | |
54.247972894 | 10.72 | |
58.0511229 | 34.77 | |
80.546956698 | 8.870000000000003 | |
100.043546742 | 14.19 | |
107.84581495100001 | 13.0 |
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
class GenomDataset(): | |
def __init__(self, num_replicates: int, length: int = 10, | |
recombination_rate: float = RHO_HUMAN, | |
mutation_rate: float = MU_HUMAN, | |
model: str = "hudson", random_seed: int = 42, sample_size: int = 2): | |
events = generate_demographic_events() | |
dg = DataGenerator(recombination_rate=recombination_rate, | |
mutation_rate=mutation_rate, |
NewerOlder