Home / Companies / Hex / Blog / October 2023

October 2023 Summaries

13 posts from Hex

Filter
Month: Year:
Post Summaries Back to Blog
The text discusses how to use Modelbit alongside Hex to leverage scalable compute with on-demand GPUs for model training and deployment. It provides a step-by-step guide on building, training, and deploying a Grounding DINO computer vision model using Python packages in the Hex platform. The process involves setting up the model configuration and checkpoint, importing necessary methods from GroundingDINO, wrapping the core line of code in a function to be executed remotely by Modelbit on GPU-enabled compute resources, pulling the loaded model back down for use in code, writing an inference function, deploying the model using Modelbit's REST API, and finally integrating the REST API into the Hex notebook for further processing.
Oct 31, 2023 753 words in the original blog post.
The text discusses the growth and complexity challenges faced by the data transformation tool, dbt. With over 90,000 users, managing large projects has become difficult due to the increasing number of models. To address this issue, dbt is introducing new tools such as dbt Mesh. Additionally, the community has grown significantly with many active members sticking around for years. The text also mentions a shift from PLG focus to more sales-focused strategies and a healthy relationship with AI in managing data complexity. Lastly, it highlights the fun atmosphere at Coalesce conferences and encourages newcomers to sign up for free extended trials of Hex and check out dbt Semantic Layer integration in Hex.
Oct 27, 2023 795 words in the original blog post.
Eutelsat OneWeb, a provider of broadband satellite connectivity services in low Earth orbit, generates vast amounts of data daily from its terminals and customer network exchanges. The company uses Snowflake as its centralized data warehouse to handle this immense volume of information and Hex for collaborative notebook workflows. By using Snowpark with Hex, Eutelsat ensures that data never leaves their secure Snowflake environment, reducing security risks and improving processing efficiency. The partnership between Eutelsat, Snowflake, and Hex has enabled the company to navigate through significant data challenges, including scalability, sharing & collaboration, security, processing efficiency, and exploration.
Oct 27, 2023 566 words in the original blog post.
Data cleaning is a crucial step in ensuring the accuracy, consistency, efficiency, reliability, relevance, interpretability, and optimization of data-driven analyses and models. It involves identifying and correcting errors and inconsistencies in datasets to improve their quality. Poorly cleaned or uncleaned data can compromise the validity of exploratory data analysis (EDA) results, leading to suboptimal or erroneous downstream decisions. By addressing issues such as accuracy, consistency, efficiency, reliability, relevance, interpretability, and optimization, data cleaning sets a solid foundation for any data-driven endeavor.
Oct 26, 2023 2,977 words in the original blog post.
The healthcare industry generates vast amounts of data daily, offering numerous opportunities for insights that can improve human life and longevity. However, patients and providers deserve privacy and accountability, necessitating secure storage and processing of their data. In the US, HIPAA provides guidelines and regulations for handling healthcare data, with harsh penalties for mismanagement. While many organizations mistakenly view HIPAA as a certification, it is actually a risk management process that requires each organization to determine its acceptable level of risk and demonstrate sufficient controls to manage that risk. Before providing services involving protected health information (PHI) to a HIPAA Covered Entity, an organization must sign a Business Associate Agreement (BAA). This agreement carries significant risk as the Business Associate is responsible for managing and processing PHI securely. Hex, a data analytics company, has heavily invested in security from its inception, including a dedicated Trust Program, unbroken SOC 2 Type II attestations, regular audits, and an active bug bounty program. Previously, the heightened risk from handling PHI led Hex to only sign BAAs for customers on their single-tenant deployments. However, they have now introduced a new option: HIPAA Multi-Tenant, which allows healthcare customers to use Hex at a greatly reduced total cost while maintaining best-in-class security measures. This new instance offers further assurances such as limited access through VPN or zero-trust options and tighter default controls specific to healthcare customers' needs.
Oct 25, 2023 667 words in the original blog post.
Clustering is a fundamental task in machine learning that involves grouping data points based on their inherent similarities. Three prominent data clustering algorithms are k-means, hierarchical clustering, and DBSCAN. The selection between these clustering algorithms often hinges on the characteristics of the dataset at hand and the desired outcomes from the clustering process. The k-means algorithm is one of the most widely recognized and implemented clustering techniques in machine learning. Its core principle revolves around partitioning a dataset into k distinct, non-overlapping clusters. It works well for datasets where the clusters are approximately spherical but has limitations such as the need to specify the number of clusters, k, in advance and sensitivity to initial placement of centroids. Hierarchical clustering is a method that seeks to build a hierarchy of clusters either through a bottom-up or top-down approach. It excels in exploratory data analysis and revealing data structures but has drawbacks such as computational complexity making it less suited for large datasets and decisions made in early stages being irreversible. DBSCAN is a density-based clustering algorithm that segregates data points into high-density regions separated by regions of low density. It can identify and handle noise, discover clusters of varying shapes, and doesn't require predefining the number of clusters but faces challenges when clusters have different densities. The choice of a clustering algorithm depends on various factors such as the type and nature of input parameters, shape and structure of clusters, sensitivity to noise and outliers, scalability, need to pre-specify the number of clusters, and specific goals of the clustering task.
Oct 24, 2023 2,519 words in the original blog post.
Hierarchical clustering is a prominent method in data science for organizing data into nested clusters without requiring a predefined number of clusters, differing from many other clustering techniques. It can be executed through two main approaches: agglomerative, which merges clusters in a bottom-up fashion, and divisive, which splits clusters in a top-down manner. Despite its advantages, hierarchical clustering faces significant scalability challenges due to its cubic computational complexity and substantial memory requirements, particularly with large and high-dimensional datasets. To address these issues, various strategies have been developed, such as sampling, approximation methods like Minimum Spanning Tree (MST), divide and conquer techniques, and dimensionality reduction. Furthermore, modern tools and frameworks, including Fastcluster, Apache Spark, and GPU-accelerated solutions, have been introduced to improve the efficiency of hierarchical clustering. However, these advancements also necessitate careful consideration of parameters and trade-offs between computational efficiency and the quality of clustering results, leaving analysts to apply their expertise in optimizing the process.
Oct 24, 2023 2,328 words in the original blog post.
Hex has won the Innovation Partner of the Year award for its collaboration with dbt, a tool that simplifies data transformations and provides governance and control. Both companies empower users to take on more end-to-end workflows, accelerating their data-driven decisions without compromising trust and governance. Hex's integration with dbt's Metadata API streamlines metadata flow from transformation to the analytics layer, while its integration with dbt's revamped Semantic Layer allows users of all technical levels to work with governed metrics. The combination of Hex and dbt leads to greater team efficiency and impact across organizations.
Oct 16, 2023 498 words in the original blog post.
Overfitting can negatively impact the performance of machine learning models by causing them to learn noise and irrelevant information from the training data, leading to poor generalization on unseen data. This issue is particularly problematic in feature selection, where overfitting can lead to inconsistent feature importance rankings, discarding relevant features, selecting irrelevant features, increased sensitivity in data variability, and poor generalization. To prevent overfitting, regularization techniques, cross-validation, and ensemble methods can be employed. Regularization adds a penalty term to the loss function, discouraging the model from fitting too closely to the training data. Cross-validation divides the original training dataset into mini-train and test splits, allowing for better hyperparameter tuning and assessment of model performance on unseen data. Ensemble methods combine predictions from multiple base models, capturing diverse perspectives and reducing individual model biases, leading to improved generalization and more stable feature importances.
Oct 11, 2023 2,158 words in the original blog post.
Hex has introduced new enhancements to its Snowpark integration, allowing users to switch between SQL, Python, and visual cells while leveraging a Snowpark dataframe. The integration supports Snowpark for Python, providing enhanced security and an easy setup process. With the Easy Button feature, users can create a Snowpark session without exposing their credentials in plain text or managing hidden files. Hex also allows users to use a first-class SQL cell while returning a Snowpark dataframe, offering auto-complete, syntax highlighting, and formatting in SQL. The integration supports lazy evaluation, making it ideal for working with big data by translating Snowpark code into SQL to leverage Snowflake's SQL engine. Users can now perform traditional analyses without worrying about memory consumption in the kernel. Advanced use cases of Snowpark include developing comprehensive data pipelines, exploring Snowflake Streams for Change Data Capture (CDC) pipeline, scheduling pipelines using Hex's built-in scheduling or integrating with orchestration tools like Airflow or Dagster through their integrations, and leveraging Snowpark ML for machine learning in Snowflake.
Oct 10, 2023 804 words in the original blog post.
This article discusses the use of autoencoders for feature selection in machine learning models. Autoencoders are neural network models that learn to compress and reconstruct input data, effectively reducing its dimensionality while retaining important features. The architecture of an autoencoder consists of an encoder that compresses the input data into a latent space representation, and a decoder that reconstructs the original data from this compressed form. Autoencoders can be used for feature selection by identifying the most salient information in the latent space representation. This process helps improve model performance, reduce computational complexity, and enhance interpretability. The article provides an example of using autoencoders for feature selection on the Iris dataset, demonstrating how to construct an autoencoder, train it on data, extract important features, and integrate these features with a predictive model like logistic regression. While autoencoders offer several advantages over traditional feature selection methods, they are not without challenges and limitations. Autoencoders can be prone to overfitting and underfitting, making it crucial to carefully choose the architecture of the autoencoder and address these issues using techniques like dropout, early stopping, and regularization. Additionally, interpreting the feature importance from autoencoders can be difficult due to their black-box nature, requiring techniques such as latent space analysis. Despite these limitations, autoencoders are a valuable tool for machine learning practitioners, offering the ability to learn non-linear relationships between input features and handle high-dimensional data effectively.
Oct 09, 2023 2,337 words in the original blog post.
Hex, a collaborative workspace for analytics and data science, has released version 3.0 with new features such as Magic Analysis, improved metadata engine, enhanced App Builder, parallel execution, and support for pushing Python to cloud-based data infrastructure solutions like BigQuery, Databricks, and Snowflake. The update aims to improve the user experience and make it easier for teams to work together on data projects.
Oct 05, 2023 1,407 words in the original blog post.
Multicollinearity is a common issue in regression analysis where two or more independent variables have a strong linear relationship, making it difficult to determine the unique impact of each variable on the dependent variable. This can lead to difficulty in interpretation and reduced model predictive power. To detect multicollinearity, methods such as Variance Inflation Factor (VIF), correlation matrix, heatmaps, clustermaps, eigenvalues, and conditional index can be used. Once detected, multicollinearity can be mitigated by removing correlated variables, using Principal Component Analysis (PCA) to combine them into a single variable, or employing machine learning models like Ridge Regression that are less sensitive to collinearity.
Oct 03, 2023 2,381 words in the original blog post.