Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Changelog
6.0.0 (2021-06-10)
<a name="3.5.0"></a>
Readme
This library is a compilation of the tools developed in the mljs organization.
It is mainly maintained for use in the browser. If you are working with Node.js, you might prefer to add
to your dependencies only the libraries that you need, as they are usually published to npm more often.
We prefix all our npm package names with ml-
(eg. ml-matrix) so they are easy to find.
To include the ml.js library in a web page:
<script src="https://www.lactame.com/lib/ml/6.0.0/ml.min.js"></script>
It will be available as the global ML
variable. The package is in UMD format.
ML.PCA
ML.HClust
ML.KMeans
ML.NaiveBayes
ML.KNN
ML.PLS
ML.KOPLS
ML.CrossValidation
ML.ConfusionMatrix
ML.DecisionTreeClassifier
ML.RandomForestClassifier
ML.SimpleLinearRegression
ML.PolynomialRegression
ML.MultivariateLinearRegression
ML.PowerRegression
ML.ExponentialRegression
ML.TheilSenRegression
ML.RobustPolynomialRegression
ML.DecisionTreeRegression
ML.RandomForestRegression
ML.levenbergMarquardt
ML.FCNNLS
ML.Matrix
(Matrix class)ML.SVD
ML.EVD
ML.CholeskyDecomposition
ML.LuDecomposition
ML.QrDecomposition
ML.SparseMatrix
ML.Kernel
ML.Distance
ML.Similarity
ML.distanceMatrix
ML.XSadd
ML.nGMCA
ML.Array
ML.Array.min
ML.Array.max
ML.Array.median
ML.Array.mean
ML.Array.mode
ML.Array.normed
ML.Array.rescale
ML.Array.sequentialFill
ML.Array.standardDeviation
ML.Array.variance
ML.ArrayXY
Functions dealing with an object containing 2 properties x and y, both arrays.
Example:
let result = ML.ArrayXY.sortX({ x: [2, 3, 1], y: [4, 6, 2] });
// result = {x: [1,2,3], y: [2,4,6]}
ML.ArrayXY.weightedMerge: Merge abscissa values on similar ordinates and weight the group of abscissa
ML.ArrayXY.maxMerge: Merge abscissa values on similar ordinates and keeps the abscissa with bigger ordinate value
ML.ArrayXY.closestX: Get the closest point for a specific abscissa value
ML.ArrayXY.centroidsMerge: Merge abscissa values if the ordinate value is in a list of centroids
ML.ArrayXY.sortX: Sort a set of point based on the abscissas values
ML.ArrayXY.maxY: Sort a set of point based on the abscissas values
ML.ArrayXY.uniqueX: Ensure that x values are unique
ML.Performance
ML.PCA
ML.savitzkyGolay
ML.GSD
ML.BitArray
ML.HashTable
ML.padArray
ML.binarySearch
ML.numSort
ML.Random
FAQs
Machine learning tools
The npm package ml receives a total of 113 weekly downloads. As such, ml popularity was classified as not popular.
We found that ml demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.