yooceii / aibird Goto Github PK
View Code? Open in Web Editor NEWLevel generator for AIBirds
Level generator for AIBirds
y,1
0,4.0
2.0
python baseline.py
.The program is exiting with the following error after a couple seconds:
Traceback (most recent call last):
File "baseline.py", line 1260, in <module>
structures = generate(m_height)
File "baseline.py", line 367, in generate
position, child.point)-child.point), position == x1, check_overlap(child, parent_node), '\n')
File "baseline.py", line 1189, in height_limit
return min(list(filter(lambda x: x >= point, solve(px-position, y))))
ValueError: min() arg is an empty sequence
python baseline.py
after cloning in the repository.The program is exiting with the following error:
Error using silhouette (line 90)
The number of rows in X must match the length of CLUST.
Error in calculate_k (line 9)
sil=silhouette(data,index);
Traceback (most recent call last):
File "baseline.py", line 1235, in <module>
structures = generate(m_height)
File "baseline.py", line 398, in generate
temp_leaf = prune(temp_leaf, step)
File "baseline.py", line 473, in prune
eng.calculate_k(nargout=0)
File "/usr/local/lib/python3.6/site-packages/matlab/engine/matlabengine.py", line 71, in __call__
_stderr, feval=True).result()
File "/usr/local/lib/python3.6/site-packages/matlab/engine/futureresult.py", line 67, in result
return self.__future.result(timeout)
File "/usr/local/lib/python3.6/site-packages/matlab/engine/fevalfuture.py", line 82, in result
self._result = pythonengine.getFEvalResult(self._future,self._nargout, None, out=self._out, err=self._err)
matlab.engine.MatlabExecutionError:
File /Applications/MATLAB_R2018a.app/toolbox/stats/stats/silhouette.m, line 90, in silhouette
File AIBird/calculate_k.m, line 9, in calculate_k
The number of rows in X must match the length of CLUST.
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.