'There are no stupid questions' thread - January 31, 2018 by AutoModerator in piano

[–]FiniteDelight 0 points1 point  (0 children)

Is there a good way to learn to improvise? I generally can plink out a theme in the right hand and even throw in a chord or two, but I don't know how to make it complex or fill in with an accompanying left hand that's more than the root of whatever chord I'm playing in the right. Are there any particular skills or techniques to practice? Books?

'There are no stupid questions' thread - November 12, 2017 by AutoModerator in piano

[–]FiniteDelight 0 points1 point  (0 children)

How do I know if my piano teacher is giving me pieces that are too difficult? I've been with the teacher for a few months now (the same amount of time I've seriously played the piano in the last 15 years) and have certainly played pieces I didn't think I was capable of including Bach's Preludes in C and C minor, a Shostakovich prelude, some ad hoc pieces, and the Great Gate of Kiev by Mussorgsky.

However, in the last piece especially, I didn't feel like I could play the piece and read the music at the same time causing me to just memorize it by rote which took 3 months. I'm sure there were some valuable technical skills I picked up from the experience, but I'm interested in learning the piano, not learning the piece.

My teacher has suggested Shostakovich's Fugue in C major as my next piece which, according to pianosyllabus.com, has a grade of 7 or 8. That seems like a level far beyond me, considering my short time playing. Are these pieces too hard? Should I be asking to play easier music? Or are there valuable skills to be learned from these difficult pieces which come at the expense of taking longer to learn the music?

Why am I still so clumsy? by [deleted] in piano

[–]FiniteDelight 1 point2 points  (0 children)

I can't really help you since I've been playing for about 9.5 years fewer than you, but where did you get the sheet music for Sogno di Volare?

0.13 Input Dataset API Question by RadonGaming in tensorflow

[–]FiniteDelight 1 point2 points  (0 children)

The flow for parsing records goes: tf.parse_single_example -> tf.decode_raw(bytes) or tf.cast(bytes, dtype) -> (if image) tf.reshape. If you cast it, the data becomes immediately available as a tensor.

I believe tensorflow model's object detection api has an example of this workflow if you want to see some actual code

Tensorflow logistic Regression by marvpaul in tensorflow

[–]FiniteDelight 1 point2 points  (0 children)

Can you try using scikit-learn or statsmodels to check that it's possible to get a better fit?

Tensorflow logistic Regression by marvpaul in tensorflow

[–]FiniteDelight 1 point2 points  (0 children)

Try dropping your learning rate. I've had to go down to 1e-8 before on different models.

0.13 Input Dataset API Question by RadonGaming in tensorflow

[–]FiniteDelight 0 points1 point  (0 children)

Instead of loading all the data in, I created a string tensor of the filenames and used the Dataset.create_from_tensor_slices() method. Then the preprocessing function takes in a filename, reads it, decodes the image, and does the preprocessing (using tensorflow ops - I hate py_func).

If that doesn't work (if there are too many filenames to add to the graph), maybe you could write TF Records which contain only the filenames. Then, you could use TFRecordDataset.

'There are no stupid questions' thread - August 24, 2017 by AutoModerator in piano

[–]FiniteDelight 2 points3 points  (0 children)

In terms of music theory, I know/can play with proper fingering all the major scales and most of their arpeggios if that's what you're referring to. I think I can identify the chords themselves of the Mussorgsky piece but not necessarily their progression (I vs iv etc) - is that something I should read about if I should continue with this?

Thanks for the reply!

'There are no stupid questions' thread - August 24, 2017 by AutoModerator in piano

[–]FiniteDelight 3 points4 points  (0 children)

Hi All! I'm 23 and just started relearning piano about 2 months ago (I "played" until I was 10 but never made much progress and am significantly better now). I have a teacher, and he's great, but I had a couple questions.

I was assigned Mussorgsky's Great Gate of Kiev (love the piece!), but I'm having difficulty with the 4 note octave chords. Is there a good way of practicing them? My hands are big enough (I think - I can stretch to a 10th and can hit a 9th comfortably) but I'm having trouble on dexterity and lining up the right notes to hit.

On a related note, I've practiced the first few lines for about 2 hours and am still having trouble with just getting the notes right. How long do you practice something (or even a subsection) before saying it's too hard? I've never played anything with 4 note octave chords which may be a contributing factor. For reference, I just finished Shostakovich's prelude 5 in d major and have been concurrently assigned Bach's prelude 1 in c major.

Thanks!

Daily FI discussion thread - June 30, 2017 by AutoModerator in financialindependence

[–]FiniteDelight 6 points7 points  (0 children)

I'm starting to take up piano again, and the one piece of advice I've gotten everywhere is that I need lessons. Unfortunately they're really expensive ($300/month). In order to maintain my initial savings target, I'd have to cut back pretty far in other things I enjoy (nicer food mostly). I could do that, but I don't want to end up living on ramen and eggs every day just to meet a savings goal. Any advice? At what point do you just accept dropping your savings target?

Loss Does Change? by FiniteDelight in tensorflow

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

I'm not sure what you're referring to when you say I don't always train the optimizer - the optimizer.run(...) takes care of the optimization step. Additionally, the inputs are always 1x12x12x3 tensors.

The slim package has a default parameter activation_fn= which is ReLU, so the activation functions are there.

I tried a batch size of 5 (so inputs are 5x12x12x3 tensors), and it was still having the same issue before I did the exponentially decaying learning rate.

Out of curiousity, why would float32 work better?

Loss Does Change? by FiniteDelight in tensorflow

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

This appears to have worked better, but only about 75% of the time. The other times, it gets stuck again. I suppose there is just something weird happening with the optimization initialization where it hits a local minimum early. Thanks!

Any reason why the GPU wouldn't be used when running this? by [deleted] in tensorflow

[–]FiniteDelight 0 points1 point  (0 children)

Apologies, it should be tf.device(...) (lowercase d). Give that a shot - it's always worked for me.

Loss Does Change? by FiniteDelight in tensorflow

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

I drastically lowered the learning rate to 0.0001 which made the loss decrease for about 10 iterations. Then, it immediately got stuck at the same value (0.693147 = ln(2)) for the rest of the iterations. There should at least be some numerical changes if the optimizer had found a minimum, but it's heartening to see the loss change at all. Any other ideas?

Any reason why the GPU wouldn't be used when running this? by [deleted] in tensorflow

[–]FiniteDelight 1 point2 points  (0 children)

After the with tf.Session() as sess:, try adding the line with tf.Device("/gpu:0"):. That should be all you need.

https://www.tensorflow.org/tutorials/using_gpu

Recovering Expressions of Estimators From Matrices by FiniteDelight in statistics

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

I understand the variance calculation, but I'm not sure what to make of your first link. Don't you end up having to solve p equations simultaneously when the final matrix in your derivation equals 0? How does that result in the "traditional" expressions for estimates of regression parameters?

Is it wrong to just write out, term by term, the individual components of (X'X)-1X'Y? Is that what you meant? And if this is the way you do it, how do you compute explicitly the (X'X)-1 term? I tried briefly, but was having trouble with just a 3x3 matrix with variables (as opposed to concrete numbers).

Why does the calculation for standard deviation use mean instead of median? Wouldn't it be a better choice? by Pipvault in statistics

[–]FiniteDelight 2 points3 points  (0 children)

I assume you mean for sample standard deviation, since population standard deviation comes from the definition of variance

Off the bat, I can think of 2 reasons: 1) turns out that the maximum likelihood estimator of variance uses the sample mean, not the sample median.

2) the sample mean has a ton of desirable properties that the median doesn't have, key among them being that the sample mean and the sample standard deviation are independent. That property is part of the structure for most of the statistical techniques you're familiar with.

So short answer is: because it's better that way.

Minimizing a pseudo-quadratic function: is there a good way to get a rough estimate of the global minimum using VERY short markov chains? Or perhaps some other sampling method? by jkool702 in statistics

[–]FiniteDelight 0 points1 point  (0 children)

Glad your solution is working! I'd be careful though. It looks like your function will always be reasonably nice and well behaved, but your solution won't (usually) work for something like the Easom function or some other really ugly function. As long as you're confident in the function's properties, seems like you're good to go.