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
2
votes
2 answers

How to reduce the number of duplicated lines in a xarray?

I would like to remove duplicated line from this xarray: array([[[ 4.9167, nan, ..., 2.1695, nan], [ 4.9167, nan, ..., 2.1695, nan], [ 4.9167, nan, ..., …
2
votes
0 answers

Can k-means clustering be used to define classifications in recognition?

I'm doing a recognition problem (faces) and trying to reduce the problem size. I originally began with training data in a feature-wise coordinate system in 120 dimensions, but through PCA I found a better PC-wise coordinate system needing only 20…
gator
  • 3,465
  • 8
  • 36
  • 76
2
votes
1 answer

Dimensions of array after multidimensional index slicing

I want to slice a multidimensional numpy array (>2 dimensions) along 2 of its axes using index slicing. What are the rules for where each of its original dimensions end up? To illustrate my problem, let me provide an example. Say we have a 4D…
Haminaa
  • 388
  • 1
  • 7
2
votes
0 answers

Array dimension in c++ 11

I have studied in C++ Primer that the dimension of an array should be a const expression but the following code compiles and gives the desired result. Why? #include using namespace std; int main() { unsigned int bufsize = 10; int…
RSSB
  • 144
  • 2
  • 4
  • 14
2
votes
1 answer

In which dimension are x/y offsets specified in showAtLocation() in PopupWindow?

I'm not sure if x and y parameters should be pixels of DensityIndependentPixels. I've tried to get this information from Android's documentation but there's no answer: After digging deeper I've only got more questions: The…
Marcin Wróblewski
  • 811
  • 1
  • 10
  • 25
2
votes
1 answer

Concrete examples on why dimension is not defined for vectors (vectors are dimensionless) in R?

Here: in R, to arise the need to define dimension for a vector, M. JORGENSEN (Dept of Stat, U of Waikato, NZ): "Would it not make sense to have dim(A)=length(A) for all vectors?" B.D. RIPLEY (Dept of Applied Statistics, Oxford, UK): "No. A…
Erdogan CEVHER
  • 1,788
  • 1
  • 21
  • 40
2
votes
1 answer

Fortran Allocate array with size to be read from file

I am reading from a file that contains a value, T, which will be used to initialize several arrays that will take T as the first dimension with allocate later. i.e. subroutine read_file(T,F,array,A,B,C,...) ... real, intent(out) :: T,F …
Jesse Feng
  • 117
  • 9
2
votes
3 answers

Unity, Relative dimensions of gameobjects

I saw some documents saying that there is no concepts of length in Unity. All you can do to determine the dimensions of the gameobjects is to use Scale. Then how could I set the overall relative dimensions between the gameobjects? For example, the…
Pikachu620
  • 483
  • 4
  • 17
2
votes
1 answer

Why curve is 1-dimensional object?

In "OpenGIS® Implementation Standard for Geographic information - Simple feature access - Part 1: Common architecture" is stated: A Curve is a 1-dimensional geometric object that is the homeomorphic image of a real, closed, interval in the…
Timofey
  • 2,478
  • 3
  • 37
  • 53
2
votes
1 answer

Avoid collpasing dimensions when omitting NAs from array

I have an array where I have to omit NA values. I know that it is an array full of matrices where every row has exactly one NA value. My approach works well for >2 columns of the matrices, but apply() drops one dimension when there are only two…
yrx1702
  • 1,619
  • 15
  • 27
2
votes
3 answers

Error when checking input: expected input_19 to have 4 dimensions, but got array with shape (1190, 200, 200)

I am new to CNN and I am not able to identify how to solve this problem. In this code I am training a set of images to obtain mask from convolutional network.the images are grayscale with shape (200,200). I am not able to identify where I am making…
2
votes
1 answer

How to calculate iso_week_start_date and iso_week_end_date for date dimension?

As part of calendar dimension, I need to populate iso_week_start_date, iso_week_end_date and iso_week_number. I have been able to build the calendar dimension except these fields. Thanks.
2
votes
0 answers

Absolute widths and heights in grid.arrange

I am creating a PDF in an R markdown file, and I have the following chunk: PR_googlemap <- get_googlemap(center = c(lon = median(c(-67.95, -65.17)), lat = median(c(17.86, 18.41))), zoom = 9) a <- ggmap(PR_googlemap, extent = "device") + …
John Smith
  • 393
  • 1
  • 6
  • 17
2
votes
1 answer

Determining App's Window/Screen Size

How do you determine the size of a component rather than calculating the sizes of all components including the screen and the parent component's sizes of the component? I have developed a few apps using android 1.6 but all of them are based on the…
2
votes
1 answer

How to calculate *VC dimension* of H in this case?

Let H denote the set of axis-parallel rectangles in Rn. Each rectangle defines a binary classifier that assigns label +1 to points inside the rectangle and label -1 to points outside the rectangle. Each rectangle is defined by an interval [ai,bi]…
Peter
  • 155
  • 2
  • 10