Questions tagged [dimension]

In physics and mathematics, the dimension of a space or object is informally defined as the minimum number of coordinates needed to specify any point within it. In the dimensional modeling, a dimension is a table in a star schema of a data warehouse. It is collection of reference information about measurable event. Dimensions categorize and describe data facts and measures in way that support meaningful answers to business questions.

Dimension table

A dimension is a table in a Star Schema or Snowflake schema of a data warehouse. It is collection of reference information about measurable event. These events are known as facts and stored in a fact table. Dimensions categorize and describe data warehouse facts and measures in way that support meaningful answers to business questions. They form the core of dimensional modeling.

Dimensions provide the "who, what, where, when, why, and how" context surrounding a business process event. Every dimension table has a single primary(surrogate) key. The primary key is embedded as a foreign key in any associated fact table. Dimension tables are usually wide, flat denormalized for analyzing data.

Links

782 questions
-1
votes
1 answer

SSAS Tabular - No relation between fact table and 2nd Date dimension

I have 2 date fields in my fact table start_date and end_date. Fact table is connected to the dim date with start_date. I need to slice data by the second date field so I've created another date dimension similar to the first dim date and connected…
-1
votes
1 answer

How to implement getting loss with pytorch on NLP?

I'm studying about NLP with just simple toy project(just gernerating text) with pytorch. While i'm referencing some example code on online, got a problem i can't understand. Here are codes (some codes has been omitted and are not completed…
GE LO
  • 107
  • 1
  • 4
-1
votes
1 answer

Defining dimension of NMT and image captioning with attention at the decoder part

I have been checking out models with attention in those tutorials below. https://www.tensorflow.org/tutorials/text/nmt_with_attention and https://www.tensorflow.org/tutorials/text/image_captioning In both tutorials, I do not understand the defining…
-1
votes
2 answers

Python, How can I stack a 2D array into a 3D array

Now,i have a 3D(c) array and a 2D(b) array,i want to make a new 3D(d) array, so what shall I do? : c=np.array([[[1, 2, 3],[2, 3, 4]],[[1, 2, 3],[2, 3, 4]]]) c.shape (2, 2, 3) a=np.array([[1, 2, 3],[2, 3, 4]]) a.shape (2, 3) d=np.array([[[1, 2,…
huahua520
  • 41
  • 2
-1
votes
2 answers

What does the method setSize(new Dimension(1024, 768)) does in Selenium?

I have a task and it has this sentence "The automated tests should run in a browser resolution of 1024x768px" This is how I understand it, by setting the browser size into 1024, 768 resolution. driver.manage().window().setSize(new Dimension(1024,…
-1
votes
1 answer

How could I improve my code for printing to a text file in C?

I'm working with the open-source thermal simulator HotSpot 6.0, I seek to extract the dimensional parameters -x and -y onto a text file to use for a new thermal modeling tool. I've tried terminal printing x and y locations: fprintf(stdout,…
-1
votes
1 answer

Woocommerce include custom dimension into $product class

Situation: A Woocommerce product object typically holds an array dimensions with raw x y z values. $product = [ 'dimensions' => [ 'length' => 1, 'width' => 1, 'height' => 1 ], 'dimensions_html' => '1 x 1 x 1 cm', ... Using…
moritzebeling
  • 233
  • 1
  • 4
  • 8
-1
votes
3 answers

const variable not recognized as array dimension

long AnsiString::pos(const char* plainString) const { const size_t patternLength = strlen(plainString); if (patternLength == 0) return -1; size_t stringLength = count; int partialMatch[patternLength]; // int* partialMatch = new…
-1
votes
1 answer

FFMPEG error when making animations with certain frame dimensions

I have been using ffmpeg to successfully generate animations of png images with a size of 7205x4308 with the following command: -framerate 25 -f image2 -start_number 1 -i fig%4d.png -f mp4 -vf scale=-2:ih -vcodec libx264 -pix_fmt yuv420p…
jtam
  • 814
  • 1
  • 8
  • 24
-1
votes
1 answer

Maximum possible measure and dimension in SAP UI5 Viz Chart (Line, Stacked Bar, etc.)?

Working with SAP UI5 Viz chart (Line, Bar, Stacked-bar, pie, waterfall etc.). I am trying to make Line chart with 4 measure with 2 dimension and Stacked-bar with 5 measure with one dimension. But in Line can see only two lines (but 4 measure title…
Suman Biswas
  • 169
  • 3
  • 7
  • 20
-1
votes
1 answer

Incompatible dimensions [scilab] or [Matlab]

i want to test this program with scilab, but when i run it, i get this error : ATTENTION: Transposition of the line X vector to obtain compatible dimensions plot2d: Wrong dimension of input arguments: Incompatible dimensions. here is the program :…
-1
votes
1 answer

How to find products which have at least one different dimension ?

I have a very simple table with product_id of a product and its height, width, and depth. Product_id can exist multiple times in a table which I'm using, hence I've used distinct statement. However, the combination of height, width and depth for a…
-1
votes
1 answer

Is it faster to write one line for all margin sides in css?

I always try to use the single-line approach to declare e.g. the margin of an element. margin: || || || I was wondering if this actually runs faster than the four-line approach. margin-top:…
Dirk Swaapt
  • 17
  • 1
  • 4
-1
votes
1 answer

How to show totals of a measure if the dimension is not part of the fact table in OBIEE

I hope someone has a clue how to solve this issue. I have two fact tables one with revenue per company, year, catalogue_no and revenue and the other with company, year and customer_base. I want to combine these measures in an analysis but the…
Joe Data
  • 1
  • 2
-1
votes
1 answer

Visualizing N-dimensions on a graph

I have been conducting my thesis lately, and in the first stage I do some form of clustering in order to generate K user-specified clusters. The size of the input matrix that I cluster is N*M. Where N is the population and M are the samples. After…
Pavlos Panteliadis
  • 1,495
  • 1
  • 15
  • 25