Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Threefields/CerebralCortex

Open more actions menu
 
 

Repository files navigation

CerebralCortex

Codacy Badge

Coding Guidelines

Please utilize https://www.python.org/dev/peps/pep-0008/ for coding guides. IntelliJ defaults to this style for python as well.

Intellij Setup

Environment Variables in Run Configuration

  • PYTHONPATH=/Users/hnat/Downloads/spark-2.0.2-bin-hadoop2.7/python:/Users/hnat/Downloads/spark-2.0.2-bin-hadoop2.7/python/lib/py4j-0.10.3-src.zip
  • SPARK_HOME=/Users/hnat/Downloads/spark-2.0.2-bin-hadoop2.7/
  • PYSPARK_SUBMIT_ARGS=--conf spark.cassandra.connection.host=127.0.0.1 --packages com.datastax.spark:spark-cassandra-connector_2.11:2.0.0-M3 pyspark-shell

Add pyspark.zip to your project libraries:

http://stackoverflow.com/questions/13994846/intellij-python-plugin-run-classpath

  • Go to File -> Project Structure
  • Now select Modules and then "Dependencies" tab
  • Click the "+" icon and select "Library"
  • Click "New Library" and select Java (I know it's weird...)
  • Now choose multiple modules / egg and "OK".
  • Select "Classes" from categories.
  • Give your new library a name, "My Python not Java Library"
  • And finally click "Add Selected"

About

Cerebral Cortex is the backend architecture, powered by Apache Spark, that is designed to analyze population-scale mHealth data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.8%
  • Other 0.2%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.