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
open System | |
open System.IO | |
#r @"C:\Program Files (x86)\CenterSpace\NMath 6.2\Assemblies\NMath.dll" | |
open CenterSpace.NMath | |
open CenterSpace.NMath.Core | |
open CenterSpace.NMath.Analysis | |
// A farmer has 640 acres of farmland. It can be planted with wheat, barley, corn or a |
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
#r "../packages/Elasticsearch.Net.2.0.4/lib/net46/Elasticsearch.Net.dll" | |
#r "../packages/NEST.2.0.4/lib/net46/Nest.dll" | |
#r "../packages/Newtonsoft.Json.8.0.2/lib/net45/Newtonsoft.Json.dll" | |
open System | |
open System.Linq | |
open Nest | |
module Utils = | |
open Microsoft.FSharp.Quotations |
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
#r "../packages/Neo4jClient.1.1.0.28/lib/net45/Neo4jClient.dll" | |
#r "../packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.dll" | |
open System | |
open System.Collections.Generic | |
open System.Linq | |
open Microsoft.FSharp.Quotations | |
open Microsoft.FSharp.Linq.RuntimeHelpers | |
open System.Linq.Expressions |
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
open System | |
open Neo4jClient | |
open System.Linq | |
[<CLIMutable>] | |
type Person = { Name:string; Twitter:string } | |
[<CLIMutable>] | |
type Knows = { How:string } |
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
// link to competition: https://www.kaggle.com/c/whats-cooking/ | |
//reference deelde with fsharp charting | |
#r "../packages/Deedle.1.2.4/lib/net40/Deedle.dll" | |
#r "../packages/FSharp.Charting.0.90.12/lib/net40/FSharp.Charting.dll" | |
#I "../packages/FSharp.Charting.0.90.12" | |
#load "FSharp.Charting.fsx" | |
#r "../packages/Newtonsoft.Json.7.0.1/lib/net45/Newtonsoft.Json.dll" | |
open System |
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
// data from http://archive.ics.uci.edu/ml/machine-learning-databases/secom/ | |
// reference accord framework | |
#r "../packages/Accord.3.0.2/lib/net45/Accord.dll" | |
#r "../packages/Accord.Controls.3.0.2/lib/net45/Accord.Controls.dll" | |
#r "../packages/Accord.IO.3.0.2/lib/net45/Accord.IO.dll" | |
#r "../packages/Accord.Math.3.0.2/lib/net45/Accord.Math.dll" | |
#r "../packages/Accord.Statistics.3.0.2/lib/net45/Accord.Statistics.dll" | |
//reference deelde with fsharp charting | |
#r "../packages/Deedle.1.2.4/lib/net40/Deedle.dll" | |
#r "../packages/FSharp.Charting.0.90.12/lib/net40/FSharp.Charting.dll" |
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
// Inspired by http://arxiv.org/abs/1210.7463 | |
// reference accord framework | |
#r "../packages/Accord.3.0.2/lib/net45/Accord.dll" | |
#r "../packages/Accord.Controls.3.0.2/lib/net45/Accord.Controls.dll" | |
#r "../packages/Accord.IO.3.0.2/lib/net45/Accord.IO.dll" | |
#r "../packages/Accord.Math.3.0.2/lib/net45/Accord.Math.dll" | |
#r "../packages/Accord.Statistics.3.0.2/lib/net45/Accord.Statistics.dll" | |
//reference deelde with fsharp charting |
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
# --- settings --- | |
$feedUrlBase = "http://go.microsoft.com/fwlink/?LinkID=206669" | |
# the rest will be params when converting to funclet | |
$forceLatest = $false | |
$latest = $true | |
$overwrite = $false | |
$top = 500 #use $top = $null to grab all | |
$destinationDirectory = join-path ([Environment]::GetFolderPath("MyDocuments")) "NuGetLocalNew" | |
$packageFile =(Resolve-Path ".\").Path + "\packages.config" |
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
# Reinstall Nuget Packages into project | |
$packageFile =(Resolve-Path ".\").Path + "\packages.config" | |
if(Test-Path -Path $packageFile) | |
{ | |
# get only packages mentioned inside packages config | |
[xml]$xmlContent = Get-Content $packageFile | |
# packages | |
$packages = $xmlContent.SelectNodes("//packages//package") |
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
#I @"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\" | |
#r "System.Messaging.dll" | |
open System | |
open System.Messaging | |
open System.Diagnostics | |
// create message queue | |
MessageQueue.Create(@".\private$\r_default-queue") |
NewerOlder