New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

vecstack

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vecstack - pypi Package Compare versions

Comparing version
0.2.1
to
0.2.2
+8
-2
PKG-INFO
Metadata-Version: 1.1
Name: vecstack
Version: 0.2.1
Version: 0.2.2
Summary: Python package for stacking (machine learning technique)

@@ -9,3 +9,3 @@ Home-page: https://github.com/vecxoz/vecstack

License: MIT
Description: UNKNOWN
Description: Convenient way to automate OOF computation, prediction and bagging using any number of models
Keywords: stacking,blending,bagging,ensemble,ensembling,machine learning

@@ -19,2 +19,8 @@ Platform: UNKNOWN

Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Scientific/Engineering

@@ -21,0 +27,0 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence

+10
-1

@@ -6,4 +6,5 @@ #! /usr/bin/env python

setup(name='vecstack',
version='0.2.1',
version='0.2.2',
description='Python package for stacking (machine learning technique)',
long_description='Convenient way to automate OOF computation, prediction and bagging using any number of models',
classifiers=[

@@ -16,2 +17,8 @@ 'License :: OSI Approved :: MIT License',

'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',

@@ -36,2 +43,4 @@ 'Topic :: Scientific/Engineering :: Artificial Intelligence',

],
test_suite='nose.collector',
tests_require=['nose'],
zip_safe=False)
Metadata-Version: 1.1
Name: vecstack
Version: 0.2.1
Version: 0.2.2
Summary: Python package for stacking (machine learning technique)

@@ -9,3 +9,3 @@ Home-page: https://github.com/vecxoz/vecstack

License: MIT
Description: UNKNOWN
Description: Convenient way to automate OOF computation, prediction and bagging using any number of models
Keywords: stacking,blending,bagging,ensemble,ensembling,machine learning

@@ -19,2 +19,8 @@ Platform: UNKNOWN

Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Scientific/Engineering

@@ -21,0 +27,0 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence

@@ -38,2 +38,2 @@ """Python package for stacking (machine learning technique)

__license__ = 'MIT'
__version__ = '0.2.1'
__version__ = '0.2.2'

@@ -44,3 +44,2 @@ """Python package for stacking (machine learning technique)

from datetime import datetime
import re
import numpy as np

@@ -53,2 +52,3 @@ import scipy.stats as st

from sklearn.metrics import log_loss
from sklearn.utils.validation import check_X_y, check_array

@@ -210,3 +210,3 @@ #-------------------------------------------------------------------------------

save_dir: str, default None
If specified - considered as a valid directory where log and
If specified - considered as a valid directory (must exist) where log and
returned arrays will be saved.

@@ -410,7 +410,16 @@ If not specified - log and arrays will not be saved.

raise ValueError('List of models is empty')
# Convert arrays to ndarrays
# Check arrays
# y_train and sample_weight must be 1d ndarrays (i.e. row, not column)
X_train = np.array(X_train)
y_train = np.array(y_train).ravel()
X_test = np.array(X_test)
X_train, y_train = check_X_y(X_train,
y_train,
accept_sparse=['csr'], # allow csr and cast all other sparse types to csr
force_all_finite=False, # allow nan and inf because
# some models (xgboost) can handle
multi_output=False) # do not allow several columns in y_train
if X_test is not None: # allow X_test to be None for mode='oof'
X_test = check_array(X_test,
accept_sparse=['csr'], # allow csr and cast all other sparse types to csr
force_all_finite=False) # allow nan and inf because
# some models (xgboost) can handle
if sample_weight is not None:

@@ -417,0 +426,0 @@ sample_weight = np.array(sample_weight).ravel()