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

Android- View height is changing during the running time

I am trying to create dynamic buttons at the center of spesific areas of the ImageView. To figure out center of any area, I am using this function: TextView createButton(int i, String[] boundingBoxArray) { String[] coorArray =…
ACAkgul
  • 188
  • 2
  • 11
-1
votes
2 answers

SSAS dimension from two DSV

please, can I create a dimension from two different Data source views in one cube ? I had one AS DB in it one dsv and one cube now I want create another cube based on other dsv but with same dimension date used tables are wuth same structure joined…
nikos
  • 11
  • 2
-1
votes
2 answers

Python dimension mismatch for multiplication

I have a few variables listed below. How come I receive the error message at the bottom when I try to run this block of code? Ind_var[i,:] should be of shape (1,2) so by matrix multiplication (1,2) * (2,2) is (1,2)? Sorry I'm new to python. import…
A1122
  • 1,324
  • 3
  • 15
  • 35
-1
votes
1 answer

R - subsets of matrix gives incorrect dimension

I'm a newbie regarding R, but after struggling with this problem for quite some time I'm searching for help: I have a matrix: > is.matrix(Ls) [1] TRUE > Ls Start Duration newrow_fin "1014507296" "133.313" newrow_fin…
-1
votes
1 answer

Create matrices from strings in a cell-array

I have a string S1='ACD'. I generate the matrix based on the S1 as follows: fullSeq = 'ABCD'; idx = find(fullSeq == setdiff(fullSeq, 'ACD')); % it is OK M(:,idx) = 0.5 M(idx,:) = 0.5 M(logical(eye(4))) = 0.5 The output is OK: M = 0.5000 …
kgk
  • 649
  • 1
  • 10
  • 23
-1
votes
2 answers

3D array assigning values

Can I use the following format to simplify assigning values in java to a 3D array if possible then how? int [][][]array = new int[3][][]; array[0] = new int [4][5]; array[1] = new int [5][5]; array[2] = new int [3][5]; …
NoOoNY
  • 15
  • 4
-1
votes
1 answer

2d dimensions to kilometers javascript

Currently i am working on a project and i need to calculate the distance in kilometer between 2 locations with 2d dimensions. I would love to see an javascript example I made a http://jsfiddle.net/ym2sn70u/5/d f k f with a example. I like to have…
-1
votes
1 answer

Toolkit.getDefaultToolkit() method returns null, how can I fix it? I want to get screen width and heigth

Toolkit.getDefaultToolkit() method returns null, how can I fix it? I want to get screen width and height like this -> Dimension screenSize = (Dimension) (Toolkit.getDefaultToolkit().getScreenSize()); int creenHeight = screenSize.height; int…
needermen
  • 43
  • 1
  • 8
-1
votes
1 answer

Load border from xml with dimension

I have an xml file where have a few areas border defined. The problem is that border points for each area is not defined by many tag's lat lon lat lon lat lon lat lon >/point> but in one…
-1
votes
1 answer

Handle Dimensionality when Clustering

How can I perform a cluster analysis (e.g. kmeans, complete link,etc) when objects are represented by vectors of different sizes? For example, Object 1 is represented by a 4-dim vector, Object 2 by 6-dim vector, Object 3 by 3-dim vector, etc... Is…
Nana89
  • 432
  • 4
  • 21
-1
votes
1 answer

MDX Measure for Whole Previous Month (or previous month average day value)

I have a fairly standard Date dimension with Fiscal Hierarchy FiscalYear -> FiscalQuarter -> FiscalMonth -> FiscalWeek -> Date I'm trying to define an MDX expression to find the month member from any point in the cube. In other words, whatever the…
Mitch Wheat
  • 295,962
  • 43
  • 465
  • 541
-1
votes
1 answer

average of java.awt.Dimension

Guys sorry if this would sound a bit embarrassing. Can anyone help with how to calculate average dimension of image sizes. Dimension d = new Dimension (d); //where: int width = (int)d.getWidth int heigth = (int)d.getHeigth ===> image size =…
K. Sun
  • 1
  • 4
-1
votes
1 answer

MatLab: Index Exceed Matrix Dimension

I have following 10 fold implementation, I am using data set publish by UCI Machine learning, Here is the link for the data set: Here are my dimensions x = data: [178x13 double] labels: [178x1 double] This is the error that I am…
add-semi-colons
  • 18,094
  • 55
  • 145
  • 232
-1
votes
1 answer

Sort Multi dimensional array

Possible Duplicate: Sort a multi-dimensional array How to sort the following array? array_multisort doesn't seem to do the job. Array ( [2009] => Array ( [name] => 2009 [20100923WO2010107543A2] =>…
saini
  • 3
  • 1
-2
votes
1 answer

Negative dimension size caused by subtracting 2 from 1 for 'max_pooling3d_10/MaxPool3D' (op: 'MaxPool3D') with input shapes: [?,1,240,135,512]

InvalidArgumentError Traceback (most recent call last) ~\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py in _create_c_op(graph, node_def, inputs, control_inputs) 1863 try: -> 1864 c_op =…
985674123
  • 1
  • 2