Commit 2e5364bb authored by Barthelet Thibault's avatar Barthelet Thibault
Browse files

new sim

parent c08c45ee
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@ app.config['SESSION_TYPE'] = 'filesystem'

# Load dataset
DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')
TRAINING_DATA_PATH = os.path.join(DATA_DIR, 'supply_chain_data_training.json')
TEST_DATA_PATH = os.path.join(DATA_DIR, 'supply_chain_data_test.json')
TRAINING_DATA_PATH = os.path.join(DATA_DIR, 'sim_supply_chain_data_training.json')
TEST_DATA_PATH = os.path.join(DATA_DIR, 'sim_supply_chain_data_test.json')


def load_training_data():
+2760 −2760

File changed.

Preview size limit exceeded, changes collapsed.

+180 −180

File changed.

Preview size limit exceeded, changes collapsed.

+2586 −2586

File changed.

Preview size limit exceeded, changes collapsed.

+3 −3
Original line number Diff line number Diff line
@@ -174,11 +174,11 @@ class SupplyChainSimulation:
            for month in range(self.config.get('n_months', 12)):
                # Simple prediction based on category
                if watch.category == 'luxury':
                    base = 5
                    base = 200
                elif watch.category == 'sport':
                    base = 15
                    base = 200
                else:  # casual
                    base = 25
                    base = 200
                
                # Add some variation
                prediction = base + np.random.normal(0, 3)