eubr-bigsea / citrus Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Workflow id: 90.
===============================
Invalid or missing parameters: requirement failed: Column petallength must be of type struct<type:tinyint,size:int,indices:array,values:array> but was actually decimal(5,1).
The delete button (to delete a dataset or a workflow) is not working on Firefox (not sure if this issue can happen on other browsers).
This button is working for Opera and Chrome.
Fluxo 35:
Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 438, in _perform_execute
self._state)
File "/usr/local/juicer/juicer/transpiler.py", line 296, in transpile
using_stdout, workflow, deploy, export_notebook)
File "/usr/local/juicer/juicer/transpiler.py", line 108, in generate_code
class_name = self.operations[task['operation']['slug']]
KeyError: u'gaussian-mixture-clustering-model'
A operação Converter Categórico para Numerico apenas funciona se utilizar o Vetorizar Atributo (Definidor de feature)
Fluxo 34:
Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 438, in _perform_execute
self._state)
File "/usr/local/juicer/juicer/transpiler.py", line 296, in transpile
using_stdout, workflow, deploy, export_notebook)
File "/usr/local/juicer/juicer/transpiler.py", line 108, in generate_code
class_name = self.operations[task['operation']['slug']]
KeyError: u'k-means-clustering-model'
When running Random Forest for classification (workflow id: 53), it returns the following error:
Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 438, in _perform_execute
self._state)
File "/usr/local/juicer/juicer/transpiler.py", line 296, in transpile
using_stdout, workflow, deploy, export_notebook)
File "/usr/local/juicer/juicer/transpiler.py", line 220, in generate_code
v = template.render(env_setup)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/juicer/juicer/spark/templates/operation.tmpl", line 56, in top-level template code
{%- handleinstance instance %}
File "/usr/local/juicer/juicer/util/template_util.py", line 53, in handle
raise(JuicerException(msg), None, sys.exc_info()[2])
File "/usr/local/juicer/juicer/util/template_util.py", line 40, in _handle
return caller()
File "/usr/local/lib/python2.7/dist-packages/jinja2/runtime.py", line 579, in _invoke
rv = self._func(*arguments)
File "/usr/local/juicer/juicer/spark/templates/operation.tmpl", line 119, in template
{{instance.generate_code().strip() | indent(width=8, indentfirst=False)}}
File "/usr/local/juicer/juicer/spark/ml_operation2.py", line 40, in generate_code
return "\n".join([algorithm_code, model_code])
JuicerException: Erro de tipo analisando modelo (template) para inst\xe2ncia 8739f50e-a193-4e7c-8c5e-9a2fa38e418b RandomForestModelOperation
Lemonade should allow to save workflow images using the PDF format (or other vectorial format). This would help in viewing large workflows.
It would be nice to have the option that copies an operation, even with a right mouse click or with 'Ctrl + C' followed by 'Ctrl + V'.
This is an error associated to SVM classifier (I am creating a new issue as I could not reopen the previous issue).
I tried to apply its model, but it did not work.
The workflow id is 87. I am trying to create a base workflow for all classification models (that I am testing) right now, differing only on the classification algorithm itself.
====================
Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 460, in _perform_execute
self._emit_event(room=job_id, namespace='/stand'))
File "/tmp/juicer_app_87_87_420.py", line 617, in main
task_futures['aada130d-81f3-4d90-875f-309c000171de'].result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 462, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 63, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/juicer_app_87_87_420.py", line 616, in
lambda: evaluate_model_5(spark_session, cached_state, emit_event))
File "/tmp/juicer_app_87_87_420.py", line 362, in evaluate_model_5
parent_result = task_futures['c5f52d1a-39f3-45e8-9af4-eb0fadc7cfaa'].result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 462, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 63, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/juicer_app_87_87_420.py", line 355, in
lambda: apply_model_4(spark_session, cached_state, emit_event))
File "/tmp/juicer_app_87_87_420.py", line 323, in apply_model_4
out3 = model2.transform(sd15, params)
NameError: global name 'model2' is not defined
As a suggestion, I recommend to automatically save the workflow for the user (e.g., every five minutes the system automatically saves the workflow).
Or even a message warning possible data lost if the user decides to change from the current environment to another:
"Do you want save the workflow before leaving? [Yes/No]"
It would be nice to have the option to copy an workflow. This would avoid double work in some cases.
.
It would be nice to use the key 'Del' to delete an operation.
The same for 'Ctrl + Z' to undo and 'Ctrl + Shift + Z' to redo.
When a User opens 1 subgroups and he/she needs to see all the operations inside it, if there is another subgroup opened, the interface open both together.
See the picture
, the group "Manipulação de dados" and "aprendizado de máquina" are open. So, when the user choose to open the subgroup "Geral" from "Manipulação de dados", the subgroups "Geral" and "Agrupamento" opens simultaneously.
Recommendation: Replace 'Inpureza Gini' by 'Coeficiente Gini'.
=================
The generated confusion matrix (in the classification scenario) should translated to Portuguese, when the user is into the PT-BR environment.
The option 'Saving as' into the workflow is not working on Firefox.
Besides, into 'Saving as', just the sub-option 'As a image (a download window will appear)' works on Google Chrome. The remaining sub-options ('New name (a copy of the workflow will be created, but not loaded) ' and 'As a template workflow') are not working at all.
Looking for a set of colors to guarantee accessibility for the users, I found this:
The default palette of Highcharts is designed with accessibility in mind, so that any two neighbor colors are tested for different types of color blindness
source: https://www.highcharts.com/docs/chart-concepts/accessibility
The default color pallet of Highcharts already takes into account accessibility considerations.
@waltersf do you think necessary a new set of colors?
Case be necessary, is very simple to implement a custom palette of colors on Highcharts. There are some alternatives, how we can see in this post for example:
Color your productivity: Asana now adjusts for color-blindness
Fluxo 64:
Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 460, in _perform_execute
self._emit_event(room=job_id, namespace='/stand'))
File "/tmp/juicer_app_64_64_280.py", line 301, in main
task_futures['5aff6923-3441-4dd0-a1d4-ec3bb903ac2d'].result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 462, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 63, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/juicer_app_64_64_280.py", line 300, in
lambda: sort_2(spark_session, cached_state, emit_event))
File "/tmp/juicer_app_64_64_280.py", line 230, in sort_2
parent_result = task_futures['9feaab42-c0e5-4cc5-9b09-38db2d64e511'].result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 462, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 63, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/juicer_app_64_64_280.py", line 228, in
lambda: outlier_detection_1(spark_session, cached_state, emit_event))
File "/tmp/juicer_app_64_64_280.py", line 142, in outlier_detection_1
algorithm = LocalOutlierFactor(minPts=5)
File "/usr/local/spark/python/pyspark/init.py", line 105, in wrapper
return func(self, **kwargs)
File "/usr/local/juicer/juicer/spark/ext/init.py", line 156, in init
self.uid)
File "/usr/local/spark/python/pyspark/ml/wrapper.py", line 63, in _new_java_obj
return java_obj(*java_args)
TypeError: 'JavaPackage' object is not callable
Map is not working when it is inside a tab component. It is necessary to detect tab changing event and handle it to redraw the map.
When running SVM for classification (workflow id: 39), it returns the following error:
_Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 438, in _perform_execute
self.state)
File "/usr/local/juicer/juicer/transpiler.py", line 296, in transpile
using_stdout, workflow, deploy, export_notebook)
File "/usr/local/juicer/juicer/transpiler.py", line 108, in generate_code
class_name = self.operations[task['operation']['slug']]
KeyError: u'svm-classification-model'
The current name is giving the wrong idea of the learning algorithm.
As Lemonade only supports seeing the first 50 records regarding the results of the operation.
However, sometimes we would like to check these results on the entire dataset.
Therefore, Lemonade should have an option that downloads all results of a given operation.
Fluxo 5:
Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 460, in _perform_execute
self._emit_event(room=job_id, namespace='/stand'))
File "/tmp/juicer_app_5_5_308.py", line 342, in main
task_futures['83f55b38-84c2-471d-ad1e-b3ae9b8c557b'].result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 462, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 63, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/juicer_app_5_5_308.py", line 340, in
lambda: data_writer_2(spark_session, cached_state, emit_event))
File "/tmp/juicer_app_5_5_308.py", line 245, in data_writer_2
header)
TypeError: 'JavaPackage' object is not callable
Neither is appearing in the operation search.
I set the Percentual splitting operation to give me half of the samples for training and the other half for testing.
My dataset has 150 samples/examples. It should return 75 for each set. However, it returned 85 for the test.
The workflow id is 86. I used to test the perceptron algorithm.
Next, the confusion matrix:
When running Perceptron for classification (workflow id: 52), it returns the following error:
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 438, in _perform_execute
self._state)
File "/usr/local/juicer/juicer/transpiler.py", line 296, in transpile
using_stdout, workflow, deploy, export_notebook)
File "/usr/local/juicer/juicer/transpiler.py", line 220, in generate_code
v = template.render(env_setup)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/juicer/juicer/spark/templates/operation.tmpl", line 56, in top-level template code
{%- handleinstance instance %}
File "/usr/local/juicer/juicer/util/template_util.py", line 53, in handle
raise(JuicerException(msg), None, sys.exc_info()[2])
File "/usr/local/juicer/juicer/util/template_util.py", line 40, in _handle
return caller()
File "/usr/local/lib/python2.7/dist-packages/jinja2/runtime.py", line 579, in _invoke
rv = self._func(*arguments)
File "/usr/local/juicer/juicer/spark/templates/operation.tmpl", line 119, in template
{{instance.generate_code().strip() | indent(width=8, indentfirst=False)}}
File "/usr/local/juicer/juicer/spark/ml_operation2.py", line 40, in generate_code
return "\n".join([algorithm_code, model_code])
JuicerException: Erro de tipo analisando modelo (template) para inst\xe2ncia 317dd992-b802-4921-8cab-cd18b79c0cbc PerceptronModelOperation
After uploading the dataset, Lemonade should go back to the 'Data Sources' page, showing a message of success such as "Your dataset was successfully uploaded."
Depending on the person who is using the system, receiving a message and going back to the 'Data Sources' page may be more intuitive.
Fluxo número 76.
Erro:
Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 460, in _perform_execute
self._emit_event(room=job_id, namespace='/stand'))
File "/tmp/juicer_app_76_76_368.py", line 844, in main
task_futures['d88149bf-2c42-47e7-a387-692d8fb43996'].result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 462, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 63, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/juicer_app_76_76_368.py", line 841, in
lambda: save_model_4(spark_session, cached_state, emit_event))
File "/tmp/juicer_app_76_76_368.py", line 485, in save_model_4
_save_model(model, path, name)
File "/tmp/juicer_app_76_76_368.py", line 474, in save_model
register_model('http://limonero:23402', model_payload, '123456')
File "/usr/local/juicer/juicer/service/limonero_service.py", line 80, in register_model
raise RuntimeError(("Error saving model: {})").format(r.text))
RuntimeError: Erro salvando model: {"status": "ERROR", "message": "Validation error", "errors": {"workflow_id": ["Missing data for required field."], "job_id": ["Missing data for required field."], "task_id": ["Missing data for required field."]}}
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.