Event Report: April Pune Python Meetup

April Pune Python Meetup (@PythonPune) was conducted on April 30, 2016 at Redhat, Pune. Around 70 people registered for the meetup but the turnout was around 72-73. A few people registered on the spot.

Python Pune Meetups are organised by Chandan Kumar (@ciypro) who is a fellow RedHat employee, a python programmer and FOSS enthusiast who has contributed to many upstream projects.

The meetup started around 10:45 with the introduction where everybody introduced themselves. Almost everybody knew python. There were 1-2 people who did not know python. There were a few people who were experience in machine learning and some who were completely new to Machine Learning. I had a course on machine learning in my college where i learnt the theory and did some practical assignments in R language. The crowd was diverse consisting of students, data scientists, professors and people of various age groups 18 – 70.

This speakers of this meetup were Satish Patil (@DataGeekSatish) and Sudarshan Gadhave (@sudarshan1989) who took a session on Introduction to Machine Learning. 

4
Satish Patil in Pune Python Meetup

 

5
Sudarshan Gadhave in Pune Python Meetup

Satish Patil is the Founder and Chief Data Scientist of Lemoxo Technologies, Pune where he advises companies large and small on their data strategy. He has 10+ years of research experience in the field of drug discovery and development. He told a few real life machine learning examples from his field in the meetup!

Satish is passionate about applying technology, artificial intelligence, design thinking and cognitive science to better understand, predict and improve business functions. He has a great interest in Machine Learning, Artificial Intelligence, Data Visualisation, Big Data.

Satish covered the following topics:

  • What is Machine Learning
  • The Black Box of Machine Learning
  • features
  • training and test data set
  • classification
  • clustering
  • pure and impure states
  • entropy
  • decision tree
  • supervised and unsupervised learning
  • market basket analysis
  • data pre-processing
  • Titanic data set
  • K means algorithm

Although Machine Learning is a vast concept and it definetly requires more sessions to grasp, but Satish made a remarkable effort in making us understand all the above topics in layman terms.

There are a lot of books, courses, material available online for Machine Learning, so why this meetup? Well, the best part about this meetup was the way Satish explained the BUSINESS CONTEXT of MACHINE LEARNINGThis was something new for me to learn. Getting to know the real life examples from the entrepreneur-cum-data scientist was really interesting.

1.jpg
The Machine Learning Workshop in Pune Python Meetup

The details of his talk will be in my next blog.

Chandan Kumar talked about Fedora Labs. The Fedora science spin comes pre-installed with essential tools for scientific and numerical work like IDE, tools and libraries for programming in Python, C, C++, Java and R. It basically eliminates the need to download a bunch a scientific packages which you need.

If you need any help regarding the spin, you can get help from #fedora-science channel on Freenode on IRC.

As Chandan Kumar ALWAYS encourages us to contribute to open source, he introduced us to WHAT CAN I DO FOR FEDORA?. Pune Python meetups and Devsprint are a great platform to seek for help if you want to contribute to opensource.

3
Chandan Kumar in Pune Python Meetup

 

Thanks to Satish Patil and Sudarshan Gadhave for conducting an awesome workshop! We hope to see more such workshops by you in the meetups.

Thanks to RedHat for the food, beverages and venue.

Thanks to Chandan Kumar, Pravin Kumar (@kumar_pravin), Amol Kahat, Sudhir Verma for organising such interesting meetups where we always learn something new 🙂

 

 

Event Report: April Pune Python Meetup

Running fedocal instance

Fedocal

A web based calendar application for Fedora.  It is a single place where you can keep track of:

  • meetings
  • events
  • deadlines

 

Get the project

Fork the Fedocal project from Pagure.

Clone the project:

25

Then, go to the Fedocal directory:

Screenshot from 2016-04-18 19-14-45

 

Copy configuration files

12

 

There are 3 things to be done now:

1. Set Secret Key in configuration file

Install pwgen to generate 50 characters long random key:

21

Generate secret key:

22

Put the secret key in fedora.cfg file:

Screenshot from 2016-04-18 21-52-25

 

2. Adjust alembic configuration file:

go to /etc

17

make fedocal directory:

18

create alembic.ini file:

19

copy all data from alembic.ini in your cloned fedocal directory to this /etc/fedocal/alembic.ini

You can directly do this using “cp” command as well.

If you skip this step, then you might get this error while creating database scheme:

16

 

3.Set the database URL

In the alembic.ini file in your CLONED fedocal repo, you will find the line,

sqlalchemy.url = sqlite:////var/tmp/fedocal_dev.sqlite

In the fedocal.cfg file in you CLONED fedocal repo, you will find the line

DB_URL=sqlite:////full/path/to/database.sqlite

Copy the sqlalchemy.url of the alembic.ini file to DB_URL of fedocal.cfg file as given below:

23

If, you skip this step and do not set the database URL, you get this error:

20

 

Install dependencies

Before creating database scheme, I had to install the following dependecies:

3

Even after installing python-openid, I was getting this error:

8.png

Now, according to this article, pycurl fetcher takes precedence if pycurl is installed. So, i checked if pycurl was installed on my machine using the command:

7.png

I removed pycurl using the command:

5

After that, I installed the remaining dependencies:

9101112131415

 

Create database scheme

24

 

Run the server

Screenshot from 2016-04-18 21-37-29.png

 

Now, access the server at http://localhost:5000 in your browser

Screenshot from 2016-04-18 21-40-08.png

Running fedocal instance