shapelets / al-juarismi Goto Github PK
View Code? Open in Web Editor NEWThis is a chatbot to execute Khiva algorithms using natural language.
License: Mozilla Public License 2.0
This is a chatbot to execute Khiva algorithms using natural language.
License: Mozilla Public License 2.0
There is an empty README.md file. It would be nice to add some content describing the purpose of this project and showing a list of characteristics. Later, we could add some usage examples.
We need an action to list all datasets which are loaded in the session.
Describe the solution you'd like
I want an order like "show workspace", "list workspace". This function has to iterate across all items stored in datasets and plot its information.
Describe the bug
Aljuarismo breaks when trying to execute an action that requires a dataset and it hasn´t been loaded previously. We must check that condition and request a load of a dataset before the execution progress.
To Reproduce
: execute kmeans
DEBUG: kmeans
Session path: projects/aljuaritmo/agent/sessions/cQvRW2O8PcAlIVdp3cZixUZZgi5NZAo7
{'number': '', 'Dataset': '', 'operation': 'kmeans'}
====================
Traceback (most recent call last):
DEBUG: Query text: kmeans
DEBUG: Detected intent: DoClustering (confidence: 0.4950000047683716)
File "/Users/antonio.vilches/repositories/al-juarismi/main.py", line 107, in <module>
main()
File "/Users/antonio.vilches/repositories/al-juarismi/main.py", line 100, in main
detect_intent_text(project_id, session_id, query, language_code)
File "/Users/antonio.vilches/repositories/al-juarismi/main.py", line 79, in detect_intent_text
al.do_clustering(parameters, current_dataset)
File "/Users/antonio.vilches/repositories/al-juarismi/aljuarismi/operations.py", line 43, in do_clustering
(centroids, labels) = al.kmean(dataset.values, parameters)
AttributeError: 'NoneType' object has no attribute 'values'
Expected behavior
It has to check the existence of a loaded dataset and pass this dataset to the execution command. If there is not a loaded dataset, it has to request the dataset to be loaded before progressing with the execution of the command.
Desktop (please complete the following information):
Describe the bug
We need to check the existence of a loaded dataset before running any algorithm.
Is your feature request related to a problem? Please describe.
We need to be able to reduce points from series that do not fit on a chart.
Describe the solution you'd like
I want to have a function that reduces the number of points from a time series while it keeps its original shape. I think that visvalingam algorithm is the ideal candidate.
i.e. reduced_series = reduce_points(original_series, max_points)
We need a function like the previous one, where we can reduce the number of points to max_points
.
Describe alternatives you've considered
Other possible solutions are PIP, PLA or the well known ramer-douglas-pecker.
Additional context
It is just a tool for reducing the number of points from a series that needs to be plotted.
Describe the bug
Every time we create a random dataset, we get a duplicated voice response, it makes no sense.
To Reproduce
: generate a random dataset with 6 columns
Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
Describe the bug
Aljuarismo does not ask for the number of columns and rows. Surprisingly, it just generates
a column with 50 points.
To Reproduce
Steps to reproduce the behaviour:
: generate random dataset
: show it
Expected behaviour
It should ask for the number of columns and points. We assume all columns have the same number of points.
Desktop (please complete the following information):
Describe the bug
The program breaks while generating a random dataset with x columns and Y olumns
To Reproduce
: generating random dataset with 10 columns and 100 points
DEBUG: generating random dataset with 10 columns and 100 points
Session path: projects/aljuaritmo/agent/sessions/q1o6PYVQiSki2OaYoMLyB9XtuKnQtYnU
{'rows': '', 'distribution': '', 'columns': 10.0, 'values': [100.0]}
====================
DEBUG: Query text: generating random dataset with 10 columns and 100 points
DEBUG: Detected intent: RandomDataset (confidence: 0.5699999928474426)
Creating the random dataset
Traceback (most recent call last):
File "/Users/antonio.vilches/repositories/al-juarismi/main.py", line 107, in <module>
main()
File "/Users/antonio.vilches/repositories/al-juarismi/main.py", line 100, in main
detect_intent_text(project_id, session_id, query, language_code)
File "/Users/antonio.vilches/repositories/al-juarismi/main.py", line 64, in detect_intent_text
current_dataset = al.create_dataset(parameters)
File "/Users/antonio.vilches/repositories/al-juarismi/aljuarismi/datasets.py", line 80, in create_dataset
tt['col' + str(n)] = pd.DataFrame(np.random.random_integers(values[0], values[1], num_rows),
IndexError: list index out of range```
**Expected behavior**
It should just create a random dataset with the provided description. if any parameter is missing, it should ask for it.
**Desktop (please complete the following information):**
- OS: MacOs 10.14
Describe the bug
If the user introduces an invalid path, the program breaks
To Reproduce
Steps to reproduce the behavior:
: load titanic2
Where is it located?
: /njkdnslanfgsaf/sadjndfhks
Expected behavior
The program informs the introduced path is invalid or it doesn´t exist
Desktop (please complete the following information):
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.