Questions tagged [simulation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

simulating a database for teaching

Not sure whether what I’m after is possible, but thought I would ask. I’d like to distribute a randomly created database to my students. I’d like to create, say, 100 binary variables at random, and ...
  • 3
1 vote
0 answers
36 views

Data Leakage (specific case with standardization)

I read a few blog posts and found some books that caution against data leakage when adjusting the training data using any information from the held out datasets. For example, if I were to standardize ...
0 votes
0 answers
29 views

Simulate the computing power required to apply a pre-trained model

I am very new to the field of machine learning and hope this question fits here. Is there a way to generate an estimate of the computational effort required to classify a value using a previously ...
  • 101
0 votes
0 answers
9 views

How can you explain the "jumps" in a Monte Carlo simulation?

I'm performing a Monte Carlo simulation of the following equation: \begin{aligned} Y_{i} \cong-314.2 \times & 10^{-3} a^{0.7383}\left(\frac{2.3 a^{0.05704}-2.6}...
0 votes
0 answers
22 views

Comparing time series classification with Hidden Markov Model vs Dynamic Time Warping - which model should I use to generate data?

Copied from Cross Validated I am writing a thesis which compares two approaches to time series classification: Hidden Markov Models and Dynamic Time Warping combined with 1-NN. I'll apply both ...
0 votes
0 answers
26 views

Finding model for time dependent functions via global model statement and constraints

I am interested in implementing a model to predict Load to Truck ratio. The goal of the model and the training process is to find the set of functions that define the interaction between locations. We ...
1 vote
1 answer
41 views

Optimize daily ice cream profit beased on simulation of all combinations input variables

I have an ice cream sales simulator for which I can simulate ice cream sales on any given day in the past. I want to optimize daily profit. The dependent variables for my ice cream shop which I have ...
2 votes
0 answers
17 views

Building a simulator for continuous state, discrete action reinforcement learning

I am trying to build a simulator that optimizes the performance and temperature of a device. I want the device to perform well, but without making the device too hot. If the device becomes too hot, I ...
1 vote
0 answers
10 views

How to build a simulator for a physical machine given a set of datapoints of its behaviour?

I have a database with millions of datapoints describing the behaviour of a heat pump. For every second, I know various temperature, pressure, mass flow and power measurements as a response to the ...
0 votes
1 answer
105 views

Pull Random Numbers from my Data (Python)

Let's imagine I have a series of numbers that represents cash flows into some account over the past 30 days in some time window. This data is non-normal but it does represent some distribution. I ...
1 vote
0 answers
26 views

How can I build a simulation environment that assess different risk policies? [closed]

I work in fin-tech and would like to build some sort of simulation program to assess how different inputs will impact net revenue. For example, if we create new policies based on ML scores, how would ...
  • 11
1 vote
0 answers
264 views

What is the difference between domain randomization and data augmentation?

Domain randomization (https://arxiv.org/abs/1703.06907) is used to create a synthetic dataset with enough variance that it will encompass unseen real data, as just one variation. I am trying to ...
  • 26
1 vote
1 answer
30 views

Understand how to simulate a statistics [closed]

This solution describes how to simulate statistics to find a confidence interval. A journalist called 1000 people in town to ask who will they be voting for out of candidates A and B. The observed ...
2 votes
2 answers
1k views

Ways to simulate weather data over several periods (Python or R)?

I have a time series dataset that has several variables for a state/province for fixed periods of time. That is for state A, there are samples from April 2017 to July 2019. Of course, I thought adding ...
  • 265
3 votes
1 answer
2k views

Finding similarity between two datasets

I have two datasets. One is actual percentage of white population in counties in an american state and the other is the simulated percentage of white population in counties in an american state. ...
3 votes
2 answers
247 views

Similarity Measure of Simulated Time Series vs Observed time Series

In my work I have an observed Time Series and Simulated ones. I want to compare the Light Curves and check for similarityto find out which simulated curve fits best respectivley which parameters ...
  • 51
2 votes
0 answers
217 views

Similarity Measure Time Series

In my work I have an observed Time Series and Simulated ones. I want to compare the Light Curves and check for similarityto find out which simulated curve fits best respectivley which parameters ...
  • 51
8 votes
3 answers
5k views

How to find out if two datasets are close to each other?

I have the following three datasets. ...
5 votes
1 answer
233 views

Estimating the value of $\pi$ with a Monte Carlo dartboard: $<$ or $\leq$?

I'm trying to figure out which is the proper way to estimate $\pi$ using the Monte Carlo method randomly distributing points in a square that also contains an inscribed circle. Some sources say to ...
2 votes
0 answers
59 views

ML/Statistical Model to Analyse the Distribution

Consider a Sample Data-set provided below; ...
  • 65
2 votes
1 answer
661 views

Testing Multi-Arm Bandits on Historical Data

Suppose I want to test a multi-arm bandit algorithm in the contextual setting on a set of historical data. For simplicity, let's assume there are only two arms A and B and suppose the rewards are ...
1 vote
1 answer
115 views

Do you know this S curve's name?

I'm making a ad-sales predictor and try to make it fit by using the S curve's below. $ 𝑓(𝑥)=𝑎 \frac{𝑏𝑥}{1+𝑏𝑥} (1−𝑒^{−𝑏𝑥}) $ $f(x)$ is an ad-sales $x$ is an advertise cost both $a$ and $b$ ...
  • 21
5 votes
1 answer
2k views

Using simulations to train ML algorithms

Possibly similar question: Is it ok to collect data using algorithm to train another? I have a model that accurately describes an underlying physical, complex, system. The model is basically a set of ...
4 votes
1 answer
1k views

What visualization I should choose for Monte Carlo simulations in timeline events?

I wasn't sure if I should open this question in Cross Validated or here. But since the question belongs to a bigger project related with Data Science, I chose this one. I will present a simplified ...
  • 3,840
6 votes
1 answer
2k views

Modeling uncertainty from Logistic Regression

Logistic regression is a part in a simulation pipeline that I use for some scenario analysis. The dataset that this is based on is not small but relatively noisy, and only one explanatory variable/...
0 votes
1 answer
47 views

Simulating datasets of species abundances with varying degrees of turnover in R

I am working with a data set containing the abundance of 100+ species at 50+ locations over 20+ time-points. I want to simulate equivalent data sets with varying degrees of community turnover i.e. ...
  • 3
17 votes
1 answer
2k views

Visualization of multiple Markov models

I am working on a project where we compare over 10 different Markov models, each representing a different treatment plan. Most often single models are visualized with a decision tree or transition ...
1 vote
0 answers
37 views

Asking a specific question from a general one

Setting I have data about a board game which has been played multiple times with different players per game (though players reoccur in all kinds of different constellations). During the game one can ...
  • 752
1 vote
0 answers
57 views

Convergence line for oscillating trend

I am working with an algorithm studying the response of a system to an external factor (Phenomenon A). The system can either respond perfectly, or can be completely disrupted. I am plotting the ...
  • 239
1 vote
1 answer
83 views

How to simulate customer walk-ins for a given period in a fast food chain in R [closed]

I would really appreciate it if someone could tell me where I would start in tackling the following tasks in R. I'm not a data-science expert and am trying to teach myself data-analysis from a ...
0 votes
1 answer
70 views

Matlab simulation through FIS and Markov Process

I need to simulate for an academical project how the traffic fluxes (input/output with respect to a monitored area, measured in number of cars) of a city area evolves in correspondence of an event (i....
  • 43