TimeFeatures 1.0.0__tar.gz → 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- TimeFeatures-1.0.1/PKG-INFO +8 -0
- TimeFeatures-1.0.1/TimeFeatures.egg-info/PKG-INFO +8 -0
- TimeFeatures-1.0.1/setup.py +14 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/timefeatures/widgets/owsavetodb.py +0 -21
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/timefeatures/widgets/owtfgraphgenerator.py +7 -3
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/timefeatures/widgets/owtimefeatureconstructor.py +2 -3
- TimeFeatures-1.0.0/PKG-INFO +0 -5
- TimeFeatures-1.0.0/TimeFeatures.egg-info/PKG-INFO +0 -5
- TimeFeatures-1.0.0/setup.py +0 -9
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/LICENSE +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/TimeFeatures.egg-info/SOURCES.txt +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/TimeFeatures.egg-info/dependency_links.txt +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/TimeFeatures.egg-info/entry_points.txt +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/TimeFeatures.egg-info/top_level.txt +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/setup.cfg +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/timefeatures/__init__.py +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/timefeatures/widgets/__init__.py +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/timefeatures/widgets/icons/graphgenerator.svg +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/timefeatures/widgets/icons/savedatadb.svg +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/timefeatures/widgets/icons/timefeature-xs.svg +0 -0
- {TimeFeatures-1.0.0 → TimeFeatures-1.0.1}/timefeatures/widgets/icons/timefeature.svg +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: TimeFeatures
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Home-page: https://github.com/alervgr/Orange-TimeFeatures
|
|
5
|
+
Author: Alejandro Rivas García
|
|
6
|
+
Author-email: alejandrorivasgarcia@gmail.com
|
|
7
|
+
Keywords: orange3 add-on,timefeatures,graph,time series
|
|
8
|
+
License-File: LICENSE
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: TimeFeatures
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Home-page: https://github.com/alervgr/Orange-TimeFeatures
|
|
5
|
+
Author: Alejandro Rivas García
|
|
6
|
+
Author-email: alejandrorivasgarcia@gmail.com
|
|
7
|
+
Keywords: orange3 add-on,timefeatures,graph,time series
|
|
8
|
+
License-File: LICENSE
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
|
+
setup(name="TimeFeatures",
|
|
4
|
+
packages=["timefeatures.widgets"],
|
|
5
|
+
package_data={"timefeatures.widgets": ["icons/*.svg", "icons/*.png"]},
|
|
6
|
+
entry_points={"orange.widgets": "Time-Features = timefeatures.widgets"},
|
|
7
|
+
version="1.0.1",
|
|
8
|
+
author="Alejandro Rivas García",
|
|
9
|
+
author_email="alejandrorivasgarcia@gmail.com",
|
|
10
|
+
keywords=[
|
|
11
|
+
'orange3 add-on','timefeatures','graph','time series'
|
|
12
|
+
],
|
|
13
|
+
url="https://github.com/alervgr/Orange-TimeFeatures"
|
|
14
|
+
)
|
|
@@ -203,10 +203,6 @@ class owsavetodb(OWBaseSql):
|
|
|
203
203
|
create_table_query = create_table_query[:-1]
|
|
204
204
|
create_table_query += ")"
|
|
205
205
|
|
|
206
|
-
print("--------------------------")
|
|
207
|
-
print(create_table_query)
|
|
208
|
-
print("--------------------------")
|
|
209
|
-
|
|
210
206
|
try:
|
|
211
207
|
with self.backend.execute_sql_query(create_table_query):
|
|
212
208
|
pass
|
|
@@ -219,10 +215,6 @@ class owsavetodb(OWBaseSql):
|
|
|
219
215
|
insert_query = insert_query[:-1] # Eliminar la coma final
|
|
220
216
|
insert_query += ")"
|
|
221
217
|
|
|
222
|
-
print("--------------------------")
|
|
223
|
-
print(insert_query)
|
|
224
|
-
print("--------------------------")
|
|
225
|
-
|
|
226
218
|
for instance in self.data:
|
|
227
219
|
data_row = []
|
|
228
220
|
for i in range(len(variables)):
|
|
@@ -243,19 +235,6 @@ class owsavetodb(OWBaseSql):
|
|
|
243
235
|
|
|
244
236
|
self.clear()
|
|
245
237
|
|
|
246
|
-
'''print()
|
|
247
|
-
data_row = []
|
|
248
|
-
for instance in self.data:
|
|
249
|
-
for i in range(len(instance)):
|
|
250
|
-
data_row.append(instance[i].value)
|
|
251
|
-
|
|
252
|
-
for var in self.data.domain:
|
|
253
|
-
print(var.name)
|
|
254
|
-
|
|
255
|
-
print(len(self.data.domain))
|
|
256
|
-
print(len(self.data[0]))
|
|
257
|
-
print(self.data[0][-1].value)'''
|
|
258
|
-
|
|
259
238
|
if self.tableName.text() == "":
|
|
260
239
|
self.Error.connection("Table name must be filled.")
|
|
261
240
|
elif self.servertext.text() == "" or self.databasetext.text() == "":
|
|
@@ -89,6 +89,8 @@ class owtfgraphgenerator(OWWidget, ConcurrentWidgetMixin):
|
|
|
89
89
|
|
|
90
90
|
want_main_area = False
|
|
91
91
|
|
|
92
|
+
resizing_enabled = False
|
|
93
|
+
|
|
92
94
|
settings_version = 3
|
|
93
95
|
|
|
94
96
|
class Error(widget.OWWidget.Error):
|
|
@@ -104,6 +106,8 @@ class owtfgraphgenerator(OWWidget, ConcurrentWidgetMixin):
|
|
|
104
106
|
|
|
105
107
|
super().__init__(*args, **kwargs)
|
|
106
108
|
ConcurrentWidgetMixin.__init__(self)
|
|
109
|
+
self.controlArea.setMinimumWidth(360)
|
|
110
|
+
|
|
107
111
|
self.data = None
|
|
108
112
|
|
|
109
113
|
box = gui.vBox(self.controlArea, "Graph generator")
|
|
@@ -145,11 +149,11 @@ class owtfgraphgenerator(OWWidget, ConcurrentWidgetMixin):
|
|
|
145
149
|
network = None
|
|
146
150
|
else:
|
|
147
151
|
n = len(network.nodes)
|
|
148
|
-
network.nodes = Table(Domain([], [], [StringVariable("
|
|
152
|
+
network.nodes = Table(Domain([], [], [StringVariable("var_name"), DiscreteVariable("var_type", values=["Derived", "Original"])]),
|
|
149
153
|
np.zeros((n, 0)), np.zeros((n, 0)),
|
|
150
154
|
np.arange(2*n).reshape((n, 2)))
|
|
151
155
|
|
|
152
|
-
network.nodes[:, "
|
|
153
|
-
network.nodes[:, "
|
|
156
|
+
network.nodes[:, "var_name"] = nombres_variables
|
|
157
|
+
network.nodes[:, "var_type"] = tipo_var_reshaped
|
|
154
158
|
|
|
155
159
|
self.Outputs.network.send(network)
|
|
@@ -814,7 +814,7 @@ class owtimefeatureconstructor(OWWidget, ConcurrentWidgetMixin):
|
|
|
814
814
|
description = "Construct new time features (data columns) from a set of " \
|
|
815
815
|
"existing features in the input dataset."
|
|
816
816
|
icon = "icons/timefeature.svg"
|
|
817
|
-
keywords = "time feature constructor, function, lambda"
|
|
817
|
+
keywords = "time feature constructor, function, lambda, time, constructor, feature"
|
|
818
818
|
priority = 2240
|
|
819
819
|
|
|
820
820
|
class Inputs:
|
|
@@ -1047,8 +1047,7 @@ class owtimefeatureconstructor(OWWidget, ConcurrentWidgetMixin):
|
|
|
1047
1047
|
|
|
1048
1048
|
feature = editor.editorData()
|
|
1049
1049
|
if editor.editorData().name != uniq:
|
|
1050
|
-
self.
|
|
1051
|
-
feature = feature.__class__(uniq, *feature[1:])
|
|
1050
|
+
self.Error.transform_error("Avoid duplicates.\n")
|
|
1052
1051
|
|
|
1053
1052
|
self.featuremodel[self.currentIndex] = feature
|
|
1054
1053
|
self.descriptors = list(self.featuremodel)
|
TimeFeatures-1.0.0/PKG-INFO
DELETED
TimeFeatures-1.0.0/setup.py
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
from setuptools import setup
|
|
2
|
-
|
|
3
|
-
setup(name="TimeFeatures",
|
|
4
|
-
packages=["timefeatures.widgets"],
|
|
5
|
-
package_data={"timefeatures.widgets": ["icons/*.svg", "icons/*.png"]},
|
|
6
|
-
entry_points={"orange.widgets": "Time-Features = timefeatures.widgets"},
|
|
7
|
-
version="1.0.0",
|
|
8
|
-
author="Alejandro Rivas Garcia"
|
|
9
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|