Skip to content

Instantly share code, notes, and snippets.

View natemcmaster's full-sized avatar

Nate McMaster natemcmaster

View GitHub Profile
Missing teams:
Jackson St.
Utah Valley St.
Southwest Missouri St.
Albany
Washington St.
Arkansas Pine Bluff
Toledo
Middle Tennessee St.
=== Run information ===
Scheme:weka.classifiers.functions.MultilayerPerceptron -L 0.05 -M 0.9 -N 1000 -V 16 -S 0 -E 20 -H i
Relation: joined_team_states-weka.filters.unsupervised.attribute.Remove-R2
Instances: 839
Attributes: 77
WinLoss
home_Blocks
home_FieldGoals
home_FieldGoalsAttempted

Use the 2014.arff to test and all_season_games_plus_kenpom.arff for training (drop wscore and lscore)

var istanbul = require('browserify-istanbul');
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine', 'browserify'],
files: [{
pattern: 'server/js/**/*.js',
included: false
},
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
.profile {
background: url('landen.png');
height: 100px;
width: 100px;
sudo apt-get install -y automake libtool curl
curl -sSL https://github.com/libuv/libuv/archive/v1.4.2.tar.gz | sudo tar zxfv - -C /usr/local/src
cd /usr/local/src/libuv-1.4.2
sudo sh autogen.sh
sudo ./configure
sudo make
sudo make install
sudo rm -rf /usr/local/src/libuv-1.4.2 && cd ~/
sudo ldconfig
using System;
using System.Net.Http;
using System.IO;
using System.IO.Compression;
namespace testzip
{
class MainClass
{
public static void Main (string[] args)
@natemcmaster
natemcmaster / MyContext.cs
Created June 19, 2015 19:46
EF Issue 2057
using Microsoft.Data.Entity;
namespace ConsoleApp1
{
public class MyContext : DbContext
{
public DbSet<Address> Addresses { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="AspNextVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" />
<add key="Npgsql" value="https://www.myget.org/F/npgsql-unstable/api/v2" />
</packageSources>
</configuration>
System.InvalidOperationException : The provider for the source IQueryable doesn't implement IAsyncQueryProvider. Only providers that implement IEntityQueryProvider can be used for Entity Framework asynchronous operations.
System.InvalidOperationException : The EF.Property<T> method may only be used within LINQ queries.
System.ArgumentException : Expression of type 'System.Collections.Generic.IEnumerable`1[Microsoft.Data.Entity.Query.QueryResultScope`1[Microsoft.Data.Entity.FunctionalTests.TestModels.Northwind.Order]]' cannot be used for parameter of type 'System.Linq.IQueryable`1[Microsoft.Data.Entity.FunctionalTests.TestModels.Northwind.Order]' of method 'System.Linq.IQueryable`1[Microsoft.Data.Entity.FunctionalTests.TestModels.Northwind.Order] AsNoTracking[Order](System.Linq.IQueryable`1[Microsoft.Data.Entity.FunctionalTests.TestModels.Northwind.Order])'
System.ObjectDisposedException : The object was used after being disposed.