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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Diagnostics; | |
using System.Drawing; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Text; |
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
import numpy as np | |
import milk | |
# features= np.random.rand(100, 10) #100 rows of 10 cols | |
# labels= np.random.choice(5, 100) #100 elts all between 0-4 | |
# sample= np.random.rand(10) #10 elts | |
features= np.random.randint(0, 5, (100, 10)) #100 rows of 10 cols, elts between 0-5 excl | |
labels= np.random.choice(5, 100) #100 elts, all between 0-5 excl | |
sample= np.random.randint(0, 5, 10) #1 row of 10 cols, all between 0-5 excl |
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
using Nancy.Hosting.Self; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Data.Entity; | |
using System.Data.Entity.ModelConfiguration.Conventions; | |
using Nancy; | |
using Nancy.TinyIoc; |
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
(use | |
intarweb | |
spiffy | |
spiffy-request-vars | |
uri-common | |
matchable | |
sxml-serializer | |
;medea | |
;postgresql | |
miscmacros) |