glentner / dataphile Goto Github PK
View Code? Open in Web Editor NEWData analytics library for Python and suite of open source, command line based data ops tools.
License: Apache License 2.0
Data analytics library for Python and suite of open source, command line based data ops tools.
License: Apache License 2.0
Hi!
Very nice tool you implemented!
On my mac, python 3.6 it is mostly working all right.
But once every 2-3 times, the gui (sliders) freezes and I did not manage do understand the reason (no warning etc).
It might be when the plot leaves the x/y limits of the window but sometimes even if it stays within the limits.
Did you already experienced this problem?
Best
Vincent
Hi,
I'm having issues with running dataphile. I tried to run:
from dataphile.datasets import SyntheticDataset
from dataphile.statistics.distributions import polynomial1D
xdata, ydata = SyntheticDataset(polynomial1D, [100, -0.01, -1e-5], (0, 2400), linspace=True,
noise=0, samples=2400).generate()
I get the following error:
ImportError: cannot import name 'ConsoleHandler' from 'logalpha' (C:\anaconda\lib\site-packages\logalpha_init_.py)
I've tried to reinstall logalpha but the error persists.
I'm using python 3.7 in Anaconda
Thanks for your help!
Hello Geoffrey!
I was thinking about a way to improve the fitting with your tool.
Indeed, what can be annoying is that when you have loaded some points you are obliged to fit them...
What do you think about fitting only the points that are displayed on the plot (taking into account the xlim/ylim of the figure).
This would mean that you can zoom on the part of the plot that you want to fit but also zoom out if you want to use again the whole dataset... in this way it is just a new feature that can not be harmfulll.
A naive way to implement it is just to add to modify change the line self.model.fit(*self.data) by the following in the autoGUI class.
What do you think about adding that?
def __fit_button_on_clicked(self, event):
"""Action to take when the 'Fit' button is pressed."""
# call the model.fit with data
axis = self.figure.axes[0]
mask = (self.data[0]>axis.get_xlim()[0]) & (self.data[0]<axis.get_xlim()[1]) & (self.data[1]>axis.get_ylim()[0]) & (self.data[1]<axis.get_ylim()[1])
xdata = self.data[0][mask]
ydata = self.data[1][mask]
self.model.fit(xdata,ydata)
# self.model.fit(*self.data)
self.__update_graph()
self.__create_sliders(self.active_model.label)
Best
Vincent
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.