Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 116 117 [118] 119 120 ... 222

Author Topic: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06  (Read 1003405 times)

Badger Storm

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1755 on: November 02, 2014, 07:31:40 am »

Will the 40.10 version work okay with 40.14?
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1756 on: November 02, 2014, 08:22:38 am »

Probably not. Which platform are you using?
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

sv-esk

  • Bay Watcher
  • sorry for my bad english
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1757 on: November 02, 2014, 08:23:20 am »

Will the 40.10 version work okay with 40.14?
Try to copy v040.14.ini file from "operating system name" folder from  https://github.com/splintermind/Dwarf-Therapist/tree/DF2014/share/memory_layouts
to      \Dwarf Therapist\share\memory_layouts\"operating system name"\    folder on your computer.
If not working, or you want v28 (see patch notes https://github.com/splintermind/Dwarf-Therapist/wiki/Change-Log) ask here somebody to compile v28 for your OS.
Or try yourself https://github.com/splintermind/Dwarf-Therapist/blob/DF2014/BUILDING.rst
(if already compiled for osx and linux why no links on first post?)

------------------------
dwarf-therapist v28 for 0.40.14 linux(*.deb) i386    qt5
http://www.mediafire.com/download/x75jomdr7jjlwar/dwarf-therapist_28.0-1_i386.deb
« Last Edit: November 02, 2014, 03:01:28 pm by sv-esk »
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.27.0 | DF 40.13
« Reply #1758 on: November 02, 2014, 07:06:41 pm »


[Geometric Mean]
...
  AWa * BWb * CWc * DWd

where Wa + Wb + Wc + Wd = 1. Though I suspect this won't be what you actually need, either.

Maklak recommending something similar.

(a^wa * b^wb * c^wc)^(-3*(wa+wb+wc))

Spoiler (click to show/hide)

Update
I think I got what I wanted

thanks to this doc http://bit.csc.lsu.edu/trianta/EditedBook_CHAPTERS/EEEE1.pdf

and others reminding me that dividing by the numbers I factor against cancel each other out... I need to raise the value by a power equal to it's weight, and factor these values against each other.

But I did have to modify the formula

(a^weight)*(b^weight)*(c^weight)
drop any dividing, gives me a rankable list to derive %'s from.

http://dffd.wimbli.com/file.php?id=10014
« Last Edit: November 02, 2014, 08:25:29 pm by thistleknot »
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1759 on: November 02, 2014, 07:09:44 pm »

« Last Edit: November 02, 2014, 09:29:47 pm by lethosor »
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1760 on: November 02, 2014, 09:07:52 pm »

I don't wish to keep spamming this thread, but... DT has a secondary feature known as a Multi-Criteria Decision Analysis system.  That's the Role % that is derived and used in the Labor Optimizer.

the larger conversation I'm hoping to have here is...

I'm proposing changes to how that operates by introducing a

Weighted Product method.

alongside a

Weighted Average method

Then averaging the relevant ranks [represented as %'s] of the weighted product method along with the ~[relevant ranks of the] weighted average method to produce a new final output %.  so [a + b] / 2 = c

I'm trying to have that conversation with the spreadsheet document I posted.

I don't know if combining two MCDA methods into one system is a good idea, maybe it is.  Any objections, does anyone care?  Is Weighted Average good enough?

Update
Quote
Let us assume that we evaluate solutions in a specific problem situation using several criteria. Let us further assume that more is better in each criterion. Then, among all possible solutions, we are ideally interested in those solutions that perform well in all considered criteria. However, it is unlikely to have a single solution that performs well in all considered criteria. Typically, some solutions perform well in some criteria and some perform well in others. Finding a way of trading off between criteria is one of the main endeavors in the MCDM literature.
Mathematically, the MCDM problem corresponding to the above arguments can be represented as

        "max" q

        subject to

            q ∈ Q


I'm hoping to expand q, but I'm not sure if I'm going about it the correct way, is averaging these two comparative methods a good idea?
« Last Edit: November 02, 2014, 09:13:43 pm by thistleknot »
Logged

Chimerat

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1761 on: November 03, 2014, 06:42:45 am »

Just in case I missed a feature somewhere (because DT has a lot :))), is there any way to check relationships between Dwarves? For examples, my Expedition Leader and Doctor are apparently holding mutual grudges, and none of my other Dwarves are more than "Friend" or "Friendly Terms" with each other.

But I didn't know about the grudge until I was individually checking my seven to see if anyone was getting interested in another Dwarf.
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1762 on: November 03, 2014, 10:17:13 am »

so I checked out geometric mean and was comparing it and seeing how different values/weights affect the output

However. I forgot a very important step in weighted models...

Raising #'s to their nth power gets tricky with weights when the power switches from fractions to whole numbers.

I found the behavior when .3 ^ by .25 or 1.5 weight.

.3 gets BIGGER when raised by .25 but smaller when raised by 1.5

and numbers above 1 get the opposite treatment.

ex .3 ^ .25 = .74
ex .3 ^ 1.5 = .16

ex 2 ^ .25 = 1.18
ex 2 ^ 1.5 = 2.82

I just realized that raising #'s in a weighted product model requires one to set the weights to proportions...

the excel formula I have is this:
((a^weighta)*(b^weightb)*(c^weightc))^(1/(count(weights)))

Supposedly the #'s don't need to be normalized against each other, but the weights need to (i.e. sum of weights = 1).

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1763 on: November 03, 2014, 10:22:34 am »

Just in case I missed a feature somewhere (because DT has a lot :))), is there any way to check relationships between Dwarves? For examples, my Expedition Leader and Doctor are apparently holding mutual grudges, and none of my other Dwarves are more than "Friend" or "Friendly Terms" with each other.

But I didn't know about the grudge until I was individually checking my seven to see if anyone was getting interested in another Dwarf.
no, there's currently no way to view the relationships between dwarves.

Chimerat

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1764 on: November 03, 2014, 02:43:01 pm »

no, there's currently no way to view the relationships between dwarves.
Okay. Thanks for confirming that. :) Sometimes I miss features because I don't know where to go looking.
Logged

lxnt

  • Bay Watcher
    • View Profile
    • pm:full_graphics
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1765 on: November 03, 2014, 03:56:31 pm »

Is everyone here running debug builds? Because I get bitten by

Code: [Select]
QSpiAccessible::accessibleEvent not handled:  "2"  obj:  QMessageBox(0x1553bd0) ""
FIXME: handle dialog start.

every time I rebuild the therapist and forget the -f Makefile.Debug part.

System's xubuntu 14.04.1

« Last Edit: November 03, 2014, 03:58:54 pm by lxnt »
Logged

Hello71

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1766 on: November 04, 2014, 01:56:45 pm »

Is everyone here running debug builds? Because I get bitten by

Code: [Select]
QSpiAccessible::accessibleEvent not handled:  "2"  obj:  QMessageBox(0x1553bd0) ""
FIXME: handle dialog start.

every time I rebuild the therapist and forget the -f Makefile.Debug part.

System's xubuntu 14.04.1

1. make debug
2. debug builds are automatically done through travis ci; I also use them by default when developing. however, I haven't had the time yet to test 28.0.
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1767 on: November 04, 2014, 02:47:34 pm »

Spoiler: context (click to show/hide)

I redid all the roles using raw values vs transformed values as inputs for a weighted geometric mean.  I dropped the file size down by a 3rd

and cleaned up a lot of the sheets.

http://dffd.wimbli.com/file.php?id=10023

Please, if you have time, I'd love anyone to see if I f'd it up.

It currently generates 100 Monte Carlo dwarf's with varying skills, traits, and attributes.

It appears to produce a comparative relationship.

The first 4 sheets are the important "results"
sheet 1 = global variables and the final generated roles
sheet 2 - 4 = 3 pre-defined roles (They are editable, so one can make any role of up to 5 input vars) and how the raw values are fed into them to produce a weighted geometric mean.

**Update**
Much easier way to view the way the changes affect things
http://imgur.com/IuLdwjQ

I think the reason it works is because it's like finding the volume of a 3d area (but not limited to just 3d) (height * width * length), but finding a volume's center I guess.  When all the values are combined [using a WGM role setup] into single role matrix; all the dimensions comparable statistics like min, max, mean, median, etc, are built into the 1 dimensional output: the role matrix.

**Update**
I updated the setup to include virtual preferences.
« Last Edit: November 05, 2014, 03:53:10 pm by thistleknot »
Logged

lxnt

  • Bay Watcher
    • View Profile
    • pm:full_graphics
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1768 on: November 05, 2014, 05:03:31 pm »

1. make debug
2. debug builds are automatically done through travis ci; I also use them by default when developing. however, I haven't had the time yet to test 28.0.

Yeah, make debug. Whatever.

The question was - is the release build known to be broken?

Chimerat

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.28.0 | DF 40.14
« Reply #1769 on: November 05, 2014, 07:42:22 pm »

I got to play a few hours of DF over the last few days and I have to say that I love the ability to set animals to be butchered from DT itself. Much easier than trying to scroll the menus in game.

EDIT: And now I see that there's a new update up today. Cool. Trading tweaks. (Though I'd still love a way to just search for something in the caravan. *sighs*)
« Last Edit: November 05, 2014, 07:45:43 pm by Chimerat »
Logged
Pages: 1 ... 116 117 [118] 119 120 ... 222