Friday, October 30, 2015

Programming Anywhere: Chows Asian Bistro

In continuing to find good places to work, I have found Chows Asian Bistro to be great. If you are in on the weekend nights, you get treated to live piano music, which is just AMAZING. They seemed receptive to my working from there, I suppose if more people showed up to work (but also bought food) they wouldn't complain. It's the folks who show up order a tea and hold seats for hours, don't be one of those. Some of the seating is in the right spots that it's easy to not get distracted when working. Aim for one of those seats.

Pro's: Great Music, friendly folks AMAZING food (well it's my favorite Asian food in Albuquerque, probably the world).
Con's: You really should support the business and not just take up space. No Wifi (That I found)

Stay Tuned I'll be talking about Rudys BBQ next week

Wednesday, October 28, 2015

Numpy Array Size, and ValueError

I just wanted to capture this for others as I'm not sure the *correct* solution but it appears that trying to use a very large array within SKLearn's kmeans seems to cause a problem.

Traceback (most recent call last):
  File "..\School\GeorgiaTech\Assignment_3\", line 167, in odule>
    k_means_results('Live No Feature Selection', [X,y], [X_test, y_test], colorm
ap = False)
  File "..\School\GeorgiaTech\Assignment_3\", line 60, in k_m
    fit_results =
  File "C:\Python27\lib\site-packages\sklearn\cluster\", line 785, in
    X = self._check_fit_data(X)
  File "C:\Python27\lib\site-packages\sklearn\cluster\", line 755, in
    X = check_array(X, accept_sparse='csr', dtype=np.float64)
  File "C:\Python27\lib\site-packages\sklearn\utils\", line 344, in
    array = np.array(array, dtype=dtype, order=order, copy=copy)
ValueError: setting an array element with a sequence

When I reduce the size of my input by a bunch (I had roughly 246 features, and 3500 lines), the code begins to run correctly (I have a smaller input size for another dataset, that has the same setup except 6 features not 246, and is shorter, no problems there).

Good luck

Open your csv input in excel move to rightmost column, now one more over. Hit crtl and down arrow, if you have incorrect data, youll find more elements, if you load a csv like i did

Friday, October 23, 2015

Programming Anywhere: Food Court At The Mall

Being crazy jam packed with school I've had to sneak away to work on projects/homework. Typically in Albuquerque Flying Star is the defacto standard for studying/etc. I love the place but haven't been loving the menu choices, so I decided to start trying other places out.

The first place I tried food court at the mall. I got in around 9 or 10 even though stores aren't open often times the mall is open to allow for walkers, this means you get a quiet place to work for a few hours. In the case of my mall there were a few free wifi locations so I was able to do any looking up of things I needed to. If you're in a pinch this is a place to try out.

Pro's: Early and late enough it's quiet and easy to get work done, well lit. Don't feel bad about not buying things to support a business (you're not taking up valuable customer space really). You can usually find Wifi
Con's: As the day goes on, more and more people show up. If you're distracted easily this is probably not the place for you.

Stay tuned. I'll be talking about Chows Asian Bistro in the next post!