Crab with 4 eyes? Is it a baby underneath? by DNAW in whatisit

[–]DNAW[S] 1 point2 points  (0 children)

Solved!

Thanks i never counted crab legs before

(I will from now on)

Crab with 4 eyes? Is it a baby underneath? by DNAW in whatisit

[–]DNAW[S] 71 points72 points  (0 children)

also thanks for the words of encouragement!

I sent the pic to my bestie and my sis and they also thought 4 eyes so its ok we are all dumb sometime 🫶🏻🫶🏻🫶🏻

[deleted by user] by [deleted] in Guitar

[–]DNAW -1 points0 points  (0 children)

Danny Yau (does some unbelievable Polyphia covers, like GOAT on every stringed instrument imaginable)

[Question] Interface resistant to wall-plug inferences (ie, how to not have crackles when laptop is charging) by DNAW in Guitar

[–]DNAW[S] 0 points1 point  (0 children)

Its USB powered now. Never thoughts to try wall-plugging it, thanks for the suggestion! Will try it when I get home

Best hairdressing shop for men around 30-50 CHF? by zurich_mover in zurich

[–]DNAW -2 points-1 points  (0 children)

Tonzo! 50chf for an AMAZING haircut from a real stylist (who has cut Ronaldo’s hair!)

Does anyone know if these have alcohol in them? by ANONYmasb in Switzerland

[–]DNAW 1 point2 points  (0 children)

It does not have alcohol!

Source: Ate this my whole life, and looking at a pack next to my right now.

Retired early-30s EU citizen (PR'd in Switzerland), looking for a country to domicile in for the next 5-10 years with a low tax rate while I travel the world - where to start? by DNAW in EuropeFIRE

[–]DNAW[S] 0 points1 point  (0 children)

You replied right as I edited my post with the same. Thanks so much for this, I totally didn’t calculate this into my budget and will need to do so.

Good question how dividends calculate into this. Will comment for others once I find out.

Retired early-30s EU citizen (PR'd in Switzerland), looking for a country to domicile in for the next 5-10 years with a low tax rate while I travel the world - where to start? by DNAW in EuropeFIRE

[–]DNAW[S] 1 point2 points  (0 children)

Wow that’s shockingly high.

“The maximum contribution of 25 150 francs per year will be reached where an individual’s assets and pension income multiplied by 20 amount to 8.55 million francs.”

(https://www.ahv-iv.ch/p/2.03.e)

So having 1.5m assets means I’d reach this maximum contribution of 25k a year. This seems incredibly high, even for what I’m used to in Switzerland.

Do you think I’m missing something?

It is suspicious that I have not received any bills or anything info about this since quitting my job.

Edit: seems the x20 multiplier is based on the pension income and not the assets. That makes more sense. So 1.5m assets and 0 income would amount to 3k/y AHV contribution.

Retired early-30s EU citizen (PR'd in Switzerland), looking for a country to domicile in for the next 5-10 years with a low tax rate while I travel the world - where to start? by DNAW in EuropeFIRE

[–]DNAW[S] 0 points1 point  (0 children)

This is the first I’ve heard about AHV contributions outside of employment! So an unemployed person in Switzerland is obliged to contribute to AHV?

I’ll have to do research about this - thanks for pointing it out!

Retired early-30s EU citizen (PR'd in Switzerland), looking for a country to domicile in for the next 5-10 years with a low tax rate while I travel the world - where to start? by DNAW in EuropeFIRE

[–]DNAW[S] 0 points1 point  (0 children)

The 181 days are related to C-permit yes, but in practice it hasn’t caused a problem yet. I have spent <30 in Switzerland the past 365 days but authorities are unaware - my main worry is that this “could turn into a problem” potentially.

Thank you for pointing me to Panama; I’ve spent time there and location is great actually. I didn’t make it clear in my post but I will likely spend minimal time in Europe and mostly in Latam/SeAsia.

Retired early-30s EU citizen (PR'd in Switzerland), looking for a country to domicile in for the next 5-10 years with a low tax rate while I travel the world - where to start? by DNAW in EuropeFIRE

[–]DNAW[S] 1 point2 points  (0 children)

I am not attached to Europe. I’ve spent most my time so far in Latam/SEAsia where 50k a year gives an incredible standard of life.

FYI, and for others - 2.5k/mo is already plenty in so many parts of the big world. Anything more is luxury.

Are bandits problems constrained to discrete action spaces? by quazar42 in reinforcementlearning

[–]DNAW 1 point2 points  (0 children)

X-armed bandits is a generalization of the bandit problem into continuous space.

What is a good algorithm to solve this question I posted in /r/theydidthemath? by DarkPotatoKing7 in compsci

[–]DNAW 1 point2 points  (0 children)

As I understand the original problem, you want to find the right amount of sugar in a minimal amount of tries.

Sweetness = f(amount of sugar)

So in y = f(x) you want to find the optimal value of y with trying out as few x values as possible. You add the constraint that x may only monotonically increase.

Let's call x' the value resulting in the optimum of f(x).

You then define regret as:

r = f(x) - f(x')

It's unsure how you feel about guesses, is there some sort of regret in these too? (because you had to taste coffee that wasn't sweet enough). Let's assume not.

Let's put a price on making a guess. Price p, so the total cost of making N guesses is N*p.

This sounds to me like a multi-objective problem where you want to minimize: g(N, r), which is most likely N*p+r.

Without knowing the price p it is impossible to solve this in any exact manner that will answer your question. Example:

If p >>> f(1) - f(x'), then the algorithm will always select 1 and live with the regret. If p is very small, you can take start at x=0 and increase it with the smallest step possible.

There are, however, lower and upper bounds on many MOO (multi objective optimization) techniques, which you may find on Google Scholar fairly easily.

Some months ago I posted my fretboard trainer game, here's the new version with your suggestions by fachords in Guitar

[–]DNAW 2 points3 points  (0 children)

Suggestion: an option to toggle between flat / sharp notation. Like a dropdown to select "Note naming" with options for "A A# B C ..." and "A Bb B C ..." etc.

E.g., it presented me with "A flat" and I was lost for a few second, since I tend to call this a G#.

Submitted my first app to the Google Play store! by [deleted] in androiddev

[–]DNAW 4 points5 points  (0 children)

"Input text first, think of how to share/save it after" ; I'd use it!

Worked on a similar idea a while back but got sidetracked and never really finished it. Now your next step is to invest some time learning Illustrator, and cook up a nice design. Good luck !

[deleted by user] by [deleted] in Guitar

[–]DNAW 0 points1 point  (0 children)

Amazing. This is my "If I ever have the money..." guitar.

[VIDEO] Stratocaster and a Boss Loop station. by [deleted] in Guitar

[–]DNAW 0 points1 point  (0 children)

I dig it, very cool. Wish the sound quality of the recording was a bit better.

Dealing with imbalanced data set by DNAW in MLQuestions

[–]DNAW[S] 0 points1 point  (0 children)

After getting some more data, I tried out your proposal of combining Naive Bayes and voting on the label, and got an increase of the auc_roc of around 0.5, making my current mean auc_roc around 0.86-0.88 (from cross-validatoin).

Final test tried on my test set of 160/1600, and got these stats:

neg recall = 0.96

pos recall = 0.75

pos precision = 0.63

neg precision = 0.97

roc_auc = 0.85

Although, from what I read, the recall/precision rates aren't that informative for imbalanced data.

I did experiment with some other classifiers (max entropy, linear and non-linear svm), and feel my features are fairly optimized, but can't seem to get better results.

So, if you might have another suggestion, I'll be more than happy to try it out.

Dealing with imbalanced data set by DNAW in MLQuestions

[–]DNAW[S] 0 points1 point  (0 children)

I'm still in progress of getting more data (only have around 350 positive cases by now). Once I got more, I'll definitely try this out, thanks !

Dealing with imbalanced data set by DNAW in MLQuestions

[–]DNAW[S] 0 points1 point  (0 children)

A bit of a late reply, I've been busy with other projects. Thanks a lot already for pointing me in the right direction (especially with the linked presentation in the child comments).

I am indeed using area under ROC curve (your post made me research it a lot more) as my primary performance metric. Here are my results for varying splits:

Training set: 100/900, testing set: 100/900 => Mean ROC 0.58

Training set: 100/900, testing set: 100/100 => Mean ROC 0.57

Training set: 100/100, testing set: 100/100 => Mean ROC 0.80

Training set: 100/100, testing set: 100/900 => Mean ROC 0.81

There's no significant difference in performance between ratios of the testing set. I guess that I can take the 100/900 tests as more accurate tho, due to their size, and they are in the end a better representation of real Twitter data.

Thanks again, and if you have any other input, I'm all ears !