Predictive modeling is the process by which a model is created or chosen to try to best predict the probability of an outcome. Most often it wants to predict is in the future or unknown event. The model is chosen on the basis of detection theory. Models can use one or more classifiers. Models There are three predictive models Parametric ...

Gaussian function Gaussian function is a function of the below form a, b, c and d are arbitrary real constants. The graph of a Gaussian is a characteristic symmetric "bell curve" shape that quickly falls off. The parameters a is the height of the curve's peak b is the position of the center of the peak c (the standard deviation, sometimes called ...

Installing external package for canopy / (python) 1. Go to Package Manager in Canopy, then go to Canopy Command prompt 2. In CMD enter pip install --upgrade https://pypi.python.org/packages/source/p/pykalman/pykalman-0.9.5.tar.gz (Here you can find some python packages) Editor Now Write code in edit with kalman 1 from pykalman import KalmanFilter 2 import numpy as np 3 print 'start'; 4 5 kf = KalmanFilter(transition_matrices = [[1, 1], [0, 1]], observation_matrices ...

Regular Expressions with Python Regular expressions are a powerful language for matching text patterns. This post will explain regular expressions by Python. The Python "re" module provides regular expression support. match = re.search(pattern, string) If the search is successful, search() returns a match object or None otherwise. 1 import re2 3 string1 = 'Regular expressions are a powerful language for matching text patterns'4 match ...

Python Code for File reading To express the statements we can used the print statement or the write() method of file. Now we will read from file and write that content to file. Reading File 1 fd = open("D:/Research/python/test.log", "r+") 2 print fd.read(4)3 print fdOut put Write to file1 fd = open("D:/Research/python/test.txt", "w+") 2 fd.write("This is a test file.\n")3 fd.close()fd.readline() reads a single line from ...

Estimation Theory Estimation theory is a branch of statistics that deals with estimating the values of parameters based on measured/empirical data that has a random component. An estimator attempts to approximate the unknown parameters using the measurements. we can see 'estimation theory' in used in real world in radar for estimating the transit time and predicating tool such as voting in election. ...

AngularJS and solr var app = angular.module("app", []); app.controller("AppCtrl", function($http,$scope) { var app = this; app.lastName = 'aaaa'; $http( {method: 'JSONP', url: 'http://localhost:8983/solr/select?q=httpmethod:GET&rows=10&wt=json', params:{'json.wrf': 'JSON_CALLBACK'} }) .success(function(data) { var docs = data.response.docs; console.log('search success!'); console.log(data.response.docs); app.lastName = data.response.docs[0].hostip; }).error(function() { console.log('Search failed!'); }); }) ...

Apache Solr and Search Introduction It is open source enterprise search platform from the Apache Lucene. Its major features include text search hit highlighting faceted search near real-time indexing dynamic clustering database integration rich document (e.g., Word, PDF) handling geospatial search Solr runs as a standalone full-text search server within a servlet container. Solr uses the Lucene Java search library at its core for ...

Fundamental building blocks of event processing There are seven fundamental building blocks of event processing. Some building blocks contain references to others. The event producer represents an application entity that emits events into the event processing networks (EPN) The event consumer is an application entity that receives events, Simply it consumes an event The event processing agent building block represents a piece of intermediary event processing ...

Switching Activities in Android (tutorial 03) New activity when the user clicks the button. Here I will improve last sample code 1. Create a new activity 2. You can see new UI for 2nd activity and then we change string value as below 3. In MainActivity.java we can added below line to switch activity. (there are few ways to achieve it, this only one way) 1 ...

Android Applications Development in 15min  (tutorial 02) Last Post (tutorial 01) was on Android Software Stack and Terminology[1]. This post will for beginner on Android applications, This post will teach you fast mobile application development from Android Developer Tools (ADT) are based on the Eclipse IDE. 1. Start ADT and then go file—> new –> Android Applications Project 2. Follow the wizard with give project name (other ...

Android Software Stack and Terminology (tutorial 01) Android system software full stack Android system software stack is typically divided into the four areas as following graphic Terminology Android Software Development Kit (Android SDK) contains the necessary tools to create, compile and package Android applications Android debug bridge (adb), which is a tool that allows you to connect to a virtual or real Android device Google provides two ...

Anomaly Detection : A Survey This post is summary of the “Anomaly Detection : A Survey”. Anomaly detection refers to the problem of finding patterns in data that do not conform to expected behavior. These non-conforming patterns are often referred to as anomalies, outliers, discordant observations, exceptions, aberrations, surprises, peculiarities or contaminants in different application domains. Anomalies are patterns in data that do not conform ...

Using Hardware Devices to Run Android App from IDE in Windows 8 Post describes how to set up your development environment and Android-powered device for testing and debugging on the device. I am using windows 8 for this post and device is GT-S7582 1. Enable USB debugging on your device.On Android 3.2 or older, you can find the option under Settings > Applications > DevelopmentOn Android 4.0 and newer, it's in Settings ...

Event-based programming This post look on how applications components typically interact. Event-based programming, also called event-driven architecture (EDA) is an architectural style in which one or more components in a software system execute in response to receiving one or more event notifications. 1. Request-response interactions Client formulate a request, It is sent across the internet to a web server. Client wait while ...

Today we can find number of styles of event processing languages in used. Rule-oriented languages that use production rules Rule-oriented languages that use active rules Rule-oriented languages that use logic rules Imperative programming languages Stream-oriented languages that are extensions of SQL Other stream-oriented languages Now we will categorized existing CEP products or engines in to above list Language style Language ...

Weka with Associations 1. Open data file (supermarket) 2. In our data we can find 217 attribute and 4,627 Instance means transactions. 3. Here I am investigate data with Weka view There is no much mean of department attribute since we looking items that is purchased. As you can see, it is big data set; 4627 * 217 = It is big data ...

Introduction to event processing Last week post was on 'Major Areas of Event Processing' and this post will continue which was there. This post describe the concepts be hide event processing and it can be consider as entry point for event processing concepts. Event What is event? An event is an occurrence within a particular system or domain; it is something that has happened, ...

WSO2 CEP  - Samples Download wso2 CEP version that you need to try out. http://wso2.com/more-downloads/complex-event-processor/Here I will be using wso2cep-3.1.0 CEP sample one 0001 This sample demonstrates how to filter incoming event attributes and add them to another stream using simple pass-through with WSO2Event adaptor. There is no Siddhi query. It is simple pass through. 1. Start CEP with sample by command of ‘wso2cep-samples.bat ...

Previous Page