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
26
votes
1 answer

Is there a better reference for r formulas than ?formula?

There are many redundant, and sometimes conflicting, ways of specifying formulae in R. Is there a comprehensive yet concise reference for mapping a conceptual models to R syntax than ?formula? I am interested in a broad overview, including the…
Abe
  • 12,956
  • 12
  • 51
  • 72
25
votes
4 answers

What are the key components and functions for standard model objects in R?

I have implemented a new statistical model in R and it works in my sandbox, but I would like to make it more standard. A good comparison is lm(), where I can take a model object and: apply the summary() function extract the coefficients of the…
Iterator
  • 20,250
  • 12
  • 75
  • 111
24
votes
1 answer

Three.js - Scale model with scale.set() or increase model size?

What is the best practise for scaling 3d models in Three.js (or other 3d renderers)? Here is an example I just faced: I load a model in and realise the size of the model is too small. I then scale the mesh using mesh.scale.set(2,2,2); and it is…
jskidd3
  • 4,609
  • 15
  • 63
  • 127
23
votes
7 answers

What are some best object-oriented design practices?

I didn't find any question that would be this general. Please post whatever you find to be a useful rule for oject-oriented design.
Vojto
  • 6,901
  • 4
  • 27
  • 33
21
votes
3 answers

Recurring Events Database Model

I've being searching for a solution for recurring events, so far I've found two approaches: First approach: Create an instance for each event, so if the user has a daily event for one year, it would be necessary 365 rows in the table. It sounds…
Leonardo Lobato
  • 1,047
  • 2
  • 9
  • 22
21
votes
4 answers

Difference between Sequence Diagram (SD) and a System Sequence Diagram (SSD)?

I'm working on a project for a grad class and still having trouble wrapping my head around them. What is the difference between a sequence diagram (SD) and a system sequence diagram (SSD)? And in what order should they be developed when working on…
Joshua Aslan Smith
  • 335
  • 1
  • 2
  • 12
20
votes
4 answers

Difference between a subsystem and a component

I would like to ask what is the difference between a subsystem and a component in the UML sense?
WebMonster
  • 2,981
  • 2
  • 22
  • 29
20
votes
13 answers

Is UML a programming language?

Could UML be used to program a computer system on its own, without a supporting implementation language, e.g. diagrams straight to machine code (maybe via C or C++ etc), without human coding intervention.
WeNeedAnswers
  • 4,620
  • 2
  • 32
  • 47
20
votes
5 answers

dynamic data model

I have a project that requires user-defined attributes for a particular object at runtime (Lets say a person object in this example). The project will have many different users (1000 +), each defining their own unique attributes for their own sets…
James
  • 251
  • 3
  • 6
19
votes
9 answers

Free/cheap PowerDesigner alternative?

We are using PowerDesigner at work for database modelling. But there is a hell of a price tag on that piece of software. And frankly, all I use is physical diagrams for MS SQL, which is about 1% of what PD knows. Are there any good alternatives? I…
David Vidmar
  • 3,042
  • 6
  • 29
  • 35
19
votes
3 answers

Comparison of GAMS versus AMPL Algebraic Modelling Languages

I'd be interested in getting the opinion from users of GAMS and AMPL on what the strength and weaknesses of each these languages are.
Emmanuel
  • 3,475
  • 6
  • 29
  • 45
19
votes
3 answers

UML Diagram to Model API

I need to create a diagram to document a RESTFul API that build, which UML diagram should I use? Thanks in advance,
Hugo
  • 6,244
  • 8
  • 37
  • 43
19
votes
6 answers

differences between sequence diagram and collaboration diagram

As i read through UML specification superstructure that there is sequence diagram and there is a collaboration diagram so,What is the differences between sequence diagram and collaboration diagram?
Carlos
  • 1,522
  • 5
  • 14
  • 26
18
votes
11 answers

Should a database table always have primary keys?

Should I always have a primary key in my database tables? Let's take the SO tagging. You can see the tag in any revision, its likely to be in a tag_rev table with the postID and revision number. Would I need a PK for that? Also since it is in a rev…
user34537
18
votes
6 answers

Should Model Objects Have Interfaces?

I am creating the domain model in my system. When designing my model objects, should I make interfaces for each entity object? People have told me that our web tier should not care about the implementation of an entity and we should be able to…
sma
  • 9,449
  • 8
  • 51
  • 80