Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dimvasdim/Thesis
/ functions
Functions
20 in github.com/dimvasdim/Thesis
⨍
Functions
20
◇
Types & classes
1
↓ 2 callers
Function
neural_network
Create the neural network
neural_network.py:28
↓ 1 callers
Function
create_train_valid_set
()
neural_network.py:41
↓ 1 callers
Method
evaluate
(self, obj_function, steady, cost, model)
pso.py:25
↓ 1 callers
Function
full_weeks
Return a dataframe with full weeks of our dataset Take one product and fill the empty weeks with zeros
data.py:122
↓ 1 callers
Function
get_data_splits
(dataframe, valid_fraction=0.2)
neural_network.py:19
↓ 1 callers
Function
nn_row
Return a row in the desired format for the neural network
data.py:147
↓ 1 callers
Function
particle_swarm
number_of_particles: the population of the particles that try to maximize a function c1: cognitive component of a particle
pso.py:55
↓ 1 callers
Method
update_position
(self, bounds)
pso.py:43
↓ 1 callers
Method
update_velocity
(self, w, c1, c2)
pso.py:36
Method
__init__
(self, position, velocity)
pso.py:17
Function
create_nn_data
(number_of_weeks=16)
data.py:179
Function
create_week_data
()
data.py:87
Function
first_data_handle
()
data.py:17
Function
gain
(price, steady, cost, model)
pso.py:88
Function
nn_final_training
()
neural_network.py:115
Function
nn_testing
()
neural_network.py:79
Function
optimize_prices
()
pso.py:97
Function
print_details
(data)
data.py:253
Function
products_with_sales
(num_of_sales=1000)
data.py:43
Function
pso_data
()
data.py:210