Sunday, June 7, 2015

Oh Penne Penne - Vanakam Chennai Lyrics English translation



Movie: Vanakam Chennai
Song: Oh Penne Penne
Singers: Vishal Dadlani, Anirudh Ravichander,Arjun
Music: Anirudh Ravichander
On screen: Shiva, Priya Anand and Rahul Ravindran

Lyrics

உன் கைகள் கோர்த்து உன்னோடு போக
என் நெஞ்சம் தான் ஏங்குதே
தினம் உயிர் வாங்குதே
உன் தோளில் சாய்ந்து கண் மூடி வாழ
என் உள்ளம் அலைபாயுதே ஐயோ தடுமாறுதே
உன் கன்னம் மேலே மழை நீரைப் போலே
முத்தக் கோலம் போட ஆசை அல்லாடுதே
நீ பேசும் பேச்சு நாள் தோறும் கேட்டு
எந்தன் ஜென்மம் தீர ஏக்கம் தள்ளாடுதே

ஒ பெண்ணே பெண்ணே
என் கண்ணே கண்ணே
உண்மை சொன்னால் என்ன
உன்னைத் தந்தால் என்ன
ஒ பெண்ணே பெண்ணே
என் கண்ணே கண்ணே
உண்மை சொன்னால் என்ன
உன்னைத் தந்தால் என்ன

Never wanna see us fighting
Forget the thunder and lightening
I hold you till we see the morning light
Never leave your side
Never wanna see us fighting
Forget the thunder and lightening
I hold you till we see the morning light
Never leave your side
Never wanna see us fighting
Forget the thunder and lightening
I hold you till we see the morning light
Never leave your side

ஏழு கடல் தாண்டி உனக்காக வந்தேனே
இந்த நதி  வந்து கடல் சேருதே
வெண்ணிலவை வெட்டி மோதிரங்கள் செய்வேனே
அது உனைச் சேர ஒளி வீசுதே

அந்த விண்மீன்கள் தான் உந்தன் கண்மீனிலே
வந்து குடியேறவே கொஞ்சம் இடம் கேக்குதே
இன்று உன் கையிலே நான் நூல் பொம்மையே
ஊஞ்சல் போல் மாறுதே அடி உன் பெண்மையே

ஒ பெண்ணே பெண்ணே
என் கண்ணே கண்ணே
உண்மை சொன்னால் என்ன
உன்னைத் தந்தால் என்ன
ஒ பெண்ணே பெண்ணே
என் கண்ணே கண்ணே
உண்மை சொன்னால் என்ன
உன்னைத் தந்தால் என்ன

Dialogue:எல்லோரும் உங்கள் கண்களை மூடிக்கொள்ளுங்கள்.இந்த நிலையில் எல்லோரும் உங்கள் மனதில் சரகாம் சரகாம் என்ற வார்த்தையை உச்சரியுங்கள். இப்போது உங்கள் மனது ஆழ்கடல் போல்  அமைதியாகி ஒரு நிலையை அடைந்திருக்கும், உங்கள் மனதில் எது ஆழமாக பதிந்திருக்கிறதோ அது உங்கள் கண்முன்வரும். அது  ஒரு நபராக இருக்கலாம், ஒரு பூவாக இருக்கலாம். It can be anything in this world.

உன் கைகள் கோர்த்து உன்னோடு போக
என் நெஞ்சம் தான் ஏங்குதே
தினம் உயிர் வாங்குதே
உன் தோளில் சாய்ந்து கண் மூடி வாழ
என் உள்ளம் அலைபாயுதே ஐயோ தடுமாறுதே
உன் கன்னம் மேலே மழை நீரைப் போலே
முத்தக் கோலம் போட ஆசை அல்லாடுதே
நீ பேசும் பேச்சு நாள் தோறும் கேட்டு
எந்தன் ஜென்மம் தீர ஏக்கம் தள்ளாடுதே

ஒ பெண்ணே பெண்ணே
என் கண்ணே கண்ணே
உண்மை சொன்னால் என்ன
உன்னைத் தந்தால் என்ன
ஒ பெண்ணே பெண்ணே
என் கண்ணே கண்ணே
உண்மை சொன்னால் என்ன
உன்னைத் தந்தால் என்ன

Translation


Un kaikal korthu, unnodu poka
En nenjam thaan yengudhey
Dinam uyir vangudhey
(Everyday my heart longs to be with you, to walk holding your hands)
Un tholil saainthu Kan moodi vazha
En ullam alaipaayuthe Ayyo tadumbaarudhey
(My heart carves to close my eyes on your shoulder)  
Un kannam meley mazhai neere pole
Mutha kolam poda aasai allaadudhe
(I wish to plant kisses like rain drops flowing through your cheeks) 
Nee pesum pechu naal thorum kettu
Enthen janmam theere yekam thalladuthey
(When I hear you speak I feel my life's purpose achieved)

Oh penne penne
En kanne kanne
Unmai sonnal enna
Unnai thanthal enna
(O woman, my beloved can't you speak the truth and be with me)
Oh penne penne
En kanne kanne
Unmai sonnal enna
Unnai thanthal enna

Never wanna see us fighting
Forget the thunder and lightening
I hold you till we see the morning light
Never leave your side
Never wanna see us fighting
Forget the thunder and lightening
I hold you till we see the morning light
Never leave your side
Never wanna see us fighting
Forget the thunder and lightening
I hold you till we see the morning light
Never leave your side

Dialogue: Yellorum ungal kangalai moodi kollungal. intha nilaiyil yellorum ungal manathil saragaam saragaam endra vaarthaiyai uchariyungal. ippodhu yngal manadhu aalkadalpool amaidhiyaahi oru nelaiyaiadainthirukum.ungal manathil ethu aalamaha pathinthirukkiratho athu ungal kanmum varum. athu oru nabaraha irukalaam,oru poovaaka irukalaam.  It can be anything in this world.
(Everyone close your eyes and say the words "saragam saragam" in your mind. Now your mind will be calm like the deep oceans. You will see the thing that lies in the depth of your mind. It can be a person It can be a flower. It can be any thing in this world)

Ezhu kadal thaandi unakaga vantheney
Intha nathi vanthu kadal seruthey
(I crossed seven seas to come to you, This river has finally reached it's sea)
Vennilavai vetti moothirangal saiveney
Athu unai sera oli veesudey
(I will cut the moon to make rings for you, It wants to be with you)

Antha vinmeengal taan undhan kan meedile
Vanthu kudiyeravey konjam edam kaekuthey
(The stars want to live in your eye)
Indru un kaiyilay,naan nool bommaye
Unjal pol maarudey,adi un penmaye
(Today I am puppet in your hands and you are changing course like a swing)

Oh penne penne
En kanne kanne
Unmai sonnal enna
Unnai thanthal enna
Oh penne penne
En kanne kanne
Unmai sonnal enna
Unnai thanthal enna

Un kaikal korthu, unnodu poka
En nenjam thaan yengudhey
Dinam uyir vangudhey
Un tholil saainthu Kan moodi vazha
En ullam alaipaayuthe Ayyo tadumbaarudhey
Un kannam meley mazhai neere pole
Mutham kolam poda aasai allaadudhe
Nee pesum pechu naal thorum kettu
Enthen janmam theere yekam thalladuthey

Oh penne penne
En kanne kanne
Unmai sonnal enna
Unnai thanthal enna
Oh penne penne
En kanne kanne
Unmai sonnal enna
Unnai thanthal enna

Video

Saturday, June 6, 2015

Mazhai peyyum pothum -Renigunta Lyrics English translation




Movie: Renigunta
Song : Mazhai peyyum poodhum
Singer: Harish Raghavendra
On Screen: Johnny, Sanusha
Music: Ganesh Ragavendhran

Lyrics:

மழை பெய்யும் போதும் நனையாத யோகம்...
இது என்ன மாயம் ? யார் செய்ததோ?
நடக்கின்ற போதும் நகராத தூரம்
இது என்ன கோலம் ? யார் சொல்வதோ ?
இது மின்னலா ? இல்லை தென்றலா ?
அறியாமலே அலைபாயுதே..
இது வண்ணமா ? இல்லை வன்மமா ?
விளங்காமலே விளையாடுதே...

மழை பெய்யும் போதும் நனையாத யோகம்...
இது என்ன மாயம் ? யார் செய்ததோ?

சில நேரம் மயிலிறகால் வருடிவிடும்
புனிதமிது ....
சில நேரம் ரகசியமாய் திருடிவிடும்
கொடுமை இது..
மூடாமல் கண்கள் ரெண்டும் தண்டோரா போடும்
பேசாமல் மௌனம் வந்து ஆராரோ பாடும்
பகலிலே தாயை போல தாலாட்டும் காதலே
இரவிலே பேயை போல தலை காட்டும் காதலே!

மழை பெய்யும் போதும் நனையாத யோகம்...
இது என்ன மாயம் ? யார் செய்ததோ?

தொலையாமல் தொலைந்து விடும் நிலைமை இது
முடிவதில்லை...
விலகாமல் தொடர்ந்து வரும் வெளிப்படையாய்
தெரிவதில்லை...
கொல்லாமல் கொல்லும் இது ஊர்கோள சைவம்.
சொல்லாமல் கொள்ளை இடும் பொல்லாத தெய்வம்.
குடையுதே எதோ ஒன்று அது தான் காதலே..
உடையுதே உயிரும் இன்று அது தான் காதலே..

மழை பெய்யும் போது நனையாத யோகம்...
இது என்ன மாயம் ? யார் செய்தது?
நடக்கின்ற போதும் நகராத தூரம்
இது என்ன கோலம் ? யார் சொல்வது ?
இது மின்னலா ? இல்லை தென்றலா ?
அறியாமலே அலைபாயுதே..
இது வண்ணமா ? இல்லை வன்மமா ?
விளங்காமலே விளையாடுதே...

Translation

mazhai peyyum pothum nanaiyaatha yogam
ithu enna maayam yaar seythatho
(Who cast this magic that doesn't let me get wet even when it rains)
nadankirdra pothum nagaratha thooram
ithu enna kolam yaar solvatho
(Who will be able to tell why I am not moving even though I am walking)
ithu minnala illai thendrala
ariyaamalae alaipaayuthae
(Is it a lightning or is it a breeze I am being tormented without understanding it)
ithu vannama..illai vanmamaa?
vilangaamalae vilaiyaaduthae...
(Is it a beautiful color or a cruelty, it is playing with me)

mazhai peyyum pothu nanaiyaatha yogam
ithu enna maayam yaar seythathu....

sila neram mayilirakaay varudividum punithamithu..
sila neram ragasiyamaay thirudividum kodumai ithu...
(sometimes it is a thing of kindness sometimes it is a thing of cruelty)
moodamal kangal rendu thandora podum
pesaamal mounam vanthu aararo paadum
(My eyes refuse to close and want to announce the entire world, The silence feels like a lullaby)
pakalilae thaayai pola thaalattum kadhalae
iravilae peyai pola thalai kattum kadhalae..
(During day love is caring like a mother, During night it harasses like a monster)

mazhai peyyum pothum nanaiyaatha yogam
ithu enna maayam yaar seythatho

tholaiyaamal tholainthu vidum nilamai ithu
mudivathilllai....
(This situation of losing your way with out losing never stops)
vilakaamal thodarnthu varum velipadaiyaay
therivathillai....
(It follows you with out ever letting you go, but you won't be able to see it)
kollamal kollum ithu urgola saivam..
(This thing that kills without killing is a vegan)
sollamal kollai idum pollaatha theyvam
(It is a god that takes without any warning)
kudayuthae etho ondru athuthan kadhalae
(I feel something drilling inside me that must be love)
udayuthae uyirum sernthu athu thaan kadhalae..
(My soul is being shatered that must be love)

mazhai peyyum pothum nanaiyaatha yogam
ithu enna maayam yaar seythatho
nadankirdra pothum nagaratha thooram
ithu enna kolam yaar solvatho
ithu minnala illai thendrala
ariyaamalae alaipaayuthae
ithu vannama..illai vanmamaa?
vilangaamalae vilaiyaaduthae...

Video



Monday, February 9, 2015

Daughter of time Trilogy review

Daughter of Time Trilogy (Daughter of Time #1-3)Daughter of Time Trilogy by Erec Stebbins
My rating: 5 of 5 stars

The Daughter of time scales up science fiction to such extent it looks like fantasy. The story is surreal and is in a way realistic because it is different than any other science fiction I have read.
"Reader" follows the story of Ambra Dawn a human girl who is harvested for the special powers. The under goes torment from her human and alien captors and with the help of allies human and alien is forged into the ultimate weapon.
"Writer" follows Ambra through the eyes of Nitin an Indian soldier and Ambra's lover many years after the events of Reader. Together along with a crew they travel across space to understand a new enemy and ultimately Ambra makes a choice to create a weapon to destroy the enemies.
"Maker" follows Waythrel the Xix who was Ambra's advisor for years across space and time with Klone, the girl who makes brief appearance in "Writer" from creation to destruction of universe clashing with gods of the universe in repeated loops to save the universe.
The books are very vivid the bizarre nature of the alien make the world interesting.The alien life seem to be created on premise the human perception is limited when it comes to what is possible in the universe.

View all my reviews

Wednesday, December 24, 2014

Using Neo4j using core java API

Follow these steps to create a simple graph

Install neo4j  from here

Add the neo4j jar file neo4j-desktop-2.1.6 to the project from the folder Program Files (x86)\Neo4j Community\bin

Sample code

package blog.neo4j;
import java.io.File;
import java.util.Iterator;
import java.util.concurrent.TimeUnit;
import org.neo4j.cypher.javacompat.ExecutionEngine;
import org.neo4j.cypher.javacompat.ExecutionResult;

import org.neo4j.graphdb.DynamicLabel;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Relationship;
import org.neo4j.graphdb.RelationshipType;
import org.neo4j.graphdb.Transaction;
import org.neo4j.graphdb.Label;
import org.neo4j.graphdb.ResourceIterator;
import org.neo4j.graphdb.factory.GraphDatabaseFactory;
import org.neo4j.helpers.collection.IteratorUtil;
import org.neo4j.graphdb.schema.IndexDefinition;
import org.neo4j.graphdb.schema.Schema;
/**
 *
 * @author sony
 */
public class EmbeddedNeo4j {
    private static final String DB_PATH = "target/neo4j-hello-db";

  

    // START SNIPPET: vars
    GraphDatabaseService graphDb;

    // END SNIPPET: vars

    // START SNIPPET: createReltype
    private static enum RelTypes implements RelationshipType
    {
        FOLLOWEDBY,
        FOLLOWEROF,
        TWEETED,
        TWEETED_BY
    }
    // END SNIPPET: createReltype
    private static enum LabelTypes implements Label
    {
        USER,
        TWEET
    }


    void deletePreviousDatabase()
    {
        deleteFileOrDirectory( new File( DB_PATH ) );
    }

    void startDb()
    {
        graphDb = new GraphDatabaseFactory().newEmbeddedDatabase( DB_PATH );
        registerShutdownHook( graphDb );
    }
    void createIndex()
    {
        IndexDefinition indexDefinition,indexDefinition1;
        try ( Transaction tx = graphDb.beginTx() )
        {
            Schema schema = graphDb.schema();
            indexDefinition = schema.indexFor( DynamicLabel.label( "USER" ) )
                    .on( "userid" )
                    .create();
            indexDefinition1 = schema.indexFor( DynamicLabel.label( "TWEET" ) )
                    .on( "tweetid" )
                    .create();
            tx.success();
        }
        try ( Transaction tx = graphDb.beginTx() )
            {
                Schema schema = graphDb.schema();
                schema.awaitIndexOnline( indexDefinition1, 10, TimeUnit.SECONDS );
            }
    }
    
    
    void create_nodes_relationships() 
    {
        try ( Transaction tx = graphDb.beginTx() )
        {
                   //Create nodes
            Node user1=graphDb.createNode(LabelTypes.USER);
            user1.setProperty("Userid", 1);
            user1.setProperty("Name","Siva");
            Node user2=graphDb.createNode(LabelTypes.USER);
            user2.setProperty("Userid", 2);
            user2.setProperty("Name", "Kumar");
            Node user3=graphDb.createNode(LabelTypes.USER);
            user3.setProperty("Userid", 3);
            user3.setProperty("Name", "Priya");

            Node tweet1=graphDb.createNode(LabelTypes.TWEET);
            tweet1.setProperty("Tweetid", 1);
            tweet1.setProperty("Text","Hello");
            Node tweet2=graphDb.createNode(LabelTypes.TWEET);
            tweet2.setProperty("Tweetid", 2);
            tweet2.setProperty("Text", "Hai");
            Node tweet3=graphDb.createNode(LabelTypes.TWEET);
            tweet3.setProperty("Tweetid", 3);
            tweet3.setProperty("Text", "Our lives are not our own. From womb to tomb, we are bound to others. Past and present. And by each crime and every kindness, we birth our future.");
            System.out.println("Nodes created");

            user1.createRelationshipTo(user2, RelTypes.FOLLOWEDBY);
            user1.createRelationshipTo(user2, RelTypes.FOLLOWEROF);
            user1.createRelationshipTo(user3, RelTypes.FOLLOWEDBY);
            user1.createRelationshipTo(user3, RelTypes.FOLLOWEROF);

            user2.createRelationshipTo(user1, RelTypes.FOLLOWEDBY);
            user2.createRelationshipTo(user1, RelTypes.FOLLOWEROF);
            user2.createRelationshipTo(user3, RelTypes.FOLLOWEDBY);
            user2.createRelationshipTo(user3, RelTypes.FOLLOWEROF);

            user3.createRelationshipTo(user2, RelTypes.FOLLOWEDBY);
            user3.createRelationshipTo(user2, RelTypes.FOLLOWEROF);
            user3.createRelationshipTo(user1, RelTypes.FOLLOWEDBY);
            user3.createRelationshipTo(user1, RelTypes.FOLLOWEROF);

            System.out.println("relationship created");

            //select nodes using index
            for(int i=1;i<=3;i++)
            {
                Node user,tweet;
                ResourceIterator nodelist1 = graphDb.findNodesByLabelAndProperty( DynamicLabel.label( "USER" ), "Userid", i).iterator();
                ResourceIterator nodelist2 = graphDb.findNodesByLabelAndProperty( DynamicLabel.label( "TWEET" ), "Tweetid", i).iterator();
                user=nodelist1.next();
                tweet=nodelist2.next();
                user.createRelationshipTo(tweet, RelTypes.TWEETED);
                tweet.createRelationshipTo(user, RelTypes.TWEETED_BY);
            }   
            tx.success();
        }
               
        try ( Transaction tx = graphDb.beginTx() )
        {
               
               ExecutionEngine engine = new ExecutionEngine(graphDb);
               for(int i=1;i<=3;i++)
               {
                ExecutionResult  result=engine.execute( "match (n {Userid: '"+i+"'}) return n" );
                Iterator n_column = result.columnAs( "n" );
                for ( Node node : IteratorUtil.asIterable( n_column ) )
                        {
                            node.setProperty("type", "user");
                        }
               }
               for(int i=1;i<=3;i++)
               {
                ExecutionResult  result=engine.execute( "match (n {Tweetid: '"+i+"'}) return n" );
                Iterator n_column = result.columnAs( "n" );
                for ( Node node : IteratorUtil.asIterable( n_column ) )
                        {
                            node.setProperty("type", "tweet");
                        }
                           
            
                }
               tx.success();
        }             
    }
        
    void removeData()
    {
        try ( Transaction tx = graphDb.beginTx() )
        {         
            for(int i=1;i<=3;i++)
                   {
                       Node user,tweet;
                       ResourceIterator nodelist1 = graphDb.findNodesByLabelAndProperty( DynamicLabel.label( "USER" ), "Userid", i).iterator();
                       ResourceIterator nodelist2 = graphDb.findNodesByLabelAndProperty( DynamicLabel.label( "TWEET" ), "Tweetid", i).iterator();
                       user=nodelist1.next();
                       tweet=nodelist2.next();
                       user.delete();
                       tweet.delete();
                   }

            tx.success();
        }
    }

    void shutDown()
    {
        System.out.println();
        System.out.println( "Shutting down database ..." );
        // START SNIPPET: shutdownServer
        graphDb.shutdown();
        // END SNIPPET: shutdownServer
    }

    // START SNIPPET: shutdownHook
    private static void registerShutdownHook( final GraphDatabaseService graphDb )
    {
        // Registers a shutdown hook for the Neo4j instance so that it
        // shuts down nicely when the VM exits (even if you "Ctrl-C" the
        // running application).
        Runtime.getRuntime().addShutdownHook( new Thread()
        {
            @Override
            public void run()
            {
                graphDb.shutdown();
            }
        } );
    }
    // END SNIPPET: shutdownHook

    private static void deleteFileOrDirectory( File file )
    {
        if ( file.exists() )
        {
            if ( file.isDirectory() )
            {
                for ( File child : file.listFiles() )
                {
                    deleteFileOrDirectory( child );
                }
            }
            file.delete();
        }
    }
    
    private  String[] parseDataRow (String row,int len)
    {
        String properties[] = new String[len];
        row = row.substring(1, row.length()-1);
        //System.out.println(row);
        for(int i=0;i
        {
            //System.out.println(i);
            if(row.charAt(0)=='u')
            {
                if(i!=len-1)
                {
                    boolean flag=false;
                    if(flag=(row.charAt(2)==','))
                    {
                        row = "u"+row.charAt(1)+row.substring(3);
                    }
                    properties[i]=row.substring(2, row.indexOf(row.charAt(1)+","));
                    if(flag)
                    {
                        properties[i] = ","+properties[i];
                    }
                    //System.out.println(properties[i]);
                    row=row.substring(row.indexOf(row.charAt(1)+",")+3);
                    //System.out.println(row);
                }
                else
                {
                    properties[i]=row.substring(2,row.length()-1);
                    //System.out.println(properties[i]);
                }
                
            }
            else
            {
                if(i!=len-1)
                {
                    properties[i]=row.substring(0, row.indexOf(","));
                   //System.out.println(properties[i]);
                    row=row.substring(row.indexOf(",")+2);
                    //System.out.println(row);
                }
                else               
                {
                    properties[i]=row;
                    //System.out.println(properties[i]);
                }
                
            }
        }
        return properties;
    }
    
    
}


Net-beans project implementing the source code can be found  here

The output of the project will be created in folder blog neo4j\target\neo4j-hello-db 
the data base can be viewed in  neo4j browser

sample output

    


Friday, November 28, 2014

creating a Fuzzy Inference system using Jfuzzylogic

I followed these steps to create a fuzzy inference system
first download jfuzzylogic jar file from  Jfuzzylogic
create a fcl file to give input to the FIS a sample file can be used from here
The file was created based on an example in the textbook PRINCIPLES OF SOFT COMPUTING by Sivanandham

put the fcl and jar file in same folder.
 Eclipse plugin install instructions 
        - Open Eclipse         - Menu Help -> Install new software         - Click on Add        - Name: jFuzzyLogicUpdateSite         - Location: http://jfuzzylogic.sourceforge.net/eclipse/        - Click OK and follow the instructions.


to run the FIS enter command java -jar jFuzzyLogic.jar -e test1.fcl 8.5 9 in the command prompt i,n folder containing the jFuzzylogic jar file test1.fcl is the input fcl and 8.5 and 9 are the input values.

screenshots of input



Screen shot of output


Sunday, October 26, 2014

Poojai movie review



Same old Hari formula.A fast screenplay that make all the meaningless sequence bearable .Can be watched one time and I didn't get bored through the movie,and in the end it was slightly okish.I felt the movie was somewhat like a telugu masala film may be it was intentional since the movie is being dubbed and released in Telugu.  Sruthi Hassan doesn't show good acting but she has limited character scope in the story so she manages.Vishal is in his usual form and  shows decent acting.I think this movie is better watched in theater not because it is great but because it fits theater viewing than home movie.

Wednesday, October 1, 2014

Salem’s Revenge strikes without warning or mercy, ravaging the powerless human race under the forces of united gangs of witches, wizards, and warlocks. During the slaughter, Rhett Carter's foster parents and sister are killed, and his best friend and girlfriend are abducted by a gang of witches calling themselves the Necromancers, who deal in the dark magic of raising the dead. Rhett’s sword-wielding neighbor with a mysterious past saves Rhett from becoming another casualty of the massacre and teaches him the skills he needs to survive in this new world. Rhett is broken, his normal high school life of book blogging and football playing shoved in a witch-apocalyptic blender. The only thing he has left is his burning desire for revenge. Armed with his new witch hunting skills and a loyal, magic powered dog named Hex, he sets out into the unknown with one mission: hunt and destroy those who took away everyone he ever loved.
But Rhett isn’t just a witch hunter; He has secrets of his own that he has yet to discover, secrets that his enemies will stop at nothing to keep him from. And discovering the truth about himself is the human race’s only hope.
Revenge. That’s all that’s left for witch hunter Rhett Carter. The magic-born have stripped everything from him - killed his friends, cursed his warlock father, shattered his future - leaving him bare and broken, but not dead. Their mistake. When Rhett and Laney are suddenly thrust in different directions, Rhett must decide who to trust and who to kill. Backed by his trusty canine sidekick Hex, Rhett will embark on his deadliest mission yet, one that will lead him directly toward those who want him dead, pushing his unique resistance to magic to the edge and back again as he tries to remove his father’s curse. Separated from Rhett, Laney seeks to understand the strange changes to her sister, Trish, who’s believed to be the last living Clairvoyant, and what role she’s destined to play in the future of humankind. Wrapped around everything are four major groups: the Necromancers, the Changelings, the witch hunters, and New America, the remnants of humanity. When the major forces are brought together for an epic battle, the fate of the world hangs in the balance.
https://www.goodreads.com/series/115327-salem-s-revenge Click to purchase BREW http://www.amazon.com/Boil-Salems-Revenge-Book-2-ebook/dp/B00NXFPMPC/ref=sr_1_1?s=digital-text&ie=UTF8&qid=1411722568&sr=1-1&keywords=Boil+Estes
Get both Brew and its sequel, Boil, the first two books in the Salem's Revenge series, for a special price of $0.99 each for a limited time only (Amazon Kindle exclusive: Brew until October 17th; Boil until October 7th) Click on the above buttons to take advantage of this limited time deal!

Goodreads  ●  David's Blog  ●  Twitter  ●  Facebook  ●  Tumblr  and his  Goodreads Fan Group      
David Estes was born in El Paso, Texas but moved to Pittsburgh, Pennsylvania when he was very young. David grew up in Pittsburgh and then went to Penn State for college. Eventually he moved to Sydney, Australia where he met his wife. They now live together in their dream location, Hawaii. A reader all his life, he began writing novels for the children's and YA markets in 2010, and started writing full time in June 2012. Now he travels the world writing with his wife, Adele. David's a writer with OCD, a love of dancing and singing (but only when no one is looking or listening), a mad-skilled ping-pong player, and prefers writing at the swimming pool to writing at a table.
http://www.amazon.com/Fire-Country-The-Saga-Book-ebook/dp/B00B7VTXFO https://www.goodreads.com/book/show/16160701-fire-country
To celebrate the launch of Brew and Boil, David Estes is also giving away FREE Kindle copies of his popular YA dystopian AND adventure book, Fire Country. Just click the above link to nab your free copy.

Monday, September 22, 2014

Mary Kom review


9*/10
I really liked the movie very much but I will list the flaws first

Ridiculous product placement that are too obvious.The makers don't event try to hide that they have placed advertisements in the movie. Too many clichés from all sports films.We can find all the usual dramatizations of sports like a villainous opponent,hero(ine) falling and raising just before the bell to win the match etc.
may be just two but these are really spoilers for the movie
The good thing about the movie. Priyanka Chopra's Acting . The character of Mary Kom. Beautiful picturization of Mizoram. Mary Kom is a very powerful character and Priyanka Chopra does justice for the character.Her portrayal of mother torn between sons and career is amazing.
Whatch the movie I you like priyanka,Mary Kom Boxing,cool visuals etc.

Thursday, September 11, 2014

Defuzzification

Defuzzification is the process of conversion of fuzzy values into crisp(Non-fuzzy) values. This is required because a number of engineering application cannot use the fuzzy values for processing.It can be considered rounding off .

Methods for Defuzzification

1.      Lambda-cuts

2.      Max-membership principle

3.      Centroid method

4.      Weighted average method

5.      Mean-max membership

6.      Center of sums

7.      Center of largest area

8.      First of maxima , last of maxima

Lambda-cuts

Aλ is the lambda cut of fuzzy set A it is defined as

Weak lambda cut

Aλ ={x| μ A (x) ≥ λ}; λ ∈[0,1]

Strong lambda cut

Aλ ={x| μ A (x) > λ}; λ ∈[0,1]

Max-membership principle

Also known as height method limited to peak output functions.

μ C (x*) ≥ μ C (x) for all x ∈ X

 

Centroid method

Most commonly used method. Also known as center of are or center of gravity method.

x* = image

 

Weighted average method

This method is valid for symmetrical output membership function only. The function is weighted by its maximum membership value.

x*=image

Mean-max membership

Also known as middle of maxima. Related to max-membership method, except that the locations of the maximum membership can be nonunique.

clip_image002[4]

Center of sums

This method employs algebraic sum of individual fuzzy subsets instead of their union. The calculations here are very fast, but the common areas are added twice.

clip_image004[4]

Center of largest area

This method can be used when output consists of at least two convex fuzzy subsets which are not overlapping. The defuzzified value is the center of gravity of the largest area.

clip_image006[4]

Ci  is the largest area.

First of maxima , last of maxima

The first or last value with maximum value is selected

The steps involved are

clip_image008[4]

clip_image010[5]

clip_image012[5]