Topic modeling made just simple enough.

The Stone and the Shell

Right now, humanists often have to take topic modeling on faith. There are several good posts out there that introduce the principle of the thing (by Matt Jockers, for instance, and Scott Weingart). But it’s a long step up from those posts to the computer-science articles that explain “Latent Dirichlet Allocation” mathematically. My goal in this post is to provide a bridge between those two levels of difficulty.

Computer scientists make LDA seem complicated because they care about proving that their algorithms work. And the proof is indeed brain-squashingly hard. But the practice of topic modeling makes good sense on its own, without proof, and does not require you to spend even a second thinking about “Dirichlet distributions.” When the math is approached in a practical way, I think humanists will find it easy, intuitive, and empowering. This post focuses on LDA as shorthand for a broader family…

View original post 2,048 more words

Advertisements

How Python Stole My Heart !!

PythonIt Stole my heart “YES Absolutely correct”.It’s better than a girl friend.I Learnt some pragramming languages like c,c++,java but haven’t fell in love with any. to learn another language i was going through many websites to choose the best.best keyword started relating to python in many of the websites.so i fixed to start learning python now i’m loving it.it was great to learn some programming language like python.it is simple,powerful,beautiful and adjectives goes on….Let me show you the difference between c program and python program in simplicity.Below i wrote a hello world program which every newly born programmer writes.
C language :

#include<stdio.h>

void main()

{

printf(“Hello! world”);

}

Python:

print”Hello! world”

In C we have to include the header file before using any of them and we use brackets for indentation and semi colon after every line of code to terminate it.Python makes it easy by making the programmer not to remember to keep the semicolon(After all a semicolon programmer knows the value of it) at all.Because python knows where line ends and in python indentation happens with spaces just pressing the big button below instead of pressing shift and flower braces.Maintaining the two friends Client and Server is very easy in python compared to other languages.there are wide range of applications for python like web,data,AI,gaming etc..
The other interesting thing in python is Zen of Python which tells you what it is

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren’t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one– and preferably only one –obvious way to do it.
Although that way may not be obvious at first unless you’re Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it’s a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea — let’s do more of those!
Python is a lot more than just a scripting language we can write games,desktop applications,web applications and many more in python.it’s very powerful.it’s code can run in any platform.None of the programming language have feature of embedding another language in them we can write c code in python program using ctypes that sounds great right!!

The other interesting thing about python is

Jython compiles into Java byte code, which can then be executed by every Java virtual machine implementation. This also enables the use of Java class library functions from the Python program.
IronPython follows a similar approach in order to run Python programs on the .NET Common Language Runtime.
The RPython language can be compiled to C, Java bytecode, or Common Intermediate Language, and is used to build the PyPy interpreter of Python.
Pyjamas compiles Python to JavaScript.
Shed Skin compiles Python to C++.
Cython and Pyrex compile to C.

Zen of python By Prudhvi

python is better than girlfriend

spaces are better than flower braces

lazy is better than active

all in one is better than all in all

security is better than insecurity

Loving is better than hating

smart work is better than hard work

And with all above features it stole my heart simply.

What happens if we connect to mysql to upload files using filezilla? (localhost)

The mysql server gets opened in some port in my computer is 3306 (default) if its not free it might take other port. so in filezilla if you type the host as 127.0.0.1 which is your localhost and your username,password and port it will ping the server at port 3306 which is mysql  and it doesnot establishes a communication and transfer doesn’t happen within the port which is intracommunication.

Error

Error

Digital India

Digital_India_empower_youth

Digital india is an initiative by the prime minister of india Mr.NarendraModi to make india a digitally empowered society.The program is projected at Rs 1,13,000 crore which will prepare the country for knowledge-based transformation.It will focus on providing high speed internet services to its citizens and make services available in real time for both online and mobile platform. Digital India also aims to transform ease of doing business in the country.

Vision:

1.Digital Infrastructure as a Core Utility to Every Citizen

2.Governance and Services on Demand

3.Digital Empowerment of Citizens

As the methodology and approach states that Public Private Partnerships would be preferred wherever feasible to implement e-Governance projects with adequate management and strategic control. Modi approached the Top companies ceo’s in silicon valley and got strategic investment from companies like

GOOGLE to help in setting up base for 500 free wifi stations

MICROSOFT to set up cloud computing systems and to bring low cost broadband tech to 5 lakh villages

Qualcomm is going to invest $150 million in indian stratups based on internet of Everything and mobile ecosystem and an innovation lab at benguluru.

Facebook is showing its support by letting people change profile picture in tricolour indian flag format

Super Cheap computer (C.H.I.P)

Worlds first super cheap computer at a cost of $9 dollars raised more than pledge goal of $50,000 dollars.About 39,560 backers pledged $2,071,927 to help bring this project to life.This was created by an oakland based company NEXT THING CO.This tiny computer helps us to do our work,teach,surf what not its very useful and powerful as it comes with 1Ghz processor,512 MB RAM,4GB storage,bluetooth and wifi connectivity.Interesting things about C.H.I.P are its tiny,portable,cheap,rich features,open source os with a great GUI and many apps in it.

Chip

Technology

This Blog is about cyber security,technology,coding and all the latest happenings in the world of technology related things.The world of technology is emerging today so people should be get updated with technology.In this blog I would be talking about the interesting things happening in the world of technology.

humanizing_technology