txt / mase Goto Github PK
View Code? Open in Web Editor NEWTeaching materials for Model-based Automated Software Engineering
Home Page: http://tiny.cc/mase
License: Other
Teaching materials for Model-based Automated Software Engineering
Home Page: http://tiny.cc/mase
License: Other
The link for PSO is broken in the ReadMe.md
can introduce interators as follows
pull from a population
method 1 (see below)
method2 keep a sub-sample of the data, randomly selected
Generate often seen things most often while generating rarer this more rarely.
Given a dictionary d{k1=n1, k2=n2, ...}, return enough keys ki at probability pi = ni/n where n = n1+n2+.. e.g.
for key in some({'box':30,'circle':20,'line':10},20)
print key
will return around twice as many boxes as anything else, circles 1/3rd of the time and lines 1/6th of the time.
def often(d,enough=10**32):
n, lst = 0, []
for x in d:
n += d[x]
lst += [(d[x],x)]
lst = sorted(lst, reverse=True)
while enough > 0:
r = random.random()
for freq,thing in lst:
r -= freq*1.0/n
if r <= 0:
yield thing
enough -= 1
break
@test
def oftend():
seed(1)
return [['box','line', 'circle','box','box',
'box','circle','circle','box','box'],
[x for x in
often({'box':30,'circle':20,'line':10},
10)]]
missing diapers model at end of review questions
in fact, missing lots of stuff at end of review 5... how bizarre
any comments ? look at "Homework" and "Code1,Code2,Code3,Code4" at http://tiny.cc/mase
needs to be added
the "lets get students to fill in promise" project is specified in https://github.com/txt/mase/blob/master/READING.md
feedback please. still amazed you are willing to do this. the collegiality at this uni.., amazing
fyi, if you want, i could come into your class to brief your students on this
the project has 2 parts
needs to be added to the front page
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.