trekhleb / homemade-machine-learning Goto Github PK
View Code? Open in Web Editor NEW๐ค Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained
License: MIT License
๐ค Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained
License: MIT License
Hello How are you?
Its my eager request to you that mine website http://www.windowsmoviemaker.xyz/ is not getting redirect to SSl https://www.windowsmoviemaker.xyz/ ? I have installed Really simple SSl but not able to get the issue solved till now?
This is my website : Windows Movie maker
It may be good to provide pure Python implementation of Gradient Descent (instead of SciPy one) for Logistic Regression just for the learning purposes.
Install in a new venv, install requirements, then attempt to run k-means. Pandas is not installed and cannot be included.
sorry, i opened a issue to another project, sorry to make a mistake in your project.
https://github.com/stevekwon211/Hello-Kaggle
It is a Kaggle Guide Document for someone who is new at Kaggle!
theta = theta * reg_param - alpha * (1 / num_examples) * (delta.T @ self.data).T
theta[0] = theta[0] - alpha * (1 / num_examples) * (self.data[:, 0].T @ delta).T
the first code line ,theta include theta[0].
so I think can write like this:
theta[0] -= alpha * (1 / num_examples) * (self.data[:, 0].T @ delta)
theta[1:] = theta[1:] * reg_param - alpha * (1 / num_examples) * (self.data[:, 1:].T @ delta)
thanks
[I 19:38:56.924 NotebookApp] 302 GET / (127.0.0.1) 1.13ms
[I 19:38:56.930 NotebookApp] 302 GET /tree? (127.0.0.1) 1.52ms
[W 19:38:56.966 NotebookApp] 403 POST /api/kernels (127.0.0.1): '_xsrf' argument missing from POST
[W 19:38:56.967 NotebookApp] '_xsrf' argument missing from POST
[W 19:38:56.967 NotebookApp] 403 POST /api/kernels (127.0.0.1) 1.17ms referer=None
[I 19:55:08.294 NotebookApp] 302 GET / (::1) 1.84ms
the above is the error message
I use intelliIdea and cannot connect jupyter notebook
can i translate to Chinese?
Hi, Good Morning sir. I want to build a desktop software from my excel worksheet. So could you please help me. My WhatsApp number is+918903617327
use y = 4 + 0.5*x to create test data
but there are no right result.
Currently there are several issued with opening Jupyter notebooks from the repo in Colaboratory:
As mentioned in #9, add_polynomials
doesn't work when there is only one feature in the dataset.
Russian translation would be appreciated very much by Russian pyhton community
Hello,
I like your Machine Learning Map (homemade-machine-learning/images/machine-learning-map.png). But could you please complete it a little bit ?
For example, it would be great if you could add NLP, make connections between DQN and the Deep Learning rectangle, include, maybe, some Big Data technologies (Map Reduce for instance), and Planning as well. Monte Carlo Tree search could also appear.
Great job ! ๐ ๐
Damien
We exchanged tweets about adding semi-supervised learning in the map. It was recommended that I add an issue.
In the [section:] Hypothesis (the Model) (https://github.com/trekhleb/homemade-machine-learning/tree/master/homemade/logistic_regression#hypothesis-the-model),
Under this line "Now we my write down the hypothesis as follows:"
Predict y = 0 ... < 0.5 ... >= 0, Predict y = 1 ... > 0.5 ... < 0,
may should be ... < 0.5 ... < 0, ... >= 0.5 ... >= 0
Let me know that how can I improve skill in MLE. And if possible then show an easy to understand Roadmap.
Hello, I find the repository very interesting, would it bother you if I make a translation into Spanish?
Install in a new venv, install requirements, then attempt to run k-means. Pandas is not installed and cannot be included.
error LogisticRegression
ModuleNotFoundError Traceback (most recent call last)
in
5
6 # Import custom logistic regression implementation.
----> 7 from homemade.logistic_regression import LogisticRegression
D:\Projetos\Teste Fabio\homemade-machine-learning-master\homemade\logistic_regression_init_.py in
1 """Logistic Regression Module"""
2
----> 3 from .logistic_regression import LogisticRegression
D:\Projetos\Teste Fabio\homemade-machine-learning-master\homemade\logistic_regression\logistic_regression.py in
2
3 import numpy as np
----> 4 from scipy.optimize import minimize
5 from ..utils.features import prepare_for_training
6 from ..utils.hypothesis import sigmoid
D:\aplicativos\Anaconda3\lib\site-packages\scipy\optimize_init_.py in
385
386 from .optimize import *
--> 387 from ._minimize import *
388 from ._root import *
389 from ._root_scalar import *
D:\aplicativos\Anaconda3\lib\site-packages\scipy\optimize_minimize.py in
28 from ._trustregion_krylov import _minimize_trust_krylov
29 from ._trustregion_exact import _minimize_trustregion_exact
---> 30 from ._trustregion_constr import _minimize_trustregion_constr
31
32 # constrained minimization
D:\aplicativos\Anaconda3\lib\site-packages\scipy\optimize_trustregion_constr_init_.py in
2
3
----> 4 from .minimize_trustregion_constr import _minimize_trustregion_constr
5
6 all = ['_minimize_trustregion_constr']
D:\aplicativos\Anaconda3\lib\site-packages\scipy\optimize_trustregion_constr\minimize_trustregion_constr.py in
2 import time
3 import numpy as np
----> 4 from scipy.sparse.linalg import LinearOperator
5 from .._differentiable_functions import VectorFunction
6 from .._constraints import (
D:\aplicativos\Anaconda3\lib\site-packages\scipy\sparse_init_.py in
228 import warnings as _warnings
229
--> 230 from .base import *
231 from .csr import *
232 from .csc import *
D:\aplicativos\Anaconda3\lib\site-packages\scipy\sparse\base.py in
7
8 from scipy._lib.six import xrange
----> 9 from scipy._lib._numpy_compat import broadcast_to
10 from .sputils import (isdense, isscalarlike, isintlike,
11 get_sum_dtype, validateaxis, check_reshape_kwargs,
ModuleNotFoundError: No module named 'scipy._lib._numpy_compat'
Dear developers,
Thanks for the generous share of code.
When I learn the code of LinearRegression at the step of prepare_for_training, I have understood we need to split the features dataset into first half(dataset_1) and second half(dataset_2). But problems happen when we have odd number of features. let's say 5, so the shape of first half will be (-1,2) and the second (-1,3) which have different shape after split, then how can it work when calculate (dataset_1 ** (i - j)) * (dataset_2 ** j)? I mean dataset_1 ** (i - j) and dataset_2 ** j must have different shape, too.
Is there no module such that you could make predictions on new data for K-Means?
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.