Here we will be using CouchDB (developer-preview 2.0). You can build couchDB with preview guide line in here. https://couchdb.apache.org/developer-preview/2.0/ After built is success, you can start couchDB from 'dev/run' Above command starts a three node cluster on the ports 15984, 25984 and 35984. Front ports are 15986, 25986 and 35986. Using front port to check the nodes by http://localhost:15986/nodes Then ...
Apache Zeppelin (incubator) is a collaborative data analytics and visualization tool for Apache Spark, Apache Flink. It is web-based tool for the data scientists to collaborate over large-scale data exploration. Zeppelin is independent of the execution framework. Zeppelin integrated full support of Apache Spark so I will try sample with spark in it's self. Zeppelin interpreter allows any language/data-processing-backend to ...
This post mainly about installing and running ‘Fauxton’ in windows environment. Fauxton is the new Web UI for CouchDB. For this post I will be using windows 8 (64bit). Prerequisite for Fauxton 1. nodejs (Download from here) 2. npm (now npm comes with node) 3. CouchDB (Installation from binaries or sources. I will have post on installing couch DB from ...
Flask is a lightweight web application framework written in Python. Flask depends on two external libraries, Werkzeug and Jinja2. Werkzeug is a toolkit for Web Server Gateway Interface (WSGI) Jinja2 renders templates Flask is called as microframework because it keeps the core simple. It has no database abstraction layer, supports extensions (object-relational mappers, form validation, open authentication technologies). It have ...
Throughout this post I will take you over the fundamental mechanics of interacting with the data contained in a Series or DataFrame in pandas(python). Reindexing Reindexing is a critical method on pandas objects. 'Reindexing' means to create a new object with the data conformed to a new index. Here is my object that I will be using for this post ...
Pandas is a software library written for the Python programming language for data manipulation and analysis. In many organizations, it is common to research, prototype, and test new ideas usinga more domain-specific computing language like MATLAB or R then later port those ideas to be part of a larger production system written in, say, Java, C#, or C++. Whatpeople ...
Python is an interpreted dynamically typed Language with very straightforward syntax. Python comes in two basic versions one in 2.x and 3.x and Python 2 and 3 are quite different. This post is bais for Python 2.x In Python 2, the "print" is keyword. In Python 3 "print" is a function, and must be invoked with parentheses. There are no ...
CSV (Comma Separated Values) format is the most common format in computer world (export and import). In python 'csv module' implements classes to read and write tabular data in CSV format without knowing the precise details of the CSV format used by Excel. Here it is reading csv file and filtering data in it. Create new CSV file and moved ...
1.Open the terminal and download the 'apache-maven-3.3.1-bin.zip'wget http://mirrors.sonic.net/apache/maven/maven-3/3.3.1/binaries/apache-maven-3.3.1-bin.zip 2. Unpack the binary distributionunzip apache-maven-3.3.1-bin.zip 3. Move the apache maven directory to /usr/localsudo cp -R apache-maven-3.3.1 /usr/local/ 4. Adding PATH and MAVEN_HOMEgedit .bashrc OR vi .bashrc Then add two of them as belowexport PATH="/usr/local/apache-maven-3.3.1/bin:/opt/java/jdk1.8.0_40/bin:$PATH"export MAVEN_HOME="/usr/local/apa
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 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 ...
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 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 ...
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 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. ...
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 ...
Checking max number of MySQL Connection show variables like 'max_connections'; Let increase the size of connection count 250 SET global max_connections = 250; Max size of increment size is up to 100,000
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 ...
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 ...