metacountregressor 0.1.56__py3-none-any.whl → 0.1.58__py3-none-any.whl

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.
@@ -143,7 +143,7 @@ class ObjectiveFunction(object):
143
143
  self.grad_yes = False
144
144
  self.hess_yes = False
145
145
  self.group_halton_test = None
146
- self.panels =1
146
+ self.panels =None
147
147
  self.group_names = []
148
148
  self.pvalues = None
149
149
  self.Last_Sol = None
@@ -310,10 +310,7 @@ class ObjectiveFunction(object):
310
310
 
311
311
 
312
312
 
313
- #new_data_test = sm.add_constant(x_data)
314
- #self._input_data(new_data_test[data_names], y_data)
315
- #self._x_data, self._x_data_test, self._y_data, self.y_data_test = train_test_split(new_data_test[data_names], y_data, test_size = self.test_percentage, random_state=self.get_random_seed())
316
- #data_names = self._random_forest_preprocess()
313
+
317
314
 
318
315
 
319
316
  self.n_obs = N
@@ -321,8 +318,8 @@ class ObjectiveFunction(object):
321
318
  if self.zi_force:
322
319
 
323
320
  self.alpha_hurdle = np.isin(self._characteristics_names, [item.split(':')[0] for item in self.zi_force_names]).astype(int).tolist()
324
- print(1)
325
- #self._characteristics_names = [x for x in self._characteristics_names if not 'ID' in x]
321
+
322
+
326
323
 
327
324
 
328
325
  self._max_group_all_means = 1
@@ -505,8 +502,10 @@ class ObjectiveFunction(object):
505
502
  if not isinstance(self._characteristics, int):
506
503
  raise Exception
507
504
  if not isinstance(self._x_data, pd.DataFrame):
505
+
508
506
  print('Estimating as Panel Data...')
509
507
  else:
508
+ print('No Panels Supplied')
510
509
  self._characteristics_names = list(self._x_data.columns)
511
510
  # define the variables
512
511
  #self._transformations = ["no", "sqrt", "log", "exp", "fact", "arcsinh", 2, 3]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: metacountregressor
3
- Version: 0.1.56
3
+ Version: 0.1.58
4
4
  Summary: A python package for count regression of rare events assisted by metaheuristics
5
5
  Author: zahern
6
6
  Author-email: zeke.ahern@hdr.qut.edu.au
@@ -39,7 +39,7 @@ metacountregressor/set_data.csv,sha256=68iJkW4O4HVM8GyNlO0drwp8ZMXkccXCUc7jnA8xn
39
39
  metacountregressor/set_data_s.csv,sha256=hELwnv6RjpmXcMheFafwrYbLbyYE21hFKyqJhA8L05o,11111
40
40
  metacountregressor/setup.py,sha256=CpbdBScFhvStc6WByFiAlP7T5wGdWetsLI8X5JRRpP4,268
41
41
  metacountregressor/single_objective_finder.py,sha256=QYXUpxJp7-ul5ZiIKGgYGaH_yFFGUbI7X3yKu5asogE,1960
42
- metacountregressor/solution.py,sha256=7Bbt4XTtKBOnjYwY9NH_dkIDbWiGTTpoc52nntolhIE,313218
42
+ metacountregressor/solution.py,sha256=aq9MB6QHS7A7JNq3qow4-dAdcZUHhldpJRX6XO8jmlw,312793
43
43
  metacountregressor/Stage5A_1848_All_Initial_Columns.csv,sha256=uwsadEyupgIH1w5f8vnlwlo13ryww3VCGYlOnN0dEL0,188769
44
44
  metacountregressor/Stage5A_1848_All_Initial_Columns.xlsx,sha256=5U5Ab1jjGi5qoKp06Bw2tpdPjGaDGoyt5976AAFdEbs,699231
45
45
  metacountregressor/synth_dataset_generator.ipynb,sha256=caBMQJOaeINPZJw5aTsSOXhmenSqrpS7GycINAzUUxs,27153
@@ -49,6 +49,6 @@ metacountregressor/testML.R,sha256=UbTsLFUhoJG9bJnU2rbUKlfcprAkROnhREK41qKzbvQ,2
49
49
  metacountregressor/TestSetFake.csv,sha256=JPYAWYLAw7rgQHdGTz0rltMfapX8QYt3BVSyK_D-Lzg,1640
50
50
  metacountregressor/ThaiAccident.csv,sha256=NIi_uPyo5u-B6Hj0Ln9xuJ8fnvGbWK9GLdTWdpG5uug,418202
51
51
  metacountregressor/tk_app.py,sha256=0UM76hpQ-ha96ma_Z5ryxYQUSdF4PJBCsLuI1EGu6_E,59490
52
- metacountregressor-0.1.56.dist-info/METADATA,sha256=3yZSywCCfh9LzHBGwpjl_kWRC3KSyRlAJSkw-AWZz-Y,13112
53
- metacountregressor-0.1.56.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
54
- metacountregressor-0.1.56.dist-info/RECORD,,
52
+ metacountregressor-0.1.58.dist-info/METADATA,sha256=f3I5Rz-wnA5L2iM1P-1sSzUG-NsUovQ5SsCpYyUVAuY,13112
53
+ metacountregressor-0.1.58.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
54
+ metacountregressor-0.1.58.dist-info/RECORD,,