Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-04 Thread Pedro Venâncio
R quantile gives the same result of QGIS with this dataset. Please see the comments here: https://issues.qgis.org/issues/21451 Best regards, Pedro Venâncio Tobias Wendorff escreveu no dia segunda, 4/03/2019 à(s) 00:17: > Am Mo, 4.03.2019, 01:02 schrieb Nyall Dawson: > > > > Sure, I don't

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-03 Thread Tobias Wendorff
Am Mo, 4.03.2019, 01:02 schrieb Nyall Dawson: > > Sure, I don't think there was any misunderstanding here. Before you > replied I'd already meant to ask if anyone knew the corresponding R > packages we could check our implementations again. Most of the time, I'm either using standard

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-03 Thread Nyall Dawson
On Mon, 4 Mar 2019 at 09:43, Tobias Wendorff wrote: > > Am So, 3.03.2019, 23:50 schrieb Nyall Dawson: > > > > I'd be interested to hear which R libraries/functions you think give > > better results then QGIS' current algorithms -- it should be trivial > > to port these algorithms back to QGIS! >

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-03 Thread Tobias Wendorff
Am So, 3.03.2019, 23:50 schrieb Nyall Dawson: > > I'd be interested to hear which R libraries/functions you think give > better results then QGIS' current algorithms -- it should be trivial > to port these algorithms back to QGIS! Oops, I didn't want to give the impression that QGIS's algorithms

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-03 Thread Nyall Dawson
On Mon, 4 Mar 2019 at 00:39, Tobias Wendorff wrote: > > Am So, 3.03.2019, 08:31 schrieb Paolo Cavallini: > > You're right, sorry. > > Any way to improve this, perhaps taking a larger sample to reduce > > variation? > > Thanks. > > I've started to use R for all my statistical processing. Natural

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-03 Thread Nyall Dawson
On Mon, 4 Mar 2019 at 02:21, Richard Duivenvoorde wrote: > > On 03/03/2019 11.31, Richard Duivenvoorde wrote: > >>> https://duif.net/temp/QuantileEqualCount2.png > >> I can't reproduce. Maybe data set dependant? > > I've created random data in a geopackage and created an issue for it > > > >

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-03 Thread Richard Duivenvoorde
On 03/03/2019 11.31, Richard Duivenvoorde wrote: >>> https://duif.net/temp/QuantileEqualCount2.png >> I can't reproduce. Maybe data set dependant? > I've created random data in a geopackage and created an issue for it > > https://issues.qgis.org/issues/21451 Mmm, diving into this a little more

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-03 Thread Tobias Wendorff
Am So, 3.03.2019, 08:31 schrieb Paolo Cavallini: > You're right, sorry. > Any way to improve this, perhaps taking a larger sample to reduce > variation? > Thanks. I've started to use R for all my statistical processing. Natural breaks is some kind of kmeans-clustering, but R does natural jenks

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-03 Thread Richard Duivenvoorde
On 03/03/2019 05.28, Nyall Dawson wrote: > On Sat, 2 Mar 2019 at 17:41, Richard Duivenvoorde wrote: ... >> BUT: looking into current code and testing the available break modes I >> happen to look at the Quantile (Equal Count) one with a random dataset I >> had around: .. >>

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-02 Thread Paolo Cavallini
You're right, sorry. Any way to improve this, perhaps taking a larger sample to reduce variation? Thanks. Il 3 marzo 2019 05:33:04 CET, Nyall Dawson ha scritto: >On Sat, 2 Mar 2019 at 22:09, Paolo Cavallini >wrote: > >> we also noticed that for large data sets (tens of thousands records) >>

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-02 Thread Nyall Dawson
On Sat, 2 Mar 2019 at 22:09, Paolo Cavallini wrote: > we also noticed that for large data sets (tens of thousands records) > `Pretty breaks` classification behaves strangely: when clicking on > Classify repeatedly, classes boundaries change by about 10% all the > time, apparently in a random

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-02 Thread Nyall Dawson
On Sat, 2 Mar 2019 at 17:41, Richard Duivenvoorde wrote: > > Hi, > > I've been asked to see if I can add 'logarithmic' breaks to the > GraduatedSymbolRenderer. > I am right that it is missing, yes? > > BUT: looking into current code and testing the available break modes I > happen to look at the

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-02 Thread Richard Duivenvoorde
On 02/03/2019 13.09, Paolo Cavallini wrote: > we also noticed that for large data sets (tens of thousands records) > `Pretty breaks` classification behaves strangely: when clicking on > Classify repeatedly, classes boundaries change by about 10% all the > time, apparently in a random fashion. >

Re: [QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-02 Thread Paolo Cavallini
hI rICHARD, On 02/03/19 08:41, Richard Duivenvoorde wrote: > Hi, > > I've been asked to see if I can add 'logarithmic' breaks to the > GraduatedSymbolRenderer. > I am right that it is missing, yes? > > BUT: looking into current code and testing the available break modes I > happen to look at

[QGIS-Developer] Quantile (Equal Count) broken or is data borked?

2019-03-01 Thread Richard Duivenvoorde
Hi, I've been asked to see if I can add 'logarithmic' breaks to the GraduatedSymbolRenderer. I am right that it is missing, yes? BUT: looking into current code and testing the available break modes I happen to look at the Quantile (Equal Count) one with a random dataset I had around: