This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THe category-based scores are independent of the other. WNFE obtained 0.599 from 2000 | |
features; this value makes it better than the PNTFA approach but not as good as ICBA approach. | |
PNTFA obtained the lowest f-measure value (0.475) from 500 features and the highest f-measure | |
value (0.515) using 9052 features. However, when statistical analysis was performed, there was | |
no difference between the result of 500 features and 9052 features. Thus, the f-measure value 0.475 | |
(obtained using 500 features) was used. Merging best feature approach obtained an f-measure value of 0.661 | |
from 2557 features. It was not as precise a score as is achieved by the collective-based approach. | |
The overall result of the multi feature experiment is in table 2. The collective-based approach incorporates | |
the collection of all kinds of features. The highest f-measure value achieved using that method was 0.705, using 20000 features. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
format.js do | |
@order = params[:orders]} | |
end | |
format :js { render :action => 'create', :locals => {:order => params[:orders]}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = angular.module('plunker', []); | |
app.controller('MainCtrl', function($scope) { | |
$scope.name = 'World'; | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brand new slice as root: | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libxml2-dev libxslt-dev libreadline6-dev libyaml-dev libmysqlclient-dev | |
cd /tmp | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | |
tar -xvzf ruby-2.1.2.tar.gz | |
cd ruby-2.1.2-p<tab> | |
./configure --prefix=/usr/local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NOTE: ng-app="plunker" + AngularUI module dependency | |
var app = angular.module('map-app', []); | |
app.controller('MapCtrl', function($scope) { | |
$scope.address = function() | |
{ | |
out = ""; | |
if( $scope.location.street1 != undefined ) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libmysqlclient-dev libyaml-dev | |
export RUBY_MAJOR_VER='1.9' | |
export RUBY_FULL_VER='ruby-1.9.3-p194' | |
export RUBY_GEMS_VERSION='1.7.2' | |
cd /tmp | |
wget http://rubyforge.org/frs/download.php/74619/rubygems-1.7.2.tgz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# based on http://railscasts.com/episodes/339-chef-solo-basics?autoplay=true | |
# Some of my clients' projects are still on 1.8 | |
# expects to be run on Ubuntu 12+ | |
export RUBY_MAJOR_VER='1.8' | |
export RUBY_FULL_VER='ruby-1.8.7-p358' | |
export RUBY_GEMS_VERSION='1.6.2' |