sg-s / srinivas.gs_mtools Goto Github PK
View Code? Open in Web Editor NEWA collection of small functions and MATLAB tools, some that I have written.
Home Page: https://github.com/sg-s/srinivas.gs_mtools#mtools-by-srinivasgs
A collection of small functions and MATLAB tools, some that I have written.
Home Page: https://github.com/sg-s/srinivas.gs_mtools#mtools-by-srinivasgs
with EqualiseY=1, PrettyFig tries to equalise all the axes, even when they have very different types of data. For example, if two plots have line series, and two other plots have colormaps, PrettyFig should only equalise the line series.
the called func readPref.m is not robust. It should not expect a prefs file to exist in the same location as the main function; further if it can't find a prefs file it should create an empty or a default set of parameters.
and automatically apply those bounds while optimizing
instead of plotting crosses corresponding to each point, why not plot the original waveforms?
this is a much richer display. like figure 7 in the original t-sne paper
because it calculates it position as a fraction of the plot size (should it be a constant?)
We should be able to go back to the original case.
when they are not on the path (and they typically aren't)
to compute the standard error of the mean for a matrix
problem cropped up in R2017a
strange.
Manipulate should save and load mulitple states, corresponding to different sets of parameters.
To do this, p
is now a structure array, and each element corresponds to a new state. The Name of the state is stored in p.Name
And when writing it, we need to keep this in mind:
and intelligently figure out the parameter structure using getModelParameters
Now that we have cache.m
running, we can internally cache all functions, so that they will refuse to do any computations till absolutely required.
X, Y labels (and ticks) on log scale are too sparse.
it's now grown up, and has the following methods:
-least squares
it should be able to handle fitting to multiple data sets at once... simple extend data to be a structure.
leave small gap between subsequent trials.
and it should use the cache to find a starting point
or more specifically, on a plot with only NaN values
the expected behaviour is that it should simply ignore it
when mean2 is called with a matrix, and there are NaNs scattered in the matrix, mean2 should intelligently average so that NaNs are ignored.
it captures the coefficeint of determination, but we also want to know is vector A
and B
are exactly alike. when we fit lines to get the r^2, also get the slope and report it.
it thinks that the individual axes in a plotyy figure are two different axes
the idea is we use the parameter structure p to pass the coefficients in the equations, and the function file that is being manipulated contains the problem specification. So no need for a stimulus at all.
cache should also store a last-accessed time. so that we can prune the cached data intelligently
this will allow greater control on what it does, and allow easy manipulation of internal parameters.
it has trouble fitting splines to very long vectors. there are no plans to fix this bug.
don't call it with arguments that are longer than 1e4 elements
instead of using the normal tex output from matlab, modify it so that:
\hspace*{-1in}
\includegraphics [width=\paperwidth]{paper_01.pdf}
this makes the figures bigger
it can get a good guess using getModelParameters
x_offset
should be 0
it should generate code like this:
fig_handle=figure('Units','pixels','outerposition',[100 143 1241 657],'Color','w','PaperUnits','points','PaperSize',[1241 657],'Toolbar','none','Menubar','none');
which involves some painful escaping and eval
ing
http://www.mathworks.com/help/matlab/ref/matfile.html
to speed up cache
it should also search for substrings within each line -- that's what the real use case is
should support custom upper and lower bounds of parameters defined by user. The way to do this is to make the parameter strucutre p an array, and the second element specifies the minimum, and the third specifies the maximum
There is an intellegent way to plot: using hashes to make sure that if the same bit of data is being re-run, there is no need to make a new plot.
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.