Questions tagged [modeling]

Modeling is the constructing and manipulating abstract (mathematical and/or graphical) representations of economic, engineering, manufacturing, social, and other types of situations and natural phenomenon, simulated with the help of a computer system.

Modeling is the construction and manipulation of abstract (mathematical and/or graphical) representations of economic, engineering, manufacturing, social, and other types of situations and natural phenomenon, simulated with the help of a computer system.

2023 questions
488
votes
50 answers

What's the best UML diagramming tool?

I'm trying to choose a tool for creating UML diagrams of all flavours. Usability is a major criteria for me, but I'd still take more power with a steeper learning curve and be happy. Free (as in beer) would be nice, but I'd be willing to pay if the…
eplawless
  • 4,225
  • 7
  • 34
  • 35
199
votes
11 answers

What is the difference between attribute and property?

These seem to mean the same thing. But what term is more appropriate in what context?
caustic
  • 2,658
  • 3
  • 21
  • 13
126
votes
4 answers

Principles for Modeling CouchDB Documents

I have a question that I've been trying to answer for some time now but can't figure out: How do you design, or divide up, CouchDB documents? Take a Blog Post for example. The semi "relational" way to do it would be to create a few…
Lance
  • 75,200
  • 93
  • 289
  • 503
84
votes
3 answers

Modelling a permissions system

How would you model a system that handles permissions for carrying out certain actions inside an application?
James P.
  • 19,313
  • 27
  • 97
  • 155
70
votes
10 answers

XML Attributes vs Elements

When should you use XML attributes and when should you use XML elements? e.g. or foo
user23726
  • 717
  • 1
  • 5
  • 3
55
votes
2 answers

neo4j - labels vs properties vs relationship + node

Any rule of thumb on where to use label vs node property vs relationship + node. Let's have an example, say I have a store and I want to put my products in neo4j. Their identifier is the product sku, and I also want to have a categorization on them…
lorraine batol
  • 6,001
  • 16
  • 55
  • 114
54
votes
4 answers

Domain Driven Design vs Model Driven Architecture

I am curious, what are the differences between Domain Driven Design and Model Driven Architecture? I have the impression they have certain similarities. Could you enlighten me? Thanks
DaJackal
  • 2,085
  • 4
  • 32
  • 48
48
votes
6 answers

What are some great online database modeling tools?

What's your favorite open source database design/modeling tool? I'm looking for one that supports several databases, especially Firebird SQL but I can't find one on Google.
Fredy
45
votes
11 answers

Is there a visual modeling language or style for the functional programming paradigm?

UML is a standard aimed at the modeling of software which will be written in OO languages, and goes hand in hand with Java. Still, could it possibly be used to model software meant to be written in the functional programming paradigm? Which diagrams…
42
votes
4 answers

What's the difference between Data Modelling and Domain Modelling?

By the way - with reference to data modelling I'm referring to logical or conceptual data models - not physical ones. The question came up during a discussion at work; naturally I leapt to Wikipedia to get some basic definitions in place - hoping…
Adrian K
  • 9,880
  • 3
  • 33
  • 59
38
votes
8 answers

How to extract model hyper-parameters from spark.ml in PySpark?

I'm tinkering with some cross-validation code from the PySpark documentation, and trying to get PySpark to tell me what model was selected: from pyspark.ml.classification import LogisticRegression from pyspark.ml.evaluation import…
Paul
  • 3,321
  • 1
  • 33
  • 42
32
votes
12 answers

How to model a Many to many-relationship in code?

Suppose I have 2 tables in a database. eg: Dog & Boss This is a many to many relationship, cause a boss can have more than 1 dog, and a dog can have more than 1 owner. I am the owner of Bobby, but so is my wife. But many to many is not allowed, so…
Natrium
  • 30,772
  • 17
  • 59
  • 73
29
votes
3 answers

How to build a lift chart (a.k.a gains chart) in Python?

I just created a model using scikit-learn which estimates the probability of how likely a client will respond to some offer. Now I'm trying to evaluate my model. For that I want to plot the lift chart. I understand the concept of lift, but I'm…
Abhishek Arora
  • 944
  • 2
  • 10
  • 16
29
votes
3 answers

What is the difference between a domain class diagram and a design class diagram?

Can someone briefly explain the difference between a domain class diagram and a design class diagram? I found a explanation on Yahoo answers, but I find it quite confusing.
user2810895
  • 1,284
  • 3
  • 19
  • 33
27
votes
9 answers

Best practices for consistent and comprehensive address storage in a database

Are there any best practices (or even standards) to store addresses in a consistent and comprehensive way in a database ? To be more specific, I believe at this stage that there are two cases for address storage : you just need to associate an…
Mac
  • 8,191
  • 4
  • 40
  • 51
1
2 3
99 100