Skip to main content

Questions tagged [simulation]

The tag has no usage guidance.

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

Elastic Net alpha value using GLMNET 4.1-8

Is it a valid method to β€œbrute force” the alpha value for an elastic net? What I mean is trying alpha = .1, .2, .3, .4 and so on to 1.0 and looking at the highest R-squared value of each and choosing ...
user162172's user avatar
0 votes
0 answers
19 views

Sample Size for Adaptive Lasso

Be gentle, I'm learning here. I have a fairly simple adaptive lasso regression that I'm trying to test for a minimum sample size. I used cross-validated mean squared error as the "score" of ...
JRDubbleu's user avatar
0 votes
0 answers
22 views

Mplus Monte Carlo Sim w/Covariates

I have an Mplus INP file with which I am running a Monte Carlo sim for a latent class analysis. I have the class solution working properly, but I genuinely cannot figure out how to add in covariates ...
JRW's user avatar
  • 1
0 votes
0 answers
48 views

How to simulate from bivariate time series using VAR in R?

Background I've run into a problem while trying to simulate from an existing time series using a VAR. My aim is to simulate future "trajectories" which I'd like to integrate in an existing ...
ionatura's user avatar
0 votes
1 answer
31 views

How should I approach generating recommendations for fish stock management?

I've been asked to "Model and study the size and age composition of fish populations as dynamical systems for a given area and generate recommendations for seasonal fish stock management based on ...
user18937561's user avatar
0 votes
1 answer
57 views

How to implement a custom loss with a non-mathematical operation (simulation) that backpropagates with PyTorch?

I am writing a Neural Network, which output is not used directly for the loss-function, but rather as the input for a simulation model. After the simulation ran, I am using the simulated_value and the ...
zenia's user avatar
  • 1
0 votes
1 answer
51 views

How do I implement convolution partially on my dataset?

I'm training a neural network on the results of a CFD simulation (or rather, 300-ish simulations with different initial conditions). The dataset contains the values for temperature, density, velocity, ...
Sisyphus's user avatar
1 vote
0 answers
42 views

Can you do a power analysis to determine the sample size for a virtual species simulation which is modeled using random forests?

I am simulating virtual species on a 100x100 grid (the size for now). Each grid layer represents one environmental variable. The "suitability function" defines the probability of a presence ...
Kyle's user avatar
  • 111
1 vote
0 answers
63 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 ...
dzheng1887's user avatar
0 votes
0 answers
50 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 ...
Trojan's user avatar
  • 101
0 votes
0 answers
64 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 ...
Brzoskwinia's user avatar
1 vote
1 answer
49 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 ...
user3739400's user avatar
2 votes
0 answers
20 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 ...
user126806's user avatar
1 vote
0 answers
12 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 ...
user221200's user avatar
0 votes
1 answer
109 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 ...
Oliver Foster's user avatar
1 vote
0 answers
28 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 ...
Kevin's user avatar
  • 11
1 vote
0 answers
334 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 ...
diyImma's user avatar
  • 181
1 vote
1 answer
36 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 ...
maindola's user avatar
2 votes
2 answers
2k 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 ...
Shiv_90's user avatar
  • 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. ...
Kartikeya Sharma's user avatar
3 votes
2 answers
329 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 ...
Wiesel's user avatar
  • 51
2 votes
0 answers
220 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 ...
Wiesel's user avatar
  • 51
8 votes
3 answers
6k views

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

I have the following three datasets. ...
Kartikeya Sharma's user avatar
5 votes
1 answer
287 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 ...
I_Don't_Code's user avatar
2 votes
0 answers
60 views

ML/Statistical Model to Analyse the Distribution

Consider a Sample Data-set provided below; ...
James's user avatar
  • 65
2 votes
1 answer
797 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 ...
Pavan Sangha's user avatar
1 vote
1 answer
119 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$ ...
Kyo's user avatar
  • 21
5 votes
1 answer
3k 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 ...
electrique's user avatar
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 ...
Tasos's user avatar
  • 3,930
6 votes
1 answer
3k 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/...
Jan van der Vegt's user avatar
0 votes
1 answer
64 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. ...
Hannah's user avatar
  • 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 ...
Andrew Brown's user avatar
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 ...
Make42's user avatar
  • 752
1 vote
0 answers
65 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 ...
FaCoffee's user avatar
  • 239
1 vote
1 answer
86 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 ...
mayo naise's user avatar
0 votes
1 answer
76 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....
Daniel's user avatar
  • 43