Tuesday, 2 October 2018

How to Overcome Self-Destruction in life?

What are the 7 Self-Destruction in life?
1. Shame - Destroyer of Happiness
2. Uncontrolled thoughts
3. Compulsion - Inner drive, inner desire , lust & habits
4. Fear
5. Hopelessness - Keep you from moving on, discouragement in life, hopeless of finance & health.
6. Bitterness - Jealous, envy which can be a known as cancer into your life.
7.Insecurity - Cause you to do foolish thing.

How do we deal with Self-Destruction ? Read Romans 8. One of the best antidote. It taught us to develop 7 mental habits:

1. Remind myself daily for what Jesus did for me. Remind myself what is salvation mean to me as Holy Spirit has set me from shame.

2. Renewing your mind by giving access to the Holy Spirit.  Ask the holy spirit  to give you better thought which revolve around love and peace. There are two sets of mindset (Mindset of your nature vs Mindset of the Holy Spirit). If you choose the mindset of a sinful man, it bring you to self destruction. But, if you choose the mindset of the holy spirit it bring you happiness.   If you have something you can't resist it, find something to replace it.

3. Realised that you have the ability to say 'NO'. In Galatians 5:16 ( Don't let your sinful nature crave you).

4. Turn you thoughts to God whenever you are afraid. Stop focusing on your fear but start focusing on your heavenly Father.  2 Timothy 1:7 (For God has not given us a spirit of fear and timidity, but of power, love, and self-discipline.)

5. Focus on the long-term not the short term. Short term thinking bring failure to life but long term thinking is about eternity.

6.God is good and in control.  Everything in the world is broken, is suffering and is pain, is frustrated because sins broke it all down.  However, remember that the Holy Spirit always pray for us, He is using every good of you, He want you to succeed and He will give what you need.

7. Trust that God will never stop loving you. Remember you can lose everything in life, but don't lose your salvation.

Wednesday, 15 October 2014

Friday, 12 September 2014

A Journey of Faith

A journey of faith

Sabah Mission Trip is one of the most exciting mission trips I have ever experienced. It was my first time being   in the mission field, not knowing what the people expected over there. As stated in Hebrew 11:8, God called Abraham to go to an unknown land. Abraham packed up, left the familiar, and went to the place where God wanted him to be. Although Abraham knew how to care for himself, he would be exposed to many dangers and uncertainties as a result of his following the call of God.

A mission call was given to me when God show me His agenda for the people over at Sabah.  As a missionary, I must have an unwavering trust in God and obedience to His call.  I sense that there is a need to maintain a delicate balance between the individual missionary’s intrinsic sense of call and the mission assignment suggested or required by the mission team.

It was not in my wildest dreams that I would imagine myself as a preacher for this mission trip. It was the Holy Spirit whose lead me into sharing God words to the people over there. Everything I had prepared, all went well as God was the tasks maker.   Although the message was short, the Holy Spirit touched the people and there was a need for them to re-submit themselves to God.  It was that time, where God show me the passage from Ephesian 4:22-24, where one have to let go of their old-self, renew their mind, and to put on the new self.

This mission trip has taught me many things as I flashback what God has taught me throughout my journey with Him.  I’ve learned that I need to be alert at all times and be ready for God agenda by obeying His call.  Secondly, is to trust in Him that by believing that He will give me the wisdoms and strengths when all things fails.  Finally, is to maintain God’s perspective that has to do with seeing the short-term and the long-term picture for this ministry.  There are still many things that are yet to be done for the people in Sabah, not just for the people at Kampung Sipitang but to other Kampung as well.

For year 2015 plan, I plan to visit other villages in Sabah as well as those villages in Cameron Highland.  So, let the journey begin…
 Joseph

Tuesday, 18 December 2012

A journey of faith




A journey of faith

Sabah Mission Trip is one of the most exciting mission trips I have ever experienced. It was my first time being   in the mission field, not knowing what the people expected over there. As stated in Hebrew 11:8, God called Abraham to go to an unknown land. Abraham packed up, left the familiar, and went to the place where God wanted him to be. Although Abraham knew how to care for himself, he would be exposed to many dangers and uncertainties as a result of his following the call of God.

A mission call was given to me when God show me His agenda for the people over at Sabah.  As a missionary, I must have an unwavering trust in God and obedience to His call.  I sense that there is a need to maintain a delicate balance between the individual missionary’s intrinsic sense of call and the mission assignment suggested or required by the mission team.

It was not in my wildest dreams that I would imagine myself as a preacher for this mission trip. It was the Holy Spirit whose lead me into sharing God words to the people over there. Everything I had prepared, all went well as God was the tasks maker.   Although the message was short, the Holy Spirit touched the people and there was a need for them to re-submit themselves to God.  It was that time, where God show me the passage from Ephesian 4:22-24, where one have to let go of their old-self, renew their mind, and to put on the new self.

This mission trip has taught me many things as I flashback what God has taught me throughout my journey with Him.  I’ve learned that I need to be alert at all times and be ready for God agenda by obeying His call.  Secondly, is to trust in Him that by believing that He will give me the wisdoms and strengths when all things fails.  Finally, is to maintain God’s perspective that has to do with seeing the short-term and the long-term picture for this ministry.  There are still many things that are yet to be done for the people in Sabah, not just for the people at Kampung Sipitang but to other Kampung as well.

For year 2013 plan, I plan to visit other villages in Sabah as well as those villages in Cameron Highland.  So, let the journey begin…
 Joseph

x

Friday, 28 September 2012

Bayesian Filtering Architecture



How Bayesian Filtering work?

First of all, there is need to tokenize the email, by separating the message in the email body into small parts. After the message being tokenized, the next process is to map them into the dictionary table which is also known as the frequency table. In this frequency table, the number occurrences of the same words will be analyzed. Then, the probability of the email will be calculated using the Bayes’ theorem rule by categorize whether the words or tokens is spam or non-spam.


The final step is to modify the values of the token in the dictionary, for example, by setting the threshold level by removing fewer frequent items. This process, however, gives a better impact in filtering the binary message. While sometimes binary results are not required, it will still be able to produce the probability of bulk mail being spam. This probability can work in many ways, but most of the Bayesian filtering implemented today will be based on this: those messages that message that are under 0.5% will be judged as non-spam. While the message above the rate of 0.5% which is 0.5%-1% will be judged as possible spam.

How to extract message using N-Gram?
In the N-Gram extraction approach, frequent tokens such as phrased word are extracted for the use of corpus training. Let 1, g2, gL) be the ordered list (in decreasing frequency) of the most frequent n-grams of the training corpus. Then, each message is represented as a vector of length L<>1, x2, ....., xL>, where xdepends on gi. Two text representation approaches is used in N-Gram process:
1.   Binary: The value of xi may be one (if gi is included at least once in the message) or zero (if gi is not included in the message.
Term Frequency (TF): The value of xcorresponds to the frequency of occurrence (normalized by the message length) of gin the message

How to test the filter?

By using the filter for testing, first the probability is calculated as described below in figure 1, and according to its results the records in the token dictionary are modified. At this point, the value is initialized to one (for the case, where none of the words are matching from the token dictionary).ALL (no. of all e-mails) = SPAM +HAM (number of legitimate letters, added to the number of all spam letters).
-----------------------------------------------------------------------------------------------------------------
-       LLet us call a word “matching word”, if the word has existed both in the letter and in the token          dictionary.
-       (“matching words” | “letter is spam” ) = for all matched words (Nvalue of the current word / SPAM).
-      P (“matching words” | “letter is legitimate”) = for all matched words (N2value of the current word / SPAM).
-        P (“letter is spam”) = SPAM/ ALL.
-        P (“letter is legitimate”) = HAM/ ALL.
-        P (“letter is spam” | “matching words”) = P(“letter is legitimate”) * P(“matching words” | letter   is legitimate”)
-        Fi Final result : P (“letter is spam” | “matching words”) /
P (“letter is legitimate” | “matching words”)


   For more information about the coding, kindly email me or message me. Cheers =)

Thursday, 27 September 2012

Support Vector Machine Architecture



Introduction to SVM

A support vector machine (SVM) is a computer algorithm that classifies a given example by assigning labels to objects through a number of training examples (William, 2006). This algorithm consists of classification and regression algorithms, which were developed by Vapnik and it is gaining popularity due to many attractive features, and its promising empirical performance. For instance, an SVM can be used in the game development by clustering around the graphics into 3D graphic. Alternatively, an SVM can detect handwritten digits by examine large collection of scanned images of handwritten zeroes, ones and so forth (William, 2006).
SVM algorithms are often based on the Structural Risk Minimization (SRM) principle from statistical learning theory. The role of the SRM is to find an optimal hyper lane for which the lowest true error can be guaranteed. This framework has developed into an e learning algorithm when trained from a finite data set, and formed the ‘true’ performance when used in practice.
For a details explaination on how SVM work, you can download this project which written by me for my Final Year Project at http://rapidshare.com/files/253305852/SVM.docx.html.Anyway, please quote a reference, if you want to take this for future research & development. Thank you.
If you have problem downloading the file, please kindly send me your email and I will post it to you. Cheers =)