Giter Club home page Giter Club logo

mario_vs_wario's Introduction

Hi there ๐Ÿ‘‹ Welcome to my GitHub profile!

My name is Eryk. A few words about me:

  • ๐Ÿง‘โ€๐Ÿ”ฌ I am an experienced data scientist with 7+ years of experience.
  • ๐Ÿ“ˆ I am currently working on building time series forecasting models for the biggest e-commerce platform in the Netherlands.
  • ๐Ÿ“— I have published two editions of the Python for Finance Cookbook.
  • ๐Ÿ“’ I have published 100+ articles on Medium. They have been viewed more than 4 million times. The articles are on the topics of data science, machine learning, and quantitative finance.
  • In my spare time, I like playing video games ๐ŸŽฎ, reading books ๐Ÿ“–, and traveling ๐Ÿ›ซ.

mario_vs_wario's People

Contributors

erykml avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mario_vs_wario's Issues

ValueError: Found input variables with inconsistent numbers of samples: [8000, 7998]

logreg_classifier.fit(X_train, y_train).

throws:

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-130-7275bf06953d> in <module>
----> 1 logreg_classifier.fit(X_train, y_train)

/usr/local/lib/python3.6/dist-packages/sklearn/linear_model/logistic.py in fit(self, X, y, sample_weight)
   1286 
   1287         X, y = check_X_y(X, y, accept_sparse='csr', dtype=_dtype, order="C",
-> 1288                          accept_large_sparse=solver != 'liblinear')
   1289         check_classification_targets(y)
   1290         self.classes_ = np.unique(y)

/usr/local/lib/python3.6/dist-packages/sklearn/utils/validation.py in check_X_y(X, y, accept_sparse, accept_large_sparse, dtype, order, copy, force_all_finite, ensure_2d, allow_nd, multi_output, ensure_min_samples, ensure_min_features, y_numeric, warn_on_dtype, estimator)
    764         y = y.astype(np.float64)
    765 
--> 766     check_consistent_length(X, y)
    767 
    768     return X, y

/usr/local/lib/python3.6/dist-packages/sklearn/utils/validation.py in check_consistent_length(*arrays)
    233     if len(uniques) > 1:
    234         raise ValueError("Found input variables with inconsistent numbers of"
--> 235                          " samples: %r" % [int(l) for l in lengths])
    236 
    237 

ValueError: Found input variables with inconsistent numbers of samples: [8000, 7998]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.