Questions tagged [dummy-data]

Placeholder used for operational or testing purposes.

Dummy-data is useless information reserving a operational information is normally present.

Dummy-data may also be used in testing to properly initialize values which are not intended to be evaluated by the test.

http://en.wikipedia.org/wiki/Dummy_data

164 questions
1
vote
1 answer

Tableau combination chart to interact with a "fake" target numbers?

I am trying to create a combination chart with the actual numbers as the bars & the "fake" target as the line. The reason why I call it the "fake" target is because the targets are not in the data. I have them as numbers but I am struggling to…
J A
  • 45
  • 8
1
vote
1 answer

Error loading Caffe model with DummyData layer: "Can't create layer "DummyData1" of type "DummyData1" in function 'getLayerInstance'"

I converted a Tensorflow model to a Caffe model (tf_resnet.prototxt), and I'm now trying to run an object detection counting algorithm (code). However, i get the following error: [INFO] loading model... [INFO] opening video file... Traceback (most…
fendrbud
  • 89
  • 1
  • 11
1
vote
2 answers

NHibernate dummy data

Are there any tools such as http://www.generatedata.com/ which will generate dummy data for NHibernate mappings?
Darbio
  • 11,286
  • 12
  • 60
  • 100
1
vote
3 answers

What is the best way to add dummy data into the "join table" in laravel?

I have two models with many to many relationship, and I did join them with a model with a third table. What is the best way to insert dummy data into the third table without getting sql error for breaking constraints about foreign key chicks? Is…
user10937516
1
vote
1 answer

Create dummy coded columns for a column and concatenate it to the dataset

I am working with a dataset on cell phone churn rates. I am attempting to create a dummy code for a column of state abbreviations in a dataset with a shape of 3333 rows × 20 columns. I need to leave out one of the state dummy coded columns to…
tralford
  • 11
  • 1
1
vote
0 answers

r - Problem with dummyVars when a level is not in test set

I have several training/test partitions. In one partition one variable has only two levels and it is higly imbalanced. The problem is, in the test set there is only one level for all of the rows, and it gives problems As I understand, and works for…
1
vote
1 answer

Creating dummy columns with real values

I have a DF as shown below: DF = id Result 1 Li_In-AR-B 1 Li_In-AR-L 3 N 4 Lo_In-AR-U 5 Li_In-AR-U 6 Or_Ba-AR-B 6 Or_Ba-AR-L 7 N Now I want to create new columns for every unique value in Result before the first "-". Every…
Mi.
  • 510
  • 1
  • 4
  • 20
1
vote
1 answer

Influxdb: Query to create a list from some values

In InfluxDB, how can I create a list of strings/values by using a "SELECT" statement or any other "query" ? My question is same as this question: mysql fake select But, for Influxdb. I'm using latest version of InfluxDB which is 1.2.4
kmonsoor
  • 7,600
  • 7
  • 41
  • 55
1
vote
2 answers

Java Dummy method body?

Is there any convention to use for a dummy method body in Java? for testing purposes for example. Say I have a interface and a method should be implemented in a class implementing that interface but I don't want to implement it yet, what good dummy…
spacing
  • 730
  • 2
  • 10
  • 41
1
vote
1 answer

SPI Protocol Procedure

hey i am using ADS1292 for my own project, and myself is confused with SPI protocol. i found some code on the internet and i found it sends and receive at one time. for example, i want to send 0xFF to slave device. then it sends the data first and…
Heeyos
  • 21
  • 6
1
vote
5 answers

SQL in clause with dummy rows

I'd really like know if it's possible to do a select statement, which returns exactly same records, that we put into in clause? Sample: select * from table where table_id in (1, 2, 3, 666); This table for an example has only id-s from 1 to 100, so…
zigomir
  • 985
  • 2
  • 15
  • 30
1
vote
0 answers

Regression of Continuous variable on nominal variables

Using JMP software, if my dependent variable on the y-axis is a continuous variable "Revenue from Movie" and the predictors are 4 categorical variables ( 1= Action, 2=Comedy, 3 = Kids, 4=Other) then I find that the JMP software always leaves one of…
Utpal Mattoo
  • 890
  • 3
  • 17
  • 41
1
vote
0 answers

Predict linearRidge with dummy variable

I am trying to do a ridge regression using the codes below with GenCont data in the library ridge library(ridge) data(GenCont) GenCont_df <- as.data.frame(GenCont) GenCont_df$SNP1 <- as.factor(GenCont_df$SNP1) mod2 <- linearRidge(Phenotypes ~…
jbest
  • 640
  • 1
  • 10
  • 28
1
vote
2 answers

Perform operations on multiple dummy variables

Given a dataframe, ID <- c("a","b","b","c","c","c","d","d","d") dummy1 <- c(1,0,1,1,0,0,1,1,0) dummy2 <- c(0,0,0,0,1,1,1,1,1) dummy3 <- c(1,0,0,1,1,0,0,1,1) df <- data.frame(ID,dummy1,dummy2,dummy3) ID dummy1 dummy2 dummy3 1 a 1 0 …
rmuc8
  • 2,869
  • 7
  • 27
  • 36
1
vote
5 answers

Determine if sscanf Read Anything with %*s

Say that I have the string: char* foo = " blah blee bleck "; Now say that I want to read and throw away the first two words: int bar = 0; sscanf(foo, "%*s%n", &bar); foo += bar; if(bar > 0) sscanf(foo, "%*s%n, &bar); My question is how can I…
Jonathan Mee
  • 37,899
  • 23
  • 129
  • 288