My favorite machine learning resources
If you already have a strong science, math and programming background you can teach yourself machine learning in a relatively short time.
These are the best resources I’ve found so far for learning machine learning:
Basic Data Science, much of the math and deep learning is based on this stuff
Anaconda Python and all the ML libraries you’ll need to get started
Neural Networks and Deep Learning
Deep Learning Tutorial from Lisa Labs ( what the Deep Learning with Theano is based on, more of a focus on Theano and less on the networks and math )
Papers with source code
Papers, all the new important papers are here
Stack Overflow type site for machine learning
News, tools, data, help
Medium Long reads on all sorts of topics, including ML, robotics and AI
Field Guide to Data Science ( read past the first few pages, it gets better as it progresses )
Beating Kaggle the Easy Way ( lots of good beginner’s tips and tricks )
Computer vision for dummies
“>Computer vision for dummies
Classics that still hold true
I’ve been developing apps on OS X for about 5 years. Many recent things have me rethinking OS X and looking at Windows again. I purchased a SurfaceBook with Windows 10. I absolutely adore it. Setting up the development environment has been mostly but not totally painless. All of the items listed have Windows and OS X versions.
Things to download and install:
R and RStudio
Visual Studio (try them all, I use Code for simple stuff, Studio for complex projects)
Calibre (pdf catalog for keeping all your manuals and technical papers organized)
“The term ‘conda’ is not recognized as the name of a cmdlet…..”
Open a terminal
type bash at the prompt, and try again.
Running Python and other languages from Visual Studio requires a tasks.json file in the .vscode directory.
Unbutu on Windows
What works so far:
Anaconda 2.7, 3.5 ( *Installing Anaconda on Windows 10 Ubuntu )
XGBoost (conda install -c creditx xgboost )
Then (conda install theano)
TensorFlow (conda install tensorflow)
The easiest way is to download and install Anaconda, then use conda install to install other packages.
* Theano not working on Windows 10 Bash
OMP: Error #100: Fatal system error detected.
OMP: System error #22: Invalid argument
Aborted (core dumped)
This is actually a scipy fail. See discussion on turning off KMP affinity ENV setting ( add export KMP_AFFINITY=disabled to your .bashrc file, close and reopen bash shell )
( * I’m only using CPU, haven’t figured out GPU support yet )
‘Double tap/drag’ to drag/resize windows on Windows instead of ‘click/drag’ on OS X
File->Create New Version->Create MP3 Version
This is a favorite of mine. A local restaurant serves it and it took much longer to decipher than most recipes.
I use pre-cooked ribs with sauce, you can use your own.
– 48oz precooked barbecue ribs with sauce
– 2 cans diced tomatoes
– 32 oz marinara sauce ( I use Michael’s of Brooklyn )
– 3 cups of mushrooms, quartered, cooked up with butter
– 1 very large sweet onion, diced, cooked up with butter
Toss everything in a crockpot, cook until the meat falls off the rib bones.
Remove the rib bones from the sauce.
Makes enough to use with 4 pounds of pasta, I freeze a few containers.
Total calories 1260
This year’s home project is to make the house smart. The goal is to use lots of cheap, easily installed, dumb sensors the aggregate of which creates an intelligent home.
– Kevo smart lock It needs batteries to run, can be flaky and noisy locking and unlocking, but it’s really nice to have one less key to keep on me. ( It randomly locks me out when I’m going for a run or to check the mail )
– Honeywell Wi-Fi Smart Thermostat The temperature is much more even throughout the house. I love the screens and running the fan to filter the air automatically.
If you want to install a smart thermostat but do not have a C Wire it’s very easy to add one. You can buy 5-wire thermostat wire at your favorite hardware store, it’s about $20 which was about 3x as much as I needed to add wires to two thermostats. We duct taped the end of the new wire to the old and slowly pulled it through the walls. Cut a much longer piece than you need and take the time to untwist it so it doesn’t kink inside the walls while you pull it through. Honeywell and several do it yourself sites have photos of where to hook up the 5 wires on the furnace/AC end.
– Ecobee I replaced the 2nd floor thermostat with an Ecobee. There are lots of tiny rooms up there ( all designed to be bedrooms ) having multiple sensors across the rooms lets me set the temperature in the room I’m using to be comfortable. ( master bedroom at night, home office days etc )
– Ring Doorbell This is wonderful, no more opening the door to talk to door to door sales men.
– I’ve recently begun setting up hydroponic gardens. I wanted them automated, but the builtin in timer switches wouldn’t work, these all needed to plug into something. GE has a 24 hour basic plugin timer, it’s about $3.50 at your local hardware store, $8 online. A couple of those let me automate the lights and water pumps. Despite being blinding to humans the LEDs weren’t bright enough for the plants to grow properly.
– Samsung Smart Cam You can set up another Gmail account and have it upload all the photos to Picassa which is a nice way to keep them and view them when you’re not home. This camera is flaky as hell and goes out when I most want to capture images. I’m looking for a better option. ( on the upside it didn’t burn down the house like the Samsung washers and phones )
– Pocket Sentry Motion Cam let me use 2 old iPhones (3/3G) and set up motion sensing photo taking security. No internet interface if you don’t want one. Every afternoon when the sun would hit the window it was glare out and in the summer the phone would stop working till it cooled down.
– Replaced halogen under the cabinet lighting with LED and hooked up motion/light sensors switches to them. I really like these, there are three and it’s enough to light up the entire kitchen.
– I replaced a light in a niche with an LED a few months back. This week I found my first programmable ( 7 days, 24 hours ) light switch and hooked it up to turn on the niche light at 7am and off at 10pm. Off the light went at 10pm, but not all the way. It turns out many 3 way switches, dimmers, motion sensors and smart home switches leak enough trickle charge to keep the LED on at a very low light. As far as I know there is no danger in this, it can be a bit unsettling. If you are using LEDs and smart switches they either all need to be compatible or you need to be comfortable with a little light trickling out. These switches can also be set to random to make it appear someone’s home while you’re out of town.
( Parts: Indoor Digital Timer by Defiant ) (* it forgets its settings every time the power goes out and it’s really difficult to read the screen to reprogram it, I still love it, but am watching for a better version )
– I put solar lights on the upper window ledges in the two story room, it’s free ambient lighting, no wiring required. I used outdoor lights, the ones they have for gardens, didn’t use the stakes. The window ledges are large enough to hold them comfortably. Watch the lumens when you buy solar lights, I’ve been able to find 6-8 lumens for the same price as 1.2 lumen lights. The windows receive different amounts of sun so lights the were always a different brightness.
– Motion sensor lights in small rooms that are used for a short time: bathrooms, hallway, garage, laundry, walk in closets.
( Parts: Lutron Occupancy Sensor single or three pole $20-$30/ea )
– I couldn’t get the wall switch motion sensor to work master bedroom closet. The switch is jumpered off another light and there’s an outlet jumpered off of it. So I swapped out the light fixture and used a motion sensing bulb, but that didn’t work either. I guess the odd wiring setup interferes somehow? idk? I’ll come back to this one.
( Parts: Polar LED bulb with motion sensor, or AmerTac Indoor Motion Activated Light Control )
– Okay, some of them make a whistling noise while the water is running
– LED temperature sensor in shower. The lights are blue when the water is cold then turn purple, orange, red, flashing red as the water heats up. This requires no battery, you may need an extension arm to mount it in your shower. This is very nice, no more jumping into a cold shower. I liked the rainfall shower so much I upgraded to the 12″ one.
( Parts: VDomus 8″ Wall mount LED Color Changing Square Overhead Showerhead $35/ea )
– LED plugin night lights that turn on only when the home is dark.
( Parts: Maxxima 10 LED Night Light with Sensor, 4 pack/$13 )
-LED plugin night lights that turn on only when dark and motion is detected
( Parts: Amerelle Night Light, $10/each )
– Meh on the laptop, Excellent with an old iPad or iPhone
– iTunes on an old laptop has been setup to play music ( both mine and internet radio ) through the house stereo. Apple has an iPhone/iPod app called ‘Remote’ that allows you to control iTunes from your iPhone or iPad. The house came with a built in stereo system that has speakers in the master bedroom and all the public rooms.
– Temperature sensor in attic that transmits temperature to indoor station.
( Parts: wireless weather sensors and base stations, $10-$200 )
– Water sensor alarms: one in the first floor bath, one in each overflow tray for the AC condensers in the attic, all of the above have flooded in the past.
( Parts: Swann Anti-Flood and Water Leakage Alarm $20/ea )
– LED temperature sensors in the bathroom sinks: These require no batteries, running water turns the light on. The color changes from blue to red as the water heats up. These were trivial to install in facets with screw in aerators.
( LightInTheBox LED Kitchen Sink Faucet Sprayer $4/ea )
– Motion sensor night lights up driveway and front walkway. It’s deliberately overly bright in your eyes to discourage unwanted visitors after dark.
( Parts: Utilitech 360 Degree, Dual Detection Zone, LED motion sensor night light ~$130 )
I picked up a Windows IoT Pack from AdaFruit, haven’t had time to play with it yet.
Mosquito control: Moved to here, it was getting lengthy
– Temperature sensor to turn on/off oil filled radiators we use for heat in cold rooms in the winter.( might have to home brew this one )
– Ceiling fans that turn on off depending on the temperature of the room
– Interactive sensors for pets to do idk yet?
– Garden soil moisture and temperature sensors to turn on irrigation when needed and only when needed.
– Send distilled water from AC condenser to garden for irrigation, not down sewer
– Have water sensor turn off AC if pan starts to fill (one completed, will do next one when compressor needs replacing)
– Natural gas generator that turns on when we lose electricity
– Ambient data, weather, traffic etc
– Weaponized robot to defend home from salespeople and missionaries ( have English Mastiff to keep strangers away in the meantime, ‘ least when he’s awake, which isn’t often )
– Acquire military drone to keep squirrels out of gardens ( may have to settle for a house cat for this one )
This page will be updated as projects proceed and new ideas come to me.
Now that the drought is over we’re back to swarm levels of mosquitoes. I don’t really want to douse the yard with pesticides, it took years to get earth worms to move in after we bought the place. I’d hate to wipe them out again.
I’d be happy just keeping the mosquitoes out of the house.
Of all the things I’ve tried, what made the biggest difference was switching the irrigation system from spraying to drip. I guess there are not so many little pools of water around? idk.
I purchased one of those electric room fresheners that you put in a bottle of liquid scent and some mosquito repellent. I picked a room freshener with plastic refills, they seal them up tight.
I drilled a hole in the bottom of the container, dumped out the scent, filled it with repellent and sealed up the hole.
There is an electric outlet right next to the back door, once the sealer dries I’ll plug it in and we’ll see how things go. If it works I’ll have to find a better way to refill the container but this hack will do for testing.
Failed attempts at mosquito control:
— I planted a dozen citronella plants around the back gardens. Removing a leaf and wiping it on your arms does keep the mosquitoes away from you. It has no effect on the population in and around the yard.
— I planted lemon grass in the back gardens, no effect, and it grew like a weed and had to be removed.
— I tried placing mosquito dunks in places with standing water. There are too many tiny places, you can’t get them all.
— I doused the hound with DEET to keep him from bringing in a cloud of mosquitoes every time he comes in. It helped a little, not enough to justify dousing the dog with neurotoxins regularly.
— I sprayed lemon grass oil around the front and back door frames. At first it seemed to be dropping the indoor mosquito population. But it turned out they were just down because it had been raining for a few days.