This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<AdminDeploymentCustomizations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment"> | |
<BundleCustomizations TargetDir="C:\Program Files (x86)\Microsoft Visual Studio 14.0" NoCacheOnlyMode="default" NoWeb="default" NoRefresh="default" SuppressRefreshPrompt="default" Feed="default" /> | |
<SelectableItemCustomizations> | |
<SelectableItemCustomization Id="TypeScriptV6" Selected="no" FriendlyName="TypeScript 1.7.6.0 for Visual Studio 2015 Update 1" /> | |
<SelectableItemCustomization Id="VSUV1" Hidden="no" Selected="yes" FriendlyName="Visual Studio 2015 Update 1" /> | |
<SelectableItemCustomization Id="VSUV1PreReqV1" Selected="yes" FriendlyName="Visual Studio 2015 Update 1 Prerequisite" /> | |
<SelectableItemCustomization Id="MicroUpdateV1.2" Selected="yes" FriendlyName="Update for Microsoft Visual Studio 2015 (KB3110221)" /> | |
<SelectableItemCustomization Id="WebToo |
This file contains 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
def time_groups_to_plot_elements(slices, nbins=9): | |
"""Take the grouped time-sentiment relationships, and break it down into a single point/line for the plot""" | |
plot_data = {} | |
bins = np.linspace(-1.0, 1.0, nbins) | |
print bins | |
for k, v in slices.items(): | |
binned_data = np.digitize(v["sentiment"], bins=bins) - 1 | |
segments = np.zeros(nbins) | |
for bin_id in set(binned_data): | |
segments[bin_id] = v["sentiment"][binned_data==bin_id].count() |
This file contains 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
diff --git a/jquery.facetview.js b/jquery.facetview.js | |
index 405caf7..4e063fd 100644 | |
--- a/jquery.facetview.js | |
+++ b/jquery.facetview.js | |
@@ -589,7 +589,7 @@ search box - the end user will not know they are happening. | |
var filters = options.facets; | |
var thefilters = ''; | |
for ( var idx = 0; idx < filters.length; idx++ ) { | |
- var _filterTmpl = '<table id="facetview_{{FILTER_NAME}}" class="facetview_filters table table-bordered table-condensed table-striped" style="display:none;"> \ | |
+ var _filterTmpl = '<table id="facetview_{{FILTER_NAME}}" class="facetview_filters table table-bordered table-condensed table-striped"> \ |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Example</title> | |
<script type="text/javascript" src="vendor/jquery/1.7.1/jquery-1.7.1.min.js"></script> | |
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css"> | |
<script type="text/javascript" src="vendor/bootstrap/js/bootstrap.min.js"></script> |
This file contains 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
{ | |
"metadata": { | |
"name": "QSTEM_simDemo" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
NewerOlder