File tree Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,3 @@ CREATE INDEX IF NOT EXISTS processing_job_command_parameters_payload ON qiita.pr
62
62
-- Addding contraints for the slurm_reservation column
63
63
ALTER TABLE qiita .analysis DROP CONSTRAINT IF EXISTS analysis_slurm_reservation_valid_chars;
64
64
ALTER TABLE qiita .analysis ADD CONSTRAINT analysis_slurm_reservation_valid_chars CHECK ( slurm_reservation ~ ' ^[a-zA-Z0-9_]*$' );
65
-
66
- -- Jan 7, 2025
67
- -- Adding a table for formulas for resource allocations
68
- CREATE TABLE qiita .allocation_equations (
69
- equation_id SERIAL PRIMARY KEY ,
70
- equation_name TEXT NOT NULL ,
71
- expression TEXT NOT NULL
72
- );
Original file line number Diff line number Diff line change
1
+ -- Jan 13, 2025
2
+ -- Adding a table for formulas for resource allocations
3
+ CREATE TABLE qiita .allocation_equations (
4
+ equation_id SERIAL PRIMARY KEY ,
5
+ equation_name TEXT NOT NULL ,
6
+ expression TEXT NOT NULL
7
+ );
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ INSERT INTO qiita .allocation_equations (equation_name, expression)
2
+ VALUES
3
+ (' mem_model1' , ' (k * (log(x))) + (x * a) + b' ),
4
+ (' mem_model2' , ' (k * (log(x))) + (b * ((log(x))**2)) + a' ),
5
+ (' mem_model3' , ' (k * (log(x))) + (b * ((log(x))**2)) + (a * ((log(x))**3))' ),
6
+ (' mem_model4' , ' (k * (log(x))) + (b * ((log(x))**2)) + (a * ((log(x))**2.5))' ),
7
+ (' time_model1' , ' a + b + ((log(x)) * k)' ),
8
+ (' time_model2' , ' a + (b * x) + ((log(x)) * k)' ),
9
+ (' time_model3' , ' a + (b * ((log(x))**2)) + ((log(x)) * k)' ),
10
+ (' time_model4' , ' (a * ((log(x))**3)) + (b * ((log(x))**2)) + ((log(x)) * k)' );
Original file line number Diff line number Diff line change 76
76
import matplotlib .pyplot as plt
77
77
from matplotlib import colormaps
78
78
import numpy as np
79
+ from numpy import log
79
80
import pandas as pd
80
81
from io import StringIO
81
82
from json import loads
You can’t perform that action at this time.
0 commit comments