5
$\begingroup$

As datasets and the number of parameters get larger, it becomes increasingly difficult to run validation locally because of limited disk size and computing power. As a result, people might use an old laptop or a server in the cloud. In particular, I'm interested in learning more about the second option.

For the setup, it sounds like I will need a storage system and a computing system. Is this S3 and EC2? Redshift and Amazon ML? Combinations from some other vendor? At the moment, I'm asking as an amateur participant for Kaggle, but I'd also be curious to know what the pros use.

On the machine itself, is there any way to interact with a GUI rather than a command line to set this up? Would I have to install Anaconda or some other Python distribution before getting started? Is there a specific file structure to use? What are the main pitfalls to watch out for?

Ultimately, I am looking for the practical advice to set everything up. If you're able to just offer links to documentation, that would be immensely helpful as well. Thanks!

$\endgroup$
  • $\begingroup$ This is probably better asked at SO? $\endgroup$ – kjetil b halvorsen Sep 13 '15 at 18:27
  • 2
    $\begingroup$ @kjetilbhalvorsen I think it would be better suited for the Data Science SE $\endgroup$ – Dawny33 Sep 13 '15 at 18:42
2
$\begingroup$

If you are looking for an external storage, then I would suggest you Redshift.

Redshift is a central warehouse and a columnar data store. It allows complex and huge data aggregations and joins; so it is a nice bet for serious Kaggle participants. (I personally use Redshift as data science architecture for kaggle.)

Combinations from some other vendor?

No, a combination of Redshift and S3 is enough. The data is stored in S3, and then loaded into Redshift using the COPY command.

Is there any way to interact with a GUI rather than a command line to set this up?

Yes, there is a CLI interface for Amazon AWS. However, you can use the boto library on Python for handling this stuff.

Would I have to install Anaconda or some other Python distribution before getting started?

Not a compulsion. Anaconda is a wrapper of numerical and scientific libraries. You can install them on your own or intall Anaconda.

Check out PySpark, which allows you to do handle BigData in Python.

$\endgroup$
2
$\begingroup$

There are alternatives out there. Using cloud capabilities for computing is helpful for many different types of problems and I've been using the cloud for a couple years now. There are moments where you need more computational capabilities, for instance if you needed more ram to process data or if you needed GPUs for neural nets computation. The only drawback is the price of some of these services. The quickest ways to use is just sign up and go through the tutorials on

Amazon Machine Learning

https://docs.aws.amazon.com/machine-learning/latest/dg/tutorial.html or

Azure Machine Learning

https://azure.microsoft.com/en-us/services/machine-learning/

RStudio on an Amazon instance

Another alternative is to set up RStudio on an Amazon instance.

http://www.louisaslett.com/RStudio_AMI/
http://www.louisaslett.com/RStudio_AMI/video_guide.html
This tutorial will teach you how to connect to an Amazon instance running R and showing the GUI on your browser.

iPython HTML Notebook on Amazon's AWS

The same can be done with python using an IPython notebook to interact with the remote instance. https://gist.github.com/iamatypeofwalrus/5183133

Spark on the cloud

If you know Apache Spark you can also use https://databricks.com/

Advanced topic: Deep Learning on Amazon EC2 GPU with Python and nolearn

Setup a GPU Amazon instance to run deep learning algorithms http://www.pyimagesearch.com/2014/10/13/deep-learning-amazon-ec2-gpu-python-nolearn/

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.